3
當我嘗試通過這個命令來安裝少:錯誤而安裝少
npm install less .
我得到一個錯誤:
npm ERR! Error: EROFS, symlink '../less/bin/lessc'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! System Linux 3.2.0-4-amd64
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "less" "."
npm ERR! cwd /var/www/epi
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! path ../less/bin/lessc
npm ERR! code EROFS
npm ERR! errno 56
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /var/www/epi/npm-debug.log
npm ERR! not ok code 0
我使用Debian喘息,我已經從sources安裝節點。
'cat/var/www/epi/npm-debug.log'說了什麼? - EROFS通常意味着你只能從文件系統讀取數據。 –