Error in VSCode when attempting randomtest or quicktest

I’m having trouble with running Randomtest or quicktest in VSCode.

The error I’m getting is this:

Error:
/usr/share/code/code: bad option: --js-flags=--nodecommit_pooled_pages

I have previously been able to run these without issue. Since then I did install a spellcheck extension (first thing I disabled and have now uninstalled). While I was trying to fix this, VSCode also updated.

I tried running VSCode from the terminal, but that didn’t help. I am not using an old version of VSCode.

If it matters, my OS is Linux Mint.

2 Likes

Ugh this error was killing me for so long! I use PopOS and it started after an update a couple weeks ago.

The only solution I’ve found is to download an older version of VSCode and disable updates. I also find I can’t update my apps from the terminal anymore with apt -get upgrade because it seems to update VSCode then as well (I’m sure there’s a workaround but I’m not the most tech savvy so I’m not sure what it is).

Version 1.107 is what’ I’ve been using ever since (it just happened to be a version I had downloaded on my comp previously, I’m guessing a newer version would work too).

I downloaded VSCodium and went through a process to manually install the Choicescript Language extension via VSIX. When doing this I got a very similar error.

/app/share/codium/com.vscodium.codium: bad option: --js-flags=--nodecommit_pooled_pages

I’ll try using an older version of VSCode next (I was in process of setting up VSCodium before hellanikithi’s reply).

For anyone else with this error, you can download an earlier version of VSCode here: November 2025 (version 1.107)

@LisHz Hi! Sorry you’re running into this — it’s a pretty common issue on Linux after a VSCode update or when an extension (like spellcheck) gets installed/removed.

The popup error is usually not very helpful, so let’s get the real error message first:

  1. Press Ctrl + Shift + U (or go to View → Output)
  2. In the dropdown at the top right of the Output panel, choose ChoiceScript (or “ChoiceScript Language Server”).
  3. Try running Quicktest or Randomtest again.
  4. Copy and paste whatever appears in that panel here. That will tell us exactly what’s failing (path issue, Node.js problem, extension cache, etc.).

In the meantime, here are the fastest fixes that solve it for most Linux users:

  • Reload Window: Press Ctrl + Shift + P, type “Reload Window” and hit Enter.
  • Completely uninstall the ChoiceScript extension → restart VS Code → reinstall it fresh from the marketplace.
  • If it still fails, the most reliable workaround is to just open quicktest.html or randomtest.html directly in Firefox or Chrome. The browser version doesn’t depend on the VS Code extension and usually works perfectly.

Since it worked fine before the spellcheck extension and the VS Code update, the problem is almost certainly a cache or compatibility glitch between them.

Drop the Output log here when you have it and we’ll fix it quickly. You’ve got this! :+1:

1 Like

I’ll try this tonight. For now, though, downgrading worked.

1 Like

Ok good day. When ever I’am ready to help. @LisHz

This topic was automatically closed 24 hours after the last reply. If you want to reopen your WiP, contact the moderators.