I am using yarn in my project. I have installed yarn globally. when I try to run yarn with commands such as nodemon, it gives command not found error. The exact error is
/usr/bin/bash: C:UsersusernameDownloadsprojectnamenode_modules.binnodemon: command not found
This is the command I am trying to run
yarn nodemon --watch .env --watch ''\''client/*.config.js'\''' --watch ''\'''\''' --watch server --ext ts,tsx,js,json --delay 1 --exec yarn ts-node --project server/tsconfig.json --transpile-only server/index.ts
which converts to
C:\Users\username\Downloads\projectname\node_modules\.bin\nodemon --watch .env --watch 'client/*.config.js' --watch '' --watch server --ext ts,tsx,js,json --delay 1 --exec yarn ts-node --project server/tsconfig.json --transpile-only server/index.ts
I am using yarn in my project. I have installed yarn globally. when I try to run yarn with commands such as nodemon, it gives command not found error. The exact error is
/usr/bin/bash: C:UsersusernameDownloadsprojectnamenode_modules.binnodemon: command not foundThis is the command I am trying to run
yarn nodemon --watch .env --watch ''\''client/*.config.js'\''' --watch ''\'''\''' --watch server --ext ts,tsx,js,json --delay 1 --exec yarn ts-node --project server/tsconfig.json --transpile-only server/index.tswhich converts to
C:\Users\username\Downloads\projectname\node_modules\.bin\nodemon --watch .env --watch 'client/*.config.js' --watch '' --watch server --ext ts,tsx,js,json --delay 1 --exec yarn ts-node --project server/tsconfig.json --transpile-only server/index.ts