IDE Troubleshooting
Contents
- 1 "Bad Gateway" error in Preview pane
- 2 IDE offline (yellow bar)
- 3 No files in the file explorer
- 4 Refreshing/Restarting your IDE workspace:
- 5 Project won't load; the word "Reset" appears at top corner
- 6 Can't type in javascript console (no prompt)
- 7 Getting "ReferenceError: _____ is not defined" when typing in the javascript console
"Bad Gateway" error in Preview pane
If the preview pane is showing "Bad Gateway", but everything else is working correctly (no yellow bar at the bottom), try the following steps:
- Press Ctrl+Shift+P to bring up the command dropdown
- Type the word “Stop”, then click “Stop Static Web Server”
- Press Ctrl+Shift+P again
- Type the word “Start”, then click “Start Static Web Server”
IDE offline (yellow bar)
Sometimes, the IDE can go “offline”. This is evident by the bottom bar turning yellow. If this happens, a simple full-page refresh should wake the IDE back up again.
No files in the file explorer
If you don’t see their files in the file explorer on the left, it could be that you've accidentally opened the wrong workspace. To correct this:
- Go to File -> Open Workspace
- Click the dropdown at the top and select “/”
- Select “home” and then “project”
- Click “Open”. This will open the workspace in a new tab
- Close the old tab
If this doesn't solve the issue, try re-starting your workspace using the instructions below.
Refreshing/Restarting your IDE workspace:
These steps can help resolve issues that are not resolved by any of the previous steps.
- Try refreshing the browser URL by pressing your browser's refresh button.
-
Try stopping/restarting the workspace:
- Go to projects page (my.boldidea.org/code)
- Click the “stop” button on the project
- Wait for it to finish, then re-open the project
Project won't load; the word "Reset" appears at top corner
This could likely be the school firewall blocking the page due to keywords appearing in the URL. For example, a project with the word "anime" might get blocked. Try renaming the project:
- Close the IDE tab
- On the projects page, select the "gear" icon next to your project
- Change the project name, then click "Save"
- Open the project
Can't type in javascript console (no prompt)
Try the following steps:
- Close the javascript console
- Click the preview pane. Make sure you're previewing an HTML page.
- Open the javascript console
- You should now see a blue ">" prompt. Click next to the prompt to type in the console.
Getting "ReferenceError: _____ is not defined" when typing in the javascript console
This usually happens if you misspelled something, declared a variable in the wrong place, or forgot to define something.
If you're 100% sure you defined your variable or function correctly, the console might not be connected to your preview pane. To fix this:
- Make sure you are previewing the page containing or referencing your script.
- Close the javascript console
- Refresh your preview
- Open the javascript console
Note: This only applies to code you write in the console, not code written in your scripts.
---