node.js - How to run nodemon in a specified environment
PHP中文网
PHP中文网 2017-05-31 10:36:12
0
1
905

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?

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
阿神

npm uninstall g nodemon delete the global one, the default is global

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template