2015-11-08 98 views
0

有沒有人有任何想法我在這裏失蹤?我在Windows機器上。這發生在我自己構建的應用程序中。我也在Meteor的hello world app上得到同樣的錯誤。提前致謝。試圖部署一個流星應用程序 - mup安裝程序錯誤

mup init工作正常,但是當我嘗試運行mup安裝程序時,收到此錯誤消息。

  • 安裝Node.js的 events.js:141 拋兒; //未處理'錯誤'事件 ^ 錯誤:所有已配置的身份驗證方法失敗 at tryNextAuth(C:\ Users \ Justin \ AppData \ Roaming \ npm \ node_modules \ mup \ node_modules \ nodemiral \ node_modules \ ssh2 \ lib \ client。 js:290:17) at SSH2Stream.onUSERAUTH_FAILURE(C:\ Users \ Justin \ AppData \ Roaming \ npm \ node_modules \ mup \ node_modules \ nodemiral \ node_modules \ ssh2 \ lib \ client.js:469:5) at emitTwo (events.js:87:13) at parsePacket(C:\ Users \ Justin \ AppData \ Roaming \ npm \ node_modules \ mup \ node_modules \ nodemiral \ node_modules \)SSH2Stream.emit(events.js:172:7) ssh2 \ node_modules \ ssh2-streams \ lib \ ssh.js:3652:10) at SSH2Stream._transform(C:\ Users \ Justin \ AppData \ Roaming \ npm \ node_modules \ mup \ node_modules \ nodemiral \ node_modules \ ssh2 \ node_modules \ SSH2流\ LIB \ ssh.js:555 (C:\ Users \ Justin \ AppData \ Roaming \ npm \ node_modules \ mup \ node_modules \ nodemiral \ node_modules \ ssh2 \)下SSH2Stream.Transform._read(_stream_transform.js:167:10) :13) at SSH2Stream._read node_modules \ SSH2流\ lib中\ ssh.js:213:15) 在SSH2Stream.Transform._write(_stream_transform.js:155:12) 在doWrite(_stream_writable.js:292:12)

// ---------------下面是我的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:[email protected]: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

你部署什麼版本的Ubuntu來?確保使用Ubuntu 14.04或更高版本。 –

+0

謝謝。我正在嘗試部署到Ubuntu 14.04 x64液滴。我認爲這個「設置」步驟會拋出錯誤 - 而不是「部署」階段。 –

+0

你可以粘貼你的mup.json文件嗎? –

回答