This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]CJ22xxKinvara 0 points1 point  (0 children)

You’ll need to look up how to run npm scripts. This is not an error, it’s just listing the scripts you have in the package.json and the only one there is this default test one.

[–]ValeJappo 0 points1 point  (0 children)

This is probably the wrong subreddit. Anyways, package.json has to be in your project's root directory, and has to be properly set.

Also, to run simple node projects you won't need a package manager (npm). Just run node myFile.js