我正在尝试将mup deploy
Meteortodos
示例用于运行 Ubuntu 14.04 LTS x64 的 Vagrant VM。
Meteor Up支持 Windows(我在 Windows 7 上):
您可以从 Linux、Mac 和Windows安装和使用 Meteor Up 。
这是我的c:\code\todos\mup.json
:
{
"servers": [
{
"host": "127.0.0.1",
"port": 2222,
"username": "vagrant",
"password": "vagrant"
}
],
"setupMongo": true,
"setupNode": true,
"nodeVersion": "0.12.4",
"setupPhantom": true,
"enableUploadProgressBar": false,
"appName": "todos-app",
"app": "/code/todos",
"env": {
"ROOT_URL": "http://127.0.0.1",
"PORT": "3001", // The port you want to bind to on your server.
"UPSTART_UID": "vagrant" // The user you want to run meteor as.
},
"deployCheckWaitTime": 30
}
我的 Vagrant VM 已启动,PuTTYTray 通过 vagrant:vagrant@127.0.0.7:2222 连接。然而mup deploy
失败了:
C:\code\todos>mup deploy
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
" Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup "
Building Started: /code/todos
? Can't build for mobile on Windows. Skipping the following platforms:
android, ios
Started TaskList: Deploy app 'todos-app' (linux)
[127.0.0.1] - Uploading bundle
events.js:85
throw er; // Unhandled 'error' event
^
Error: connect ECONNREFUSED
at exports._errnoException (util.js:746:11)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1010:19)
对mup setup
. 并在虚拟机中mup deploy
遇到“奇怪的错误”。
我应该降级 mup
吗?