我正在尝试使用Kadira Meteor-Up(https://github.com/kadirahq/meteor-up)部署Meteor 1.2.1基本项目到新的Ubuntu 14.04 x64 vmlinuz-3.13.0-71-generic(digitalocean)Droplet并且我已经得到以下错误:
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#)中。有没有人有想法解决这个问题?
答案 0 :(得分:0)
错误与NodeJS的损坏版本有关。完全重新安装NodeJS最终解决了这个问题。
注意:如果您使用Kadira Meteor-Up,则必须将mup.js文件放在项目内的.deploy目录中。