gpt4 book ai didi

Meteor up mup 部署失败

转载 作者:行者123 更新时间:2023-12-04 20:06:39 27 4
gpt4 key购买 nike

编辑:
在 Github 存储库中打开问题。
https://github.com/arunoda/meteor-up/issues/87

我试图设置 Meteor 来运行一个 meteor 应用程序。

这是我运行时遇到的错误 mup deploy
调用部署过程:失败

    -----------------------------------STDERR-----------------------------------
e-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/give/tmp/bundle/programs/server/node_modules/bcrypt
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm ERR! bcrypt@0.7.8 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt@0.7.8 install script.
npm ERR! This is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls bcrypt
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "bcrypt"
npm ERR! cwd /opt/give/tmp/bundle/programs/server
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /opt/give/tmp/bundle/programs/server/npm-debug.log
npm ERR! not ok code 0
-----------------------------------STDOUT-----------------------------------

> fibers@1.0.1 install /opt/give/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js

`linux-x64-v8-3.14` exists; testing
Binary is fine; exiting
fibers@1.0.1 node_modules/fibers

> bcrypt@0.7.8 install /opt/give/tmp/bundle/programs/server/node_modules/bcrypt
> node-gyp rebuild

----------------------------------------------------------------------------

我也跑了 mup logs -n 300并得到了这个回应。
error:   Cannot start forever
error: script /opt/give/app/main.js does not exist.

知道我在这里可能做错了什么吗?

最佳答案

我将服务器恢复到较早的状态,重新安装了 mup 并将安装 nodejs 设置为 false。我还使用 sudo npm install n -g 安装了节点 v0.10.29 sudo n stable并跑过 mup init , mup setup , mup deploy这次有效。

关于Meteor up mup 部署失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24644861/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com