我正在尝试使用mupx部署我的meteor应用程序。一切都与mupx setup
和mupx deploy
一起使用,直到它尝试验证,然后我收到此错误:
[wyno.io] x Verifying deployment: FAILED
-----------------------------------STDERR-----------------------------------
unction._.each._.forEach (/bundle/bundle/programs/server/node_modules/underscore/underscore.js:79:11)
at /bundle/bundle/programs/server/boot.js:137:5
npm WARN package.json meteor-dev-bundle@0.0.0 No description
npm WARN package.json meteor-dev-bundle@0.0.0 No repository field.
npm WARN package.json meteor-dev-bundle@0.0.0 No README data
=> Starting meteor app on port:80
/bundle/bundle/programs/server/boot.js:283
}).run();
^
Error: $ROOT_URL, if specified, must be an URL
at Error (<anonymous>)
at Meteor.absoluteUrl.options (packages/meteor/url_server.js:8:1)
at /bundle/bundle/programs/server/packages/meteor.js:1130:4
at /bundle/bundle/programs/server/packages/meteor.js:1272:3
at /bundle/bundle/programs/server/boot.js:242:10
at Array.forEach (native)
at Function._.each._.forEach (/bundle/bundle/programs/server/node_modules/underscore/underscore.js:79:11)
at /bundle/bundle/programs/server/boot.js:137:5
=> Redeploying previous version of the app
-----------------------------------STDOUT-----------------------------------
To see more logs type 'mup logs --tail=50'
----------------------------------------------------------------------------
当我运行mupx logs
时,我收到错误
[wyno.io] npm WARN package.json meteor-dev-bundle@0.0.0 No description
[wyno.io] npm WARN package.json meteor-dev-bundle@0.0.0 No repository field.
npm WARN package.json meteor-dev-bundle@0.0.0 No README data
[wyno.io] => Starting meteor app on port:80
[wyno.io]
/bundle/bundle/programs/server/boot.js:283
[wyno.io] }).run();
^
[wyno.io] Error: $ROOT_URL, if specified, must be an URL
at Error (<anonymous>)
[wyno.io] at Meteor.absoluteUrl.options (packages/meteor/url_server.js:8:1)
at /bundle/bundle/programs/server/packages/meteor.js:1130:4
at /bundle/bundle/programs/server/packages/meteor.js:1272:3
at /bundle/bundle/programs/server/boot.js:242:10
at Array.forEach (native)
[wyno.io] at Function._.each._.forEach (/bundle/bundle/programs/server/node_modules/underscore/underscore.js:79:11)
at /bundle/bundle/programs/server/boot.js:137:5
我对服务器配置非常糟糕,除了未能在线搜索答案外,不知道从哪里开始。我从Digital Ocean运行每月20美元的Ubuntu 14.04液滴。