2017-09-18 19 views
2

vue init webpack project_nameを使用してVue.jsプロジェクトを構築していますが、このステップの後にnpm installを実行しました。私はちょうど10.13ベータ版に私のMacOSのHighSierraを更新し、これは影響しません:npmインストールに失敗しました - エラーメッセージ:enoent ENOENT:そのようなファイルまたはディレクトリがありません

npm ERR! path /Users/duodian/Desktop/crop-demo/node_modules/js- 
beautify/js/bin/css-beautify.js 
npm ERR! code ENOENT 
npm ERR! errno -2 
npm ERR! syscall chmod 
npm ERR! enoent ENOENT: no such file or directory, chmod 
'/Users/duodian/Desktop/crop-demo/node_modules/js-beautify/js/bin/css-beautify.js' 
npm ERR! enoent This is related to npm not being able to find a file. 
npm ERR! enoent 

npm ERR! A complete log of this run can be found in: 
npm ERR!  /Users/duodian/.npm/_logs/2017-09-18T09_55_20_047Z-debug.log 

ノードバージョン8.5.0
NPMバージョン5.3.0
注:とNPMは以下のエラーを投げましたか?

友人にこの問題がありますか?

答えて

1

[email protected]が壊れています。だから、2.7.0にVUE-CLIをダウングレードしようと

npm install [email protected] 

、その後

npm install (assuming that you are installing deps in package.json) 

を実行してこの問題に

npm install -g [email protected] 
関連する問題