nodemon not found in npm

前端 未结 29 1430
终归单人心
终归单人心 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:53

    First install nodemon to your working folder by

    npm install nodemon
    

    Add the path of nodemon to the path variable of Environment Variable of System environment. In my case the path of nodemon was.

    C:\Users\Dell\Desktop\Internship Project\schema\node_modules\.bin
    

    It worked for me.

提交回复
热议问题