Why do I get the error: sh:node command not found if its installed?

Viewed 45

My goal is to run the js file on vscode and I already set up the node path to bashrc and the terminal works pretty fine when I try nodejs on the terminal but when I try to run the .js file I still get the error.

[Running] node "/home/ishi/Documents/30 days.../ohnoes.js"
/bin/sh: line 1: node: command not found

Any thoughts? I'd appreciate your help. Thank you.

0 Answers
Related