Nodemon未运行

Teng Bang Wei

我正在尝试让我的nodemon开始运行。但是它以某种方式无法运行,并且没有错误消息,这非常令人沮丧。

请在下面查看我的package.json:

{
  "name": "umbrella_maintenance",
  "version": "1.0.0",
  "description": "",
  "main": "app-express.js",
  "scripts": {
    "start": "nodemon"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "ejs": "^3.1.5",
    "express": "^4.17.1"
  },
  "devDependencies": {
    "nodemon": "^2.0.6"
  }
}

我尝试跑步,npm run start但根本无法正常工作。没有错误信息,没有。终端截图

当我尝试以开头时node app-express.js我的应用运行良好,但在nodemon上无法运行。有什么建议吗?

ul

文档说您需要像这样运行nodemon nodemon [your node app]因此,在您的情况下:nodemon app-express.jsnodemon还有许多其他有用的选项。值得阅读文档。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章