Can somebody please help me with the following?
I Have just begun the JAVA Script section of the course above. As requested by the instructor, I have installed node js and rebooted visual studio code.
I have then followed his instructions in the “Hello Moralis” section but can’t get the java script to run correctly.
I have checked that node has been installed using node -v and its telling me current version v16.13.2 is installed.
Code in hello-moralis.js
console.log(“Hello, Moralis!”);
zsh terminal
michaelskiffington@Michaels-MacBook-Pro MORALIS % node hello-moralis
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module ‘/Users/michaelskiffington/Desktop/MORALIS/hello-moralis’
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
code: ‘MODULE_NOT_FOUND’,
requireStack: []
}
The instructor is using powershell but I don’t have this as an option… I’m not even sure if this is the reason I’m unable to run the code correctly