2016-12-09 16 views
0

私の生産版にaurelia-cliをインストールしています。私は、「http://aurelia.io/hub.html#/doc/article/aurelia/framework/latest/the-aurelia-cli」からの命令の次の午前私はnpm install aurelia-cli -gを実行しようとしています毎回とき、今では、エラーの下に私を与える:aurelia cliをインストールするときにnpmがファイルの略語を見つけることができません

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

あなたはノードとnpmの更新版を使用していますか? –

+0

問題は、aureliaではなく、node.jsとnpmに関連している可能性が高いようです。 – LStarky

+0

はい、両方のアップデート版を使用していますが、この問題はnpmにのみ関連していますが、このエラーを解決するにはどうすればいいですか。 – HKumar

答えて

0

私はその特定のエラーについては考えている、しかし、これは多くの場合、私の作品が、この新鮮な再インストールの方法は、多くの場合、オウレリアの人々によってギターでお勧めします:

npm uninstall -g aurelia-cli 
npm clear cache 
npm install -g aurelia-cli 
rm -rf node_modules 
npm install 
npm install # on freebsd sometimes I have to run this more than once 
+0

同じことをやってみましたが動作しません... – HKumar

関連する問題