nodemon: perintah tidak ditemukan
sudo npm install nodemon -g
// This command will install nodemon into the system
Courageous Cow
sudo npm install nodemon -g
// This command will install nodemon into the system
// package.json
"scripts": {
"dev": "nodemon server.js"
},
npm install nodemon --save-dev
npx nodemon server.js
or add in package.json config:
...
"scripts": {
"dev": "npx nodemon server.js"
},
...
then run:
npm run dev
npx nodemon server.js
npm config set prefix /usr/local
sudo npm install nodemon -g --registry=https://registry.npm.taobao.org
12