Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.