MenuTroubleshooting / My page is blank or froze

Docs / Troubleshooting

My page is blank or froze

A page that shows nothing has not run, or threw an error. A page that froze can be stopped on its own.

On this page

A blank page

If the page pane says Run it to see the page, this tab has no page yet.

No page yet: the Snippet has not run in this tab.
  1. Press Run, or press ⌘↵ or Ctrl+Enter.
  2. If the rail shows a shield, the page’s code uses fetch or another way to reach outside, so it waits for Run. See My code did not run as I typed.

If the page ran, drew nothing and logged an error, the pane says Nothing rendered, and the page logged an error. It ends with see line 4, a link to the line of the first error the page threw, or with see the console when the page only called console.error.

If the page ran but is empty or wrong:

  1. Click the link, or read the page’s Console tab. Errors from the page’s code are printed there.
  2. Fix the code. Where an error names a line, click it to go there. A line in the HTML Part, from an inline script or an on… handler, opens the HTML Part.

A page that froze

Code that never pauses, such as a loop that never ends, freezes the page. The page runs in its own process, so the rest of JSpark keeps working. JSpark covers the page and says so:

Stop page ends only the page; the editor and other tabs keep working.
  1. Press Stop page. Hiding the page, or moving to another tab, does not stop it.
  2. Fix the loop or the code that never pauses.
  3. Run the Snippet again.

See Web pages for how a page runs.

The pictures show JSpark on a Mac. On Windows, the window buttons are at the top right, the menus are in theMenu button at the left end of the tabs, and shortcuts use Ctrl where a Mac uses ⌘. The rest works the same way.

Esc

Type to search every docs page.

JSpark is downloading

When you open JSpark-Setup.exe, Windows may stop it once, because the installer isn’t code-signed yet. If the file came from jspark.app:

A blue Windows box, “Windows protected your PC”: Microsoft Defender SmartScreen prevented an unrecognised app from starting. Under it, the link More info, and the button Don’t run.

1Click More info.

The same box after More info: Application JSpark-Setup-1.4.0.exe, Publisher Unknown publisher, and the buttons Run anyway and Don’t run.

2Then click Run anyway.

You see this only once: updates install inside the app. More in Install JSpark.