I have the following error when I try to run my node.js project:
ENV@ENV-L7490:/mnt/c/Users/ENV/source/Project$ npm i
: not foundram Files/nodejs/npm: 3:
: not foundram Files/nodejs/npm: 5:
/mnt/c/Program Files/nodejs/npm: 6: Syntax error: word unexpected (expecting "in")
ENV@ENV-L7490:/mnt/c/Users/ENV/source/Project$ npm init
: not foundram Files/nodejs/npm: 3:
: not foundram Files/nodejs/npm: 5:
/mnt/c/Program Files/nodejs/npm: 6: Syntax error: word unexpected (expecting "in")
ENV@ENV-L7490:/mnt/c/Users/ENV/source/Project$
Any idea what this means and how to resolve. I'm unable to actually run the project with npm start
, until I run my npm i
or npm init
, which is why I want to get to the bottom of this.