Ubuntu16.04LTS, I first executed npm install -g nodemon
, and then installed it again in the folder: npm install --save nodemon
, I am in# In ##package.json, specifies
"script" as
nodemon ./bin/www, but the system will prompt that there is no permission because nodemon points to the nodemon of the global environment at this time. , how can I make nodemon refer to the nodemon installed in the local environment?
npm uninstall g nodemon delete the global one, the default is global