gpt4 book ai didi

meteor mup 部署失败

转载 作者:行者123 更新时间:2023-12-02 03:59:09 32 4
gpt4 key购买 nike

使用 Meteor up 成功完成 mup initmup setup 服务器后,我运行 mup deploy 并在验证部署时失败:失败:

-----------------------------------STDERR-----------------------------------
node-gyp rebuild

make: Entering directory '/bundle/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt/node_modules/bcrypt/build'
CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node
COPY Release/bcrypt_lib.node
make: Leaving directory '/bundle/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt/node_modules/bcrypt/build'
bcrypt@0.8.7 /bundle/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt/node_modules/bcrypt
bindings@1.2.1 /bundle/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt/node_modules/bindings
nan@2.3.5 /bundle/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt/node_modules/nan

> buffertools@2.1.4 install /bundle/bundle/programs/server/npm/node_modules/bufferstream/node_modules/buffertools
> node-gyp rebuild

我在 Ubuntu 14.04 上使用 Digital Ocean 服务器。我已经安装了 Node v4.4.7 和 node-gyp。

如果我运行node-gyp重建,我会遇到这个错误:

module.js:327
throw err;
^

Error: Cannot find module 'graceful-fs'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/usr/share/node-gyp/lib/node-gyp.js:12:10)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)

你能帮我吗?

最佳答案

Meteor 找不到该模块。通常运行meteor npm install <missing module>解决了这个问题。尝试运行meteor npm install --save graceful-fs在部署之前。

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

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