0
Ich habe gerade von linux ubuntu
zu windows
und hier erste Fehler verschoben. Wenn ich versuche, die App neu zu starten, erhalte ich diese Fehler. Und jedes Mal muss ich den ganzen Computer neu starten, um die Änderungen zu sehen. Nach dem Neustart des ganzen Computers npm start
funktioniert gut. Ich versuchte update
die npm
aber kein Ergebnis. Könnte jemand helfen?npm Start funktioniert nicht
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v6.11.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `node ./bin/www`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'node ./bin/www'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the exproject package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/www
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs exproject
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls exproject
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\sashi\Desktop\nprojects\basicexpress\exproject\npm-debug.log
Ja, ich habe. Es ist { "name": "exproject", "Version": "1.0.0", "privat": true, "Skripte": { "Start": „Knoten ./bin/www " }, " Abhängigkeiten ": { " body-parser ":" ~ 1.17.1 ", " cookie-parser ":" ~ 1.4.3 ", " debug ":" ~ 2.6.3 ", "express": "~ 4.15.2", "jade": "~ 1.11.0", "morgan": "~ 1.8.1", "serve-favicon": "~ 2.4.2", "nodemailer": "*" } } –
Was passiert, wenn Sie versuchen, ./bin/www auszuführen? – user835611
Es zeigt, dass es funktioniert, aber jetzt sind Änderungen zu sehen. Sie werden erst nach dem Neustart des gesamten Computers und rping npm Start gesehen –