> On Nov 29, 2015, at 7:06 AM, jay prakash <fonefood...@gmail.com> wrote:
> 
> i am not able to use nodemon in linux system? it says nodemon command not 
> found... plz help

How did you install it?

There's several things that can go wrong here:

- you didn't install it globally. In that case, it's in your current project's 
node_modules/.bin directory. Run it with "node_modules/.bin/nodemon".
- you did install it globally, but it's not in your PATH: "npm config get 
prefix" -- make sure that path with /bin at the end is in your PATH environment 
variable, or adjust the npm prefix with "npm config set prefix" to be somewhere 
that is in the path. If /usr/local/bin is in your path, try "npm config set 
prefix /usr/local"
- you did install it, but there was an error -- it would have shown, but 
sometimes people miss these. try "npm install -g nodemon" again.
- there's a slim chance your shell is remembering that that wasn't a command -- 
a few old versions of bash cached negative lookups in addition to positive 
ones, and if you had it previously, and it was removed, your shell could 
remember the old path. Try typing "hash -r" and try again. This is unlikely, 
however, since that hasn't been a feature for quite some time, and modern bash 
also tries the slow way if the fast cached path is not present.

Good luck!

Aria

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/94D2244B-3A9C-41E4-B6AF-AAC2B7C06179%40dinhe.net.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to