Vscodium - snap or flatpak - can't run javascript. #2081
Replies: 1 comment
-
|
Yo @wisdomlight 👋 I feel you — this is a classic sandbox / path issue when running VSCodium as Flatpak or Snap. Node works fine in your system terminal, but inside VSCodium it’s basically running in a restricted environment and can’t see your system PATH by default. Why this happens
How to fix it
Basically, the issue isn’t VSCodium itself — it’s Flatpak / Snap restricting Node visibility. Fixing the terminal PATH or using a non-sandboxed build solves it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
on two seprate installation flatpak and snap I couldn't run a javascript from vscodium.
node and npm are both installed on my system - v23.1.0 and 10.9.0 respectivly
I can run the index.js from the system terminal but not from vscodium.
in defaultSettings.json
terminal.integrated.env.linux: {}
I am not permitted to add the path to node - it says editor is in read mode only because the file system of the file is read-only
any advice
Beta Was this translation helpful? Give feedback.
All reactions