1
嘗試安裝「N」但得到以下錯誤:錯誤而安裝「N」
npm isntall -g n
/usr/lib
└── [email protected]
npm ERR! Linux 3.16.0-57-generic
npm ERR! argv "node" "/usr/local/bin/npm" "isntall" "-g" "n"
npm ERR! node v0.10.25
npm ERR! npm v3.5.3
npm ERR! path /usr/lib/node_modules/.staging
npm ERR! code ELOOP
npm ERR! errno 51
npm ERR! ELOOP, unlink '/usr/lib/node_modules/.staging'
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! /var/www/yeoman-start/npm-debug.log
什麼問題,我該怎麼處理呢?
您在'isntall'中有錯字!嘗試'npm install -g n'。 – Beat
@Beat npm處理這個拼寫錯誤。問題在於OP正在進入一個依賴循環代碼ELOOP。 –