« Back to Main Page

IDE Troubleshooting

From Bold Idea Knowledgebase


"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:

  1. Press Ctrl+Shift+P to bring up the command dropdown
  2. Type the word “Stop”, then click “Stop Static Web Server”
  3. Press Ctrl+Shift+P again
  4. 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:

  1. Go to File -> Open Workspace
  2. Click the dropdown at the top and select “/”
  3. Select “home” and then “project”
  4. Click “Open”. This will open the workspace in a new tab
  5. 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:
    1. Go to projects page (my.boldidea.org/code)
    2. Click the “stop” button on the project
    3. 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:

  1. Close the IDE tab
  2. On the projects page, select the "gear" icon next to your project
  3. Change the project name, then click "Save"
  4. Open the project

Can't type in javascript console (no prompt)

Try the following steps:

  1. Close the javascript console
  2. Click the preview pane. Make sure you're previewing an HTML page.
  3. Open the javascript console
  4. 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:

  1. Make sure you are previewing the page containing or referencing your script.
  2. Close the javascript console
  3. Refresh your preview
  4. Open the javascript console

Note: This only applies to code you write in the console, not code written in your scripts.




































---