Having Trouble Running JavaScript Code in VSCodium

0
4
Asked By CuriousCoder99 On

I'm trying to run JavaScript code in VSCodium, but I'm encountering some issues. I keep getting the error messages 'bash: node: command not found' or 'sh: node: command not found'. It's really frustrating, and I'm not sure where to look for solutions anymore. I do have npm and Node.js installed on my Fedora system, but it doesn't seem to work. Any help would be greatly appreciated!

2 Answers

Answered By TechieTommy On

It sounds like you might have installed VSCodium via Flatpak, which can be isolated from the rest of your system. Try uninstalling VSCodium and then reinstalling it directly from your package manager instead of using Flatpak versions. This should resolve the issue because you'll get access to your system's Node.js installation properly.

Answered By LinuxLover88 On

Always good to check your PATH variable! If you're using Fedora, make sure that the directory where Node.js is installed is included in your PATH. You can check this by running 'echo $PATH' in your terminal. If it’s not there, you might need to add it manually.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.