Node.js:如何设置npm start?

我试图用npm start来启动我的应用程序。 所以我在我的package.json文件中添加了以下行:

  "scripts": { "start": "node app.js" } 

但是,当我使用npm start ,遇到了这个问题: 在这里输入图像说明

但是当我使用node app.js ,它的工作。 所以有什么问题?

如果你使用命令npm run start而不是npm start它会起作用吗?