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 trialalec maliwanag
1,921 Pointsgetting workspace unavailable
seems to be a common problem, can't find an archived solution.
1 Answer
Fabricio Policarpo
8,674 PointsI 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.
Jon Cronin
4,289 PointsJon Cronin
4,289 PointsI 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.