我尝试了我在网上找到的所有东西,但没有任何帮助我...我尝试在我的服务器上在Debian 8.2上部署应用程序,每次之后:mup deploy我得到了这个:
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Building Started: /Volumes/Macintosh HD/Users/myName/Google Drive/_projects/Coda/lottato_com
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:1011:11)
at Process.ChildProcess._handle.onexit (child_process.js:802:34)
我的mup.json看起来像:
{
"servers": [
{
"host": "server IP",
"username": "root",
"password": "blablabla"
}
],
"setupMongo": false,
"setupNode": true,
"nodeVersion": "0.10.36",
"enableUploadProgressBar": true,
"appName": "myAppName",
"app": "/Volumes/Macintosh HD/Users/myName/Google Drive/_projects/Coda/myAppName",
"env": {
"MONGO_URL": "//<login>:<password>@ds061464.mongolab.com:61111/myAppdb",
"ROOT_URL": "http://myApp.com"
},
"deployCheckWaitTime": 15
}
我几乎不能处理这个问题3天!我尝试部署表单服务器,改变路径,但它仍然没有工作,但还没有工作......
当我试着查看日志时,我得到了这个:
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
[178.63.41.196] tail: cannot open ‘/var/log/upstart/lottato.log’ for reading: No such file or directory
tail: no files remaining
你也试过使用mupx mted,我现在得到了:
Invalid configuration file mup.json: There is no meteor app in the current app path.
new mup.json看起来像:
{
"servers": [
{
"host": "server IP",
"username": "root",
"password": "blablabla",
"env": {}
}
],
"setupMongo": false,
"appName": "appName",
"app": "~/Google Drive/_projects/Coda/appName",
"env": {
"PORT": 80,
"ROOT_URL": "http://appName.com",
"MONGO_URL": "mongodb://login:pass@ds035735.mongolab.com:35735/appName"
},
"deployCheckWaitTime": 15,
"enableUploadProgressBar": true
}
但是我尝试了任何类型的路径,使用〜或完整路径,n总是相同的,只有在字段路径中才会启动安装:
"app": ".",
答案 0 :(得分:0)
增加到0.10.40后,你应该运行“mup setup&#39;然后再进行“mup deploy&#39;。
”在我的项目中,我在项目根目录中有mup.json(与.meteor相同的级别)和
"app": "/Volumes/Macintosh HD/Users/myName/Google Drive/_projects/Coda/myAppName"
看起来像
"app": ".",
不确定这是否重要。
答案 1 :(得分:0)
我只能使用mupx + i解决此问题,并将其从服务器部署到同一服务器上。