Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Build a Simple Dynamic Site with Node.js Creating a Basic Template Engine in Node.js Reading from Files

alec maliwanag
alec maliwanag
1,921 Points

getting workspace unavailable

seems to be a common problem, can't find an archived solution.

Jon Cronin
Jon Cronin
4,289 Points

I might be a little late answering this for you but I had the same problem. After i got the workspace unavailable for my preview I went back to the workspace terminal and it gave me a js error. I had put fs.readfile instead of fs.readFile. once i fixed it the preview worked. If you are getting this problem you should check the terminal after you get the error to see if it gives you any reasons.

1 Answer

I am getting the same error, I tried closing workspaces, and it worked once, but has not worked since. the app.js is still running on node, however.