有谁知道我在这里缺少什么?我在Windows机器上。这种情况发生在我自己构建的应用程序中。我也在Meteor的hello world应用程序上遇到同样的错误。提前致谢。
mup init工作正常,但是当我尝试运行mup setup时,我收到此错误消息。
// ---------------以下是我的mup.json文件中的信息----------
{
// Server authentication info
"servers": [
{
"host": "xxx.xxx.xxx.xx",
"username": "xxxxxx",
"password": "xxxxxx"
// or pem file (ssh based authentication)
//"pem": "~/.ssh/id_rsa"
}
],
// Install MongoDB in the server, does not destroy local MongoDB on future setup
"setupMongo": false,
// WARNING: Node.js is required! Only skip if you already have Node.js installed on server.
"setupNode": true,
// WARNING: If nodeVersion omitted will setup 0.10.36 by default. Do not use v, only version number.
"nodeVersion": "0.10.40",
// Install PhantomJS in the server
"setupPhantom": true,
// Show a progress bar during the upload of the bundle to the server.
// Might cause an error in some rare cases if set to true, for instance in Shippable CI
"enableUploadProgressBar": true,
// Application name (No spaces)
"appName": "alp-new",
// Location of app (local directory)
"app": ".",
// Configure environment
"env": {
"ROOT_URL": "http://xxxx.xxxx.com/",
"MONGO_URL": "mongodb://xxxxxx:xxxxxx@candidate.55.mongolayer.com:10503,candidate.16.mongolayer.com:11209/alp-telescope?replicaSet=set-5634fd304bed0503ed000ade"
},
// Meteor Up checks if the app comes online just after the deployment
// before mup checks that, it will wait for no. of seconds configured below
"deployCheckWaitTime": 30
}
答案 0 :(得分:0)
每https://github.com/layerhq/Layer-Parse-iOS-Example,您需要确保密钥文件不受密码保护。不确定您是否部署到Digital Ocean,但无论如何,本文仍然可以作为一个很好的参考:
https://github.com/arunoda/meteor-up#ssh-based-authentication-with-sudo