2

我正在尝试使用 Kadira Meteor-Up ( https://github.com/kadirahq/meteor-up ) 将 Meteor 1.2.1 基本项目部署到新的 Ubuntu 14.04 x64 vmlinuz-3.13.0-71-generic (digitalocean)液滴,我有以下错误:

MBP-Mateusz:magnus mzygmunt$ mup deploy
Bulding App Bundle Locally
Started TaskList: Pushing Meteor
[178.62.22.101] - Pushing Meteor App Bundle to The Server
[178.62.22.101] - Pushing Meteor App Bundle to The Server: SUCCESS
[178.62.22.101] - Pushing the Startup Script
[178.62.22.101] - Pushing the Startup Script: SUCCESS

Started TaskList: Configuring  Meteor Environment Variables
[178.62.22.101] - Sending Environment Variables
[178.62.22.101] - Sending Environment Variables: SUCCESS

Started TaskList: Start Meteor
[178.62.22.101] - Start Meteor
[178.62.22.101] - Start Meteor: SUCCESS
[178.62.22.101] - Verifying Deployment
[178.62.22.101] x Verifying Deployment: FAILED

    -----------------------------------STDERR-----------------------------------
    to the latest stable version, run:
    npm WARN deprecated 
    npm WARN deprecated   npm -g install npm@latest
    npm WARN deprecated 
    npm WARN deprecated (Depending on how Node.js was installed on your system, you
    npm WARN deprecated may need to prefix the preceding commands with `sudo`, or if
    npm WARN deprecated on Windows, run them from an Administrator prompt.)
    npm WARN deprecated 
    npm WARN deprecated If you're running the version of npm bundled with
    npm WARN deprecated Node.js 0.10 LTS, be aware that the next version of 0.10 LTS
    npm WARN deprecated will be bundled with a version of npm@2, which has some small
    npm WARN deprecated backwards-incompatible changes made to `npm run-script` and
    npm WARN deprecated semver behavior.
    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
    => Starting meteor app on port:80
    -----------------------------------STDOUT-----------------------------------

    To see more logs type 'mup logs --tail=50'

    ----------------------------------------------------------------------------
at /Users/mzygmunt/Desktop/custom_npm/meteor-up/node_modules/nodemiral/lib/coreTasks.js:39:16
at /Users/mzygmunt/Desktop/custom_npm/meteor-up/node_modules/nodemiral/lib/session.js:146:9
at Channel.<anonymous> (/Users/mzygmunt/Desktop/custom_npm/meteor-up/node_modules/nodemiral/lib/ssh.js:125:9)
at emitOne (events.js:90:13)
at Channel.emit (events.js:182:7)
at SSH2Stream.<anonymous> (/Users/mzygmunt/Desktop/custom_npm/meteor-up/node_modules/ssh2/lib/Channel.js:124:14)
at SSH2Stream.g (events.js:273:16)
at emitNone (events.js:80:13)
at SSH2Stream.emit (events.js:179:7)
at parsePacket (/Users/mzygmunt/Desktop/custom_npm/meteor-up/node_modules/ssh2-streams/lib/ssh.js:3435:10)
at SSH2Stream._transform (/Users/mzygmunt/Desktop/custom_npm/meteor-up/node_modules/ssh2-streams/lib/ssh.js:552:13)
at SSH2Stream.Transform._read (_stream_transform.js:166:10)
at SSH2Stream._read (/Users/mzygmunt/Desktop/custom_npm/meteor-up/node_modules/ssh2-streams/lib/ssh.js:213:15)
at SSH2Stream.Transform._write (_stream_transform.js:154:12)
at doWrite (_stream_writable.js:292:12)
at writeOrBuffer (_stream_writable.js:278:5)

该问题也出现在 MUPX ( https://github.com/arunoda/meteor-up/tree/mupx# ) 中。有没有人有解决问题的想法?

4

1 回答 1

0

错误与损坏的 NodeJS 版本有关。完全重新安装 NodeJS 彻底解决了这个问题。

注意:如果您使用 Kadira Meteor-Up,您必须将 mup.js 文件放在项目内的 .deploy 目录中。

于 2016-01-28T18:40:44.547 回答