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 Introducing JavaScript Finishing the Game Control the Flow with Conditional Statements

Nour El-din El-helw
Nour El-din El-helw
8,241 Points

Workspaces keeps crashing

Workspaces crash A LOT i can't have fun coding like that can someone plz explain y is that happening?

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

It would be interesting to know if you're getting an error message on your end. However, it could be that you've inadvertently created an infinite loop. This code is being run in your browser on your system. If you mean that the browser hangs up, then this is likely what is happening. The best way for us to assist you is for you to post a snapshot of your workspace. I look forward to hearing back! :sparkles:

Nour El-din El-helw
Nour El-din El-helw
8,241 Points

1st thx for caring :) 2nd i get an error that the workspace lost connection however my internet is working well and sometimes it crashes saying can't open the file "phaser.js"...and here is a snapshot for my workspace https://w.trhou.se/nq0k6agist

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Nour El-din El-helw Well, of course I care! I'm a fellow student as well and we're sort of all in this together. The best suggestions I can give you right now are to save your work often and contact Support at help@teamtreehouse.com. This could be a technical issue that they need to dive into.

Nour El-din El-helw
Nour El-din El-helw
8,241 Points

may i ask how did the snapshot for my workspace helped im new so idk what does snapshots rly do r they just copies of the workspace?

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Yes, they are a copy of your workspace that we can fork to have a look around. You keep your copy, but we get a copy where we can look at all your code and even your file structure etc. The problem with posting a link to your workspace using the URL in the bar is that it is only temporary and private to you. Any attempt for us to access that link will result in a 404 on our end. That's why we have the "snapshots" :smiley: It's a great way to share your code especially as your projects grow. Later on, you will have projects that contain a lot of files and it would be inconvenient (and somewhat spammy) to post it all to the forum.

Nour El-din El-helw
Nour El-din El-helw
8,241 Points

Thx for your help ill do what u said and i already sent an email to treehouse support team

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi again! I took the liberty of forking your workspace, and your application runs. I get no errors from the workspace nor from the browser in the console. I will say, though, that workspaces do "lose connection" when left idle for a while. I'm not sure what the "time out" is set to on those, but if you're experiencing it frequently and while working, then that is definitely something you should report to the Support team. But until you get a more clear answer, your best bet is to save early and often :smiley: You can find their email link above.

Hope you get it sorted out! :sparkles: