我正在尝试使用 mupx 部署我的流星应用程序。一切正常,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 droplet。