I have installed nodemon using yarn but somehow it is showing command not found. I have been trying to get solution but not getting any yet. whenever I use nodemon
command it shows nodemon: command not found
I have tried installing yarn global add nodemon
and also yarn add nodemon
. I had even tried installing dev dependencies.
Whenever I try installing using npm
it works but not for yarn. Can anyone help me out of it how can I solve this using yarn
?
Use yarn nodemon
command in terminal, it will work for yarn install.
example:
yarn nodemon index
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.