虚拟机ubuntu安装express出错
发布于 11 年前 作者 coolicer 4334 次浏览 最后一次编辑是 8 年前
npm ERR! Error: EROFS, symlink '../express/bin/express'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-[@googlegroups](/user/googlegroups).com>

npm ERR! System Linux 3.8.0-19-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/www/nodejs/demo
npm ERR! node -v v0.10.15
npm ERR! npm -v 1.3.5
npm ERR! path ../express/bin/express
npm ERR! code EROFS
npm ERR! errno 56
2 回复

EROFS means it’s a readonly file system. Make sure you are installing it on a mounted and formatted drive? Also make sure you have write permission to the folder

我已经解决了,是虚拟机共享文件夹问题。

回到顶部