Quote:
Originally Posted by aand101
nobody??? 
|
It sounds like you are running node.
If your run the 'node' command in your shell it will run node's own environment. You can't call NPM from in here.
Type '.exit' and this will exit node and go back to your shell. Now you can run npm.
Once that's done, you have to run 'node main' to start the script.