Reputation: 69
I tried to use npm start
to start my application. So I added the following line in my package.json file:
"scripts": {
"start": "node app.js"
}
however, when I used npm start
, I met with this problem:
but when I used node app.js
, it worked. So what's the problem?
Upvotes: 3
Views: 13115