Node not finding path

HI, I am new to the forum. just downloaded node re: “Getting started with JavaScript in VSCode.” The download was successful, and example works in the VSCode’s built-in terminal, but not in the regular terminal when file is set up in my projects folder. Error: Cannot find module ‘/Users/jedcharles/hello.js’. only works if i ditch the projects folder and organize in user path listed above.