Nodemon: OSX Nodemon not in Path

Created on 9 Jul 2013  ·  4Comments  ·  Source: remy/nodemon

When installed on OSX using "npm install -g nodemon" it installs to "/usr/local/share/npm/bin" so i needed to add this path to the /etc/paths file for it to work. Not sure if its a bug but thought i would post it.

Most helpful comment

Also:

/usr/local/Cellar/node/0.12.7/libexec/npm/bin/nodemon -> /usr/local/Cellar/node/0.12.7/libexec/npm/lib/node_modules/nodemon/bin/nodemon.js
[email protected] /usr/local/Cellar/node/0.12.7/libexec/npm/lib/node_modules/nodemon
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

After i create link

ln -s /usr/local/Cellar/node/0.12.7/libexec/npm/bin/nodemon /usr/local/bin/

End everything works for me. Maybe this help somebody...

All 4 comments

@medoix I am pretty sure that is npm configuration and not nodemon specifically. Most likely this is your problem https://github.com/Homebrew/homebrew/issues/21627

Agreeing and closing.

Problem with homebrew doesn't help mt. Install nodemon and always have

michael:~$ nodemon
-bash: nodemon: command not found

Also:

/usr/local/Cellar/node/0.12.7/libexec/npm/bin/nodemon -> /usr/local/Cellar/node/0.12.7/libexec/npm/lib/node_modules/nodemon/bin/nodemon.js
[email protected] /usr/local/Cellar/node/0.12.7/libexec/npm/lib/node_modules/nodemon
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

After i create link

ln -s /usr/local/Cellar/node/0.12.7/libexec/npm/bin/nodemon /usr/local/bin/

End everything works for me. Maybe this help somebody...

Was this page helpful?
0 / 5 - 0 ratings