nodemon not working: -bash: nodemon: command not found

前端 未结 18 828
灰色年华
灰色年华 2021-01-30 03:45

I\'m on a Mac running El Capitan. I have node v5.6.0 and npm v3.6.0. When I try to run nodemon, I get:

-bash: nodemon: command not found

I th

18条回答
  •  梦如初夏
    2021-01-30 04:40

    I had the same exact problem, expect for Windows OS.

    For me, running

    npm install -g nodemon --save-dev

    (note the -g) worked.

    Maybe somebody else who has this problem on Windows will have the same solution.

提交回复
热议问题