0

我在 Meteor 中收到以下错误。谁能帮忙解释可能是什么问题?到目前为止,这一直部署良好(我已经进行了一些代码更改,这些更改在开发中没有错误)

-----------------------------------STDERR-----------------------------------
_root_dir=/root/.node-gyp/0.10.36',
gyp info spawn args   '-Dmodule_root_dir=/opt/cyclusbreak/tmp/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
gyp info ok
npm WARN package.json meteor-dev-bundle@0.0.0 No description
npm WARN package.json meteor-dev-bundle@0.0.0 No repository field.
npm WARN package.json meteor-dev-bundle@0.0.0 No README data
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 80: Connection refused
Latest deployment failed! Reverted back to the previous version.
-----------------------------------STDOUT-----------------------------------
b.node
make: Leaving directory `/opt/cyclusbreak/tmp/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/build'

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

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

eachline@2.3.3 node_modules/eachline
└── type-of@2.0.1

chalk@0.5.1 node_modules/chalk
├── ansi-styles@1.1.0
├── escape-string-regexp@1.0.3
├── supports-color@0.2.0
├── has-ansi@0.1.0 (ansi-regex@0.2.1)
└── strip-ansi@0.3.0 (ansi-regex@0.2.1)

semver@4.1.0 node_modules/semver

source-map-support@0.2.8 node_modules/source-map-support
└── source-map@0.1.32 (amdefine@0.1.0)

fibers@1.0.5 node_modules/fibers
Waiting for MongoDB to initialize. (5 minutes)
connected
cyclusbreak stop/waiting
cyclusbreak start/running, process 4278
Waiting for 15 seconds while app is booting up
Checking is app booted or not?
cyclusbreak stop/waiting
cyclusbreak start/running, process 4376
4

1 回答 1

1

您使用的是哪个版本的 Meteor 和 Node?

您可以mup logs -n 400在项目文件夹上运行,看看日志中是否有任何有用的信息。我有一个类似的错误,它是 Meteor 1.2 需要节点的 v0.10.40 或更高版本。

看来您使用的是 0.10.36,因此您可能需要将mup.json文件中的 nodeVersion 更改为正确的版本并mup setup再次运行。

于 2015-10-16T20:07:59.420 回答