Ich bin neu bei node.js. node
funktioniert gut, aber wenn ich das nodemon
-Paket installiert habe, gibt es einen Fehler: exception in nodemon killing node
, auch wenn global installiert.Was ist das Problem "Knoten" funktioniert, aber "nodemon" ist nicht auf Windows 7 64-Bit in node.js woking?
22 Jun 13:07:29 - [nodemon] v1.3.7
22 Jun 13:07:29 - [nodemon] to restart at any time, enter `rs`
22 Jun 13:07:29 - [nodemon] watching: *.*
22 Jun 13:07:29 - [nodemon] starting `node server.js`
exception in nodemon killing node
Error: spawn cmd ENOENT
at exports._errnoException (util.js:746:11)
at Process.ChildProcess._handle.onexit (child_process.js:1053:32)
at child_process.js:1144:20
at process._tickCallback (node.js:355:11)
----------------------------------------------------------
If appropriate, please file an error with the output from:
$ node
C:\Users\username\AppData\Roaming\npm\node_modules\nodemon\bin\nodemon.
js server.js --dump
At http://github.com/remy/nodemon/issues/new
nach ungewolltes meinem Windows PATH Variable löschen, das System32-Pfad fehlte. nach dem Hinzufügen war der Spawn-Cmd-Fehler verschwunden :) – Lusk116
thnks - ich tue alle Vorschläge und starte CMD als Admin ... – Guihgo
zweite Lösung funktionierte für mich, danke :) –