Since node prefix is not in the PATH ENV variable , any of the globally installed modules are not getting recognized.
Please try this.
Open cmd prompt
npm config get prefix
append the resulting path to PATH env variable.
Now you should be able to run nodemon from any location.
This is what i have done on my local machine
C:\>npm config get prefix C:\Users\username\AppData\Roaming\npm C:\>set PATH=%PATH%;C:\Users\username\AppData\Roaming\npm; C:\>nodemon 31 Jul 22:30:29 - [nodemon] v0.7.8 31 Jul 22:30:29 - [nodemon] to restart at any time, enter `rs` 31 Jul 22:30:29 - [nodemon] watching: C:\ 31 Jul 22:30:29 - [nodemon] starting `node ` ^CTerminate batch job (Y/N)? Y
Related Posts:
- nodemon – app crashed – waiting for file changes before starting
- nodemon not working: -bash: nodemon: command not found
- nodemon not found in npm
- nodemon not found in npm
- Nodemon Error: System limit for number of file watchers reached
- nodemon not working properly
- How can I update NodeJS and NPM to the next versions?
- How can I update npm itself?
- How do I update Node.js?
- How to install a previous exact version of a NPM package?
- How to fix ‘Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.’
- How to fix ‘Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.’
- How to solve npm error “npm ERR! code ELIFECYCLE”
- How to solve npm error “npm ERR! code ELIFECYCLE”
- npm check and update package if needed
- What is the file node.exe for?
- Node.js version on the command line? (not the REPL)
- Can not find module “@angular-devkit/build-angular”
- Node.exe Stuck at 100% CPU
- After command npm start “Missing script:start” error
- sudo: npm: command not found
- Discord API error when trying to send one command at discord using JavaScript client
- How to resolve Nodejs: Error: ENOENT: no such file or directory
- bash: npm: command not found?
- Node.js getaddrinfo ENOTFOUND
- How do I debug error ECONNRESET in Node.js?
- Node.js getaddrinfo ENOTFOUND
- How do I debug error ECONNRESET in Node.js?
- Does anyone knows what “rimraf” means?
- How can I completely uninstall nodejs, npm and node in Ubuntu [closed]
- Please run `npm cache clean`
- node.js string.replace doesn’t work?
- What is the difference between npm install and npm run build?
- What is “export default” in JavaScript?
- What is Express.js?
- How do I resolve “Cannot find module” error using Node.js?
- npm ERR cb() never called
- Missing write access in mac to /usr/local/lib/node_modules
- What is the difference between __dirname and ./ in node.js?
- NPM clean modules
- ‘node’ is not recognized as an internal or an external command, operable program or batch file while using phonegap/cordova
- How can the default node version be set using NVM?
- What does body-parser do with express?
- node.js, Error: Cannot find module ‘express’
- env: node: No such file or directory in mac
- mongoError: Topology was destroyed
- NPM Start not starting local server
- Error: unable to verify the first certificate in nodejs
- node.js, Error: Cannot find module ‘express’
- What does the ELIFECYCLE Node.js error mean?
- “Topology was destroyed” when using MongoDB with native driver and Express.js
- Error: getaddrinfo ENOTFOUND in nodejs for get call
- How do I resolve “Cannot find module” error using Node.js?
- Heroku + node.js error (Web process failed to bind to $PORT within 60 seconds of launch)
- What is the –save option for npm install?
- how to use CryptoJS in javascript
- env: node: No such file or directory in mac
- Node Version Manager install – nvm command not found
- Error: Cannot find module ‘../lib/utils/unsupported.js’ while using Ionic
- Failed to load resource: net::ERR_CONNECTION_REFUSED : Nodejs
- Where is nodejs log file?
- npm install not working in windows
- SyntaxError: Unexpected token import – Express
- Mongoose: findOneAndUpdate doesn’t return updated document
- Error: No default engine was specified and no extension was provided
- Angular – ng: command not found
- How can I wait In Node.js (JavaScript)? l need to pause for a period of time
- How to downgrade Node version
- How to change to an older version of Node.js
- Significance of port 3000 in Express apps
- ExpressJS – throw er Unhandled error event
- NodeJS / Express: what is “app.use”?
- Discord.js sending a message to a specific channel
- The difference between “require(x)” and “import x”
- NodeJS – What does “socket hang up” actually mean?
- npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
- Why am I getting “Error socket hang up” response?
- Error: EACCES: permission denied
- What does the ELIFECYCLE Node.js error mean?
- How to Create and Use Enum in Mongoose
- What does the “as” keyword do?
- “Client network socket disconnected before secure TLS connection was established”, node 10
- How to write a .nvmrc file which automatically change node version
- What Are “npm run dev” and “npm run prod”
- Find the version of an installed npm package
- First Heroku deploy failed `error code=H10`
- node.js: how to use setInterval and clearInterval?
- “npm config set registry https://registry.npmjs.org/” is not working in windows bat file
- Git Bash Command on Windows, yarn command not found
- Node forever /usr/bin/env: node: No such file or directory
- How to get GET (query string) variables in Express.js on Node.js?
- How do I uninstall a package installed using npm link?
- What is Procfile? and Web and Worker
- What is Procfile? and Web and Worker
- Error: Cannot find module ‘ejs’
- Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’
- First Heroku deploy failed `error code=H10`
- (node:63208) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead
- In express how do I redirect a user to an external url?
- Cannot find module ‘internal/util/types’