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
Sind Sie sicher, dass Sie eine aktualisierte Version von Node und Npm verwenden? –
Es scheint, als ob das Problem eher mit node.js und npm als mit Aurelia zusammenhängt. – LStarky
ja, ich benutze Update-Version von beiden und das Problem ist nur auf die npm bezogen, aber wie man diesen Fehler beheben .. – HKumar