npm start broken?

(Benjy) #1

So I’m trying to run a start.js file for this application and well i went to the directory in cmd and i’ve tried everything else but npm cnnot find it and idk why. Any help? (i know nothing about this software btw)

(John Gee) #2

npm start is documented at

Is it a public application we can look at on Github or similar?

What command are you typing?

What error is displayed?

(Benjy) #3

npm run (directory here)

(John Gee) #4

To run a javascript file called start.js you can just:

node start.js

npm is used for working with packages, and your application may or may not be a package.

npm run calls scripts declared in the package.json file and does not interact with the file system as such.

(system) closed #5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.