nodemon funktioniert nicht: -bash: nodemon: Befehl nicht gefunden

Ich bin auf einem Mac mit El Capitan. Ich habe Knoten v5.6.0 und npm v3.6.0. Wenn ich versuche, nodemon auszuführen, erhalte ich:

-bash: nodemon: command not found

Ich dachte, dies könnte bedeuten, dass ich nodemon nicht installiert habe. Als ich also versuchte, es mit ... zu installieren.

sudo npm intall -g nodemon

... ich bekomme das:

npm ERR! Darwin 15.2.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g"     "nodemon"
npm ERR! node v5.6.0
npm ERR! npm  v3.6.0
npm ERR! path /usr/local/bin/nodemon
npm ERR! code EEXIST

npm ERR! Refusing to delete /usr/local/bin/nodemon: ../lib/node_modules/nodemon/nodemon.js symlink target is not controlled by         npm /usr/local
npm ERR! File exists: /usr/local/bin/nodemon
npm ERR! Move it away, and try again.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/brianeoneill/npm-debug.log

Wenn es einen Unterschied macht, versuche ich, nodemon für ein Projekt auszuführen, das Express v4.13.1 verwendet.

Vielen Dank für jede Hilfe, die Sie anbieten können!

Antworten auf die Frage(16)

Ihre Antwort auf die Frage