Meteor Up部署错误

我使用Meteor Up部署meteor应用程序。 开发应用程序在位置/ apps / proto / meteor / GatewayUI和我有.deploy文件夹是在GatewayUI文件夹内。 在给出命令“MUP部署”,我得到以下错误

{ Error: spawn meteor ENOENT at exports._errnoException (util.js:1018:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32) at onErrorNT (internal/child_process.js:367:16) at _combinedTickCallback (internal/process/next_tick.js:80:11) at process._tickCallback (internal/process/next_tick.js:104:9) code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn meteor', path: 'meteor', spawnargs: [ 'build', '--directory', '/tmp/mup-meteor-981e8b09-055e-4ffe-a50a-d73d07c1ac5f', '--architecture', 'os.linux.x86_64', '--debug', '--mobile-settings', '/apps/proto/meteor/GatewayUI/settings.json' ] } This error usually happens when meteor is not installed. 

我的mup.js如下:

 module.exports = { servers: { one: { // TODO: set host address, username, and authentication method host: 'myhost', username: 'myusername', // pem: './path/to/pem' password: 'mypassword' // or neither for authenticate from ssh-agent } }, meteor: { // TODO: change app name and path name: 'GatewayUI', path: '../../GatewayUI/', servers: { one: {}, }, buildOptions: { debug: true, executable: 'meteor', }, env: { // TODO: Change to your app's url // If you are using ssl, it needs to start with https:// ROOT_URL: 'http://gatewayui.com', MONGO_URL: 'mongodb://localhost/meteor', }, // ssl: { // (optional) // // Enables let's encrypt (optional) // autogenerate: { // email: 'email.address@domain.com', // // comma seperated list of domains // domains: 'website.com,www.website.com' // } // }, docker: { // change to 'kadirahq/meteord' if your app is not using Meteor 1.4 image: 'abernix/meteord:base', // imagePort: 80, // (default: 80, some images EXPOSE different ports) }, // This is the maximum time in seconds it will wait // for your app to start // Add 30 seconds if the server has 512mb of ram // And 30 more if you have binary npm dependencies. deployCheckWaitTime: 60, // Show progress bar while uploading bundle to server // You might need to disable it on CI servers enableUploadProgressBar: true }, mongo: { port: 27199, version: '3.4.1', servers: { one: {} } } }; 

一些事情不会发生1)确保meteor安装。 在我的情况下,它被安装,但是,path没有设置。 发生了,因为我忘了永久添加path2)Docker,Mongo,Meteor应该被安装。 3)每次, mup安装必须先于mup部署