nodemon not found in npm

前端 未结 29 1506
终归单人心
终归单人心 2020-12-24 10:17

I have a problem: nodemon does not run off the npm script (e.g. npm start),
but if nodemon is called on the command line outside the npm script, nodemon run

29条回答
  •  鱼传尺愫
    2020-12-24 11:05

    --save, -g and changing package.json scripts did not work for me. Here's what did: running npm start (or using npx nodemon) within the command line. I use visual studio code terminal. When it is successful you will see this message:

    [nodemon] 1.18.9
    [nodemon] to restart at any time, enter rs
    [nodemon] watching: .
    [nodemon] starting node app.js

    Good luck!

提交回复
热议问题