流星mup部署光纤错误

时间:2016-07-23 12:27:52

标签: meteor node-fibers

当我尝试mup deploy

时,我收到以下错误
Building Started: /Users/../.......

启动TaskList:部署app' meteor' (Linux)的

[195.30.108.227] - 上传包

[195.30.108.227] - 上传包:SUCCESS

[195.30.108.227] - 设置环境变量

[195.30.108.227] - 设置环境变量:成功

[195.30.108.227] - 调用部署过程

[195.30.108.227] x调用部署过程:FAILED

-----------------------------------STDERR-----------------------------------
les/fibers
gyp ERR! node -v v4.4.7
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
Build failed
npm ERR! Linux 3.13.0-32-generic
npm ERR! argv "/opt/nodejs/bin/node" "/usr/bin/npm" "install"
npm ERR! node v4.4.7
npm ERR! npm  v2.15.8
npm ERR! code ELIFECYCLE

npm ERR! fibers@1.0.5 install: `node ./build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fibers@1.0.5 install script 'node ./build.js'.
npm ERR! 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
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 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!     /opt/meteor/tmp/bundle/programs/server/npm-debug.log
-----------------------------------STDOUT-----------------------------------
 > ./bcrypt: npm install due to binary npm modules
bindings@1.0.0 node_modules/bindings

nodeunit@0.9.1 node_modules/nodeunit
└── tap@0.7.1 (inherits@2.0.1, buffer-equal@0.0.2, slide@1.1.6, deep-equal@1.0.1, yamlish@0.0.7, nopt@3.0.6, mkdirp@0.5.1, difflet@0.2.6, glob@4.5.3, runforcover@0.0.2)

> fibers@1.0.5 install /opt/meteor/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js

make: Verzeichnis »/opt/meteor/tmp/bundle/programs/server/node_modules/fibers/build« wird betreten
  CXX(target) Release/obj.target/fibers/src/fibers.o
make: Verzeichnis »/opt/meteor/tmp/bundle/programs/server/node_modules/fibers/build« wird verlassen
----------------------------------------------------------------------------

2 个答案:

答案 0 :(得分:1)

您正在使用节点版本v4.4.7,但是meteor build在v0.10.40或更低版本上运行。

您可以使用nvm更改节点版本。

答案 1 :(得分:0)

有类似的问题。

该问题与meteor版本及mup有关 由于我的流星是1.2.1和我的mup 1.3.1,需要在mup.js中更改为使用较旧的docker "kariahq/meteord"图像

  docker: {
      // change to 'kadirahq/meteord' if your app is not using Meteor 1.4
      image: 'kadirahq/meteord'
      //image: 'abernix/meteord:base'
    },