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 trialon3iro
12,644 PointsIs anyone else experiencing weird workspaces bugs?
Although i am normally doing all exercises offline inside Webstorm I wanted to use workspaces for this project, because I am too lazy to launch xamp.
But workspaces seems to be pretty buggy. Often when I try to save and preview my files they don't seem to get updated appropriately, which leads to weird bugs, because the code i wrote is not in the previewed file. Every now and then it works, but most of the time that is not the case. Am I doing something wrong, or is this a known bug?
Thx for any answer in advance!
5 Answers
Jo Student
6,026 PointsI am seeing these problems too in workspaces! I don't see the code from the previous exercises which should appear in this workspace. I am re-coding a lot of it as I go through this course and it is a little annoying as I just want to get on with the learning and testing. I hope it gets fixed as soon as possible too..
og
9,064 PointsWorkspaces won't launch for me either. I downloaded the files and was able to do the employee exercise for video3 running a local server with MAMP (for Mac). However, I had to change the path to the data file to get it to work. In the widget.js file, delete the ../ before data and change path from:
var url="../data/employees.json";
change path to: var url="data/employees.json";
marsha spell
Courses Plus Student 5,555 Pointsyes I'm having the same problem and all my html code is gone!
on3iro
12,644 PointsHm, that's bad. I hope they'll fix this soon, because it gets really annoying...
marsha spell
Courses Plus Student 5,555 PointsI'm so mad bc i was almost done making my portfolio now all my code is gone:(
Jon Edwards
7,913 PointsI noticed you can bookmark the name of the URL where your workspace is saved. This might help in the future, the code is saved on the server somewhere I bet. If I was in your shoes I would contact Treehouse tech support.
Also, you can download the workspace to back it up on your own computer. (Under file menu)
Personally, I prefer to work on most projects in a code editor on my computer. I recommend Brackets or Sublime Text, both are pretty similar, although brackets offers a built in live preview which is awesome for CSS, you hover over the code and it highlights similar to the browser console.
Good luck!
Jo Student
6,026 PointsThanks Jon. I will start using my own code editor as per your advice. Cheers.
on3iro
12,644 Pointson3iro
12,644 PointsOk, it looks like it works, if i change the name of a file to "index.html". This is pretty confusing, especially if the project files inside workspaces are not the same as those on which the teacher is working on in the videos.