无法使用 npm 安装 ShareJS
Unable to install ShareJS with npm
使用虚拟机(无业游民)Ubuntu 14.04.2 LTS。
npm 和 nodeJS 版本是最新的。
我正在尝试通过
安装 shareJS
sudo npm install share@"<0.7"
但这会导致 npm 错误。
npm ERR! Linux 3.13.0-55-generic
npm ERR! argv "node" "/usr/bin/npm" "install" "share@<0.7"
npm ERR! node v0.12.7
npm ERR! npm v2.14.1
npm ERR! path ../coffee-script/bin/coffee
npm ERR! code EPROTO
npm ERR! errno -71
npm ERR! EPROTO, symlink '../coffee-script/bin/coffee'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Linux 3.13.0-55-generic
npm ERR! argv "node" "/usr/bin/npm" "install" "share@<0.7"
npm ERR! node v0.12.7
npm ERR! npm v2.14.1
npm ERR! path npm-debug.log.8eb898407f81b59ca45e8e0a6a951820
npm ERR! code ETXTBSY
npm ERR! errno -26
以为是node或者npm的版本问题,重装了也没用。
也看起来类似于许可证过期问题,但它在一个月前关闭了。
我刚刚复制了您的命令,它对我有用。
我的机器是:
Ubuntu 14.4 64 位
节点 js 版本:v0.10.38
Npm 版本:2.9.0
我想你必须检查一下这个版本。
请检查您的版本是否与此匹配。
祝你好运
解决方案是添加 --no-bin-links 标志。
npm install --no-bin-links share@"<0.7"
希望这对某人有用。
使用虚拟机(无业游民)Ubuntu 14.04.2 LTS。 npm 和 nodeJS 版本是最新的。
我正在尝试通过
安装 shareJSsudo npm install share@"<0.7"
但这会导致 npm 错误。
npm ERR! Linux 3.13.0-55-generic
npm ERR! argv "node" "/usr/bin/npm" "install" "share@<0.7"
npm ERR! node v0.12.7
npm ERR! npm v2.14.1
npm ERR! path ../coffee-script/bin/coffee
npm ERR! code EPROTO
npm ERR! errno -71
npm ERR! EPROTO, symlink '../coffee-script/bin/coffee'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Linux 3.13.0-55-generic
npm ERR! argv "node" "/usr/bin/npm" "install" "share@<0.7"
npm ERR! node v0.12.7
npm ERR! npm v2.14.1
npm ERR! path npm-debug.log.8eb898407f81b59ca45e8e0a6a951820
npm ERR! code ETXTBSY
npm ERR! errno -26
以为是node或者npm的版本问题,重装了也没用。 也看起来类似于许可证过期问题,但它在一个月前关闭了。
我刚刚复制了您的命令,它对我有用。
我的机器是:
Ubuntu 14.4 64 位
节点 js 版本:v0.10.38 Npm 版本:2.9.0
我想你必须检查一下这个版本。 请检查您的版本是否与此匹配。
祝你好运
解决方案是添加 --no-bin-links 标志。
npm install --no-bin-links share@"<0.7"
希望这对某人有用。