nodemon not found in npm

前端 未结 29 1447
终归单人心
终归单人心 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 10:51

    Install nodemon globally using following command. It works on my computer, and I'm sure it will work on your system also.

    npm install nodemon -g --save
    

    Sometimes you should have the permission to install it globally. It can be easily done by using following command.

    1. In LINUX UBUNTU: sudo npm install nodemon -g --save

    2. In Fedora:

      a) su
      b)npm install nodemon -g --save

提交回复
热议问题