2017-09-18 79 views
2

我在使用vue init webpack project_name構建一個Vue.js項目,在這一步之後我跑了npm install。和NPM拋出了以下錯誤: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
注:我剛剛更新了我的MacOS HighSierra至10.13 Beta版,這是否影響?

有什麼朋友有這個問題嗎?

回答

相關問題