有此錯誤。 我已經使用brew安裝了節點。 試圖設置一個角度項目,但通過運行命令依賴關係文件夾沒有得到創建並給出此錯誤。安裝yeoman時發生錯誤
- node-libs-browser node_modules/webpack/node_modules/node-libs-browser
- watchpack node_modules/webpack/node_modules/watchpack
- chokidar node_modules/webpack/node_modules/watchpack/node_modules/chokidar
npm ERR! Darwin 14.1.0
npm ERR! argv "/usr/local/Cellar/node/6.3.1/bin/node" "/usr/local/bin/npm" "install" "--save-dev" "[email protected]^1.4.0"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
npm ERR! path /Users/temp/Desktop/node_modules/webpack
npm ERR! code ENOTEMPTY
npm ERR! errno -66
npm ERR! syscall rename
npm ERR! ENOTEMPTY: directory not empty, rename '/Users/temp/Desktop/node_modules/webpack' -> '/Users/temp/Desktop/node_modules/.webpack.DELETE'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /Users/temp/Desktop/faltu/npm-debug.log
如何解決這個問題?
你試過了什麼?哪個命令給? –
我試圖簡單地嘗試運行由噴泉webapp由yeoman生成器給出的簡單項目。所以我試着喲-v。我有一些選項,比如sass/css,angular1,angular2等。所有這些步驟之後,我出現了這個錯誤,並且沒有創建文件夾 – vish