Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/fsharp/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 无法在ubuntu 14.04上安装光纤_Node.js_Node Fibers - Fatal编程技术网

Node.js 无法在ubuntu 14.04上安装光纤

Node.js 无法在ubuntu 14.04上安装光纤,node.js,node-fibers,Node.js,Node Fibers,当我尝试安装光纤时,会收到此错误消息 我有节点版本0.10.45,用于在Strato VPS上的Ubuntu 14.04 64位上使用Meteor 1.3.2 当我执行meteor构建时我需要在构建输出的程序/服务器内部运行npm安装光纤。但我没有机会安装光纤,因为我得到了这个输出。我还没有在网上找到关于这个问题的任何信息 sudo npm install -g fibers > fibers@1.0.13 install /usr/local/lib/node_modules/fibe

当我尝试安装光纤时,会收到此错误消息

我有节点版本0.10.45,用于在Strato VPS上的Ubuntu 14.04 64位上使用Meteor 1.3.2

当我执行meteor构建时我需要在构建输出的
程序/服务器
内部运行
npm安装光纤
。但我没有机会安装光纤,因为我得到了这个输出。我还没有在网上找到关于这个问题的任何信息

sudo npm install -g fibers

> fibers@1.0.13 install /usr/local/lib/node_modules/fibers
> node build.js || nodejs build.js
(...)    
make: Entering directory `/usr/local/lib/node_modules/fibers/build'
  CXX(target) Release/obj.target/fibers/src/fibers.o
g++: internal compiler error: Bus error (program as)
(...)
make: *** [Release/obj.target/fibers/src/fibers.o] Error 4
make: Leaving directory `/usr/local/lib/node_modules/fibers/build'
(...)
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 3.13.0-042stab111.12
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /usr/local/lib/node_modules/fibers
(...)
Ubuntu users please run: `sudo apt-get install g++`
Alpine users please run: `sudo apk add python make g++`
npm ERR! Linux 3.13.0-042stab111.12
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "fibers"
npm ERR! node v0.10.45
npm ERR! npm  v3.10.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! fibers@1.0.13 install: `node build.js || nodejs build.js`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the fibers@1.0.13 install script 'node build.js || nodejs build.js'.
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 fibers package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node build.js || nodejs build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs fibers
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls fibers
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/keller/repos/rmt-app/npm-debug.log

你是否在输出中间运行APT get命令?

Ubuntu users please run: `sudo apt-get install g++`
Alpine users please run: `sudo apk add python make g++`

我在阿尔卑斯山遇到了同样的故障,并且运行那个命令来安装必要的依赖项来修复它。

< P>你在输出中间运行APT get命令吗?

Ubuntu users please run: `sudo apt-get install g++`
Alpine users please run: `sudo apk add python make g++`
我在Alpine上遇到了同样的故障,运行该命令安装必要的依赖项为我修复了它