2016-12-09 2 views
0

Ich installiere aurelia-cli in meiner Produktionsversion. Ich bin nach Anweisung von ‚http://aurelia.io/hub.html#/doc/article/aurelia/framework/latest/the-aurelia-cli‘, jetzt jedes Mal, wenn ich versuche, npm install aurelia-cli -g zu laufen gibt es mir unter Fehlern:"npm kann keine Dateiabkürzung finden" bei der Installation von aurelia cli

npm ERR! Linux 4.2.0-042stab113.11 
npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "install" "aurelia-cli" "-g" 
npm ERR! node v4.2.6 
npm ERR! npm v4.0.3 
npm ERR! path /usr/local/lib/node_modules/.staging/abbrev-d3948789 
npm ERR! code ENOENT 
npm ERR! errno -2 
npm ERR! syscall rename 

npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/abbrev-d3948789' -> '/usr/local/lib/node_modules/aurelia-cli/node_modules/npm/node_modules/abbrev' 
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/abbrev-d3948789' -> '/usr/local/lib/node_modules/aurelia-cli/node_modules/npm/node_modules/abbrev' 
npm ERR! enoent This is most likely not a problem with npm itself 
npm ERR! enoent and is related to npm not being able to find a file. 
npm ERR! enoent 

npm ERR! Please include the following file with any support request: 
npm ERR!  /etc/apt/npm-debug.log 
+0

Sind Sie sicher, dass Sie eine aktualisierte Version von Node und Npm verwenden? –

+0

Es scheint, als ob das Problem eher mit node.js und npm als mit Aurelia zusammenhängt. – LStarky

+0

ja, ich benutze Update-Version von beiden und das Problem ist nur auf die npm bezogen, aber wie man diesen Fehler beheben .. – HKumar

Antwort

0

Ich habe keine Ahnung über die spezifischen Fehler, aber das funktioniert oft für mich, und dies Methode zu tun, eine Neuinstallation ist oft empfohlen auf Gitters von der Aurelia Leute:

+0

Ich habe versucht, das gleiche zu tun, aber nicht funktioniert ... – HKumar

Verwandte Themen