npm在linux计算机上安装couchbase失败
我正在尝试将node js应用程序从windows机器移动到linux机器以用于QA环境,但在linux机器上安装couchbase模块时遇到问题 它在windows机器上运行良好,但我在4台不同的linux机器上尝试了此安装,运行时收到此错误消息 npm安装couchbase--无bin链接 我和流浪汉在一起是为了这份日志npm在linux计算机上安装couchbase失败,linux,node.js,npm,couchbase,Linux,Node.js,Npm,Couchbase,我正在尝试将node js应用程序从windows机器移动到linux机器以用于QA环境,但在linux机器上安装couchbase模块时遇到问题 它在windows机器上运行良好,但我在4台不同的linux机器上尝试了此安装,运行时收到此错误消息 npm安装couchbase--无bin链接 我和流浪汉在一起是为了这份日志 couchbase@2.1.3 install /vagrant/MBO 2122016/node_modules/couchbase prebuild --insta
couchbase@2.1.3 install /vagrant/MBO 2122016/node_modules/couchbase
prebuild --install
sh: 1: prebuild: not found
npm ERR! Linux 3.2.0-23-generic-pae
npm ERR! argv "/home/vagrant/.nvm/versions/node/v5.3.0/bin/node" "/home/vagrant/.nvm/versions/node/v5.3.0/bin/npm" "install" "couchbase" "--no-bin-links"
npm ERR! node v5.3.0
npm ERR! npm v3.3.12
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! couchbase@2.1.3 install: `prebuild --install`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the couchbase@2.1.3 install script 'prebuild --install'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the couchbase package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! prebuild --install
npm ERR! You can get their info via:
npm ERR! npm owner ls couchbase
npm ERR! There is likely additional logging output above.
npm ERR! Linux 3.2.0-23-generic-pae
npm ERR! argv "/home/vagrant/.nvm/versions/node/v5.3.0/bin/node" "/home/vagrant/.nvm/versions/node/v5.3.0/bin/npm" "install" "couchbase" "--no-bin-links"
npm ERR! node v5.3.0
npm ERR! npm v3.3.12
npm ERR! path npm-debug.log.6258c2ba9fb733156e17534450091eff
npm ERR! code ETXTBSY
npm ERR! errno -26
npm ERR! syscall rename
我已将从该命令获得的npm调试发布到pastebin
您不能在clean environment上使用
--无bin链接安装它,因为它依赖于可访问的预构建
二进制文件。要解决此问题,您必须完全删除此开关,或者在couchbase之前安装prebuild,但不安装此开关:
npm install prebuild
npm install couchbase --no-bin-links
不是一个编程问题;属于超级用户或Unix&Linux。。。