0
Q:

zsh: command not found: nodemon

npx nodemon server.js
or add in package.json config:

...
"scripts": {
    "dev": "npx nodemon server.js"
  },
...
then run:

npm run dev
1
npm config set prefix /usr/local
sudo npm install nodemon -g --registry=https://registry.npm.taobao.org
12
0

New to Communities?

Join the community