首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Meteor-Up部署失败

Meteor-Up部署失败
EN

Stack Overflow用户
提问于 2016-10-20 07:50:39
回答 1查看 237关注 0票数 1

Meteor-up在验证阶段部署失败。这是我第一次部署。我正在使用mup和版本meteor 1.4。请比平时更具描述性。错误如下:

代码语言:javascript
复制
[XXX.XX.XX.XX] x Verifying Deployment: FAILED

-----------------------------------STDERR-----------------------------------

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
npm WARN cannot run in wd meteor-dev-bundle@0.0.0 node npm-rebuild.js (wd=/bundle/bundle/programs/server)

=> Starting meteor app on port:80
assert.js:93
  throw new assert.AssertionError({
        ^
AssertionError: "undefined" === "function"

    at wrapPathFunction (/bundle/bundle/programs/server/mini-files.js:77:10)    
    at Object.<anonymous> (/bundle/bundle/programs/server/mini-files.js:108:24)    
    at Module._compile (module.js:456:26)    
    at Object.Module._extensions..js (module.js:474:10)    
    at Module.load (module.js:356:32)    
    at Function.Module._load (module.js:312:12)    
    at Module.require (module.js:364:17)    
    at require (module.js:380:17)    
    at Object.<anonymous> (/bundle/bundle/programs/server/boot.js:9:13)    
    at Module._compile (module.js:456:26)    
=> Redeploying previous version of the app

-----------------------------------STDOUT-----------------------------------

To see more logs type 'mup logs --tail=50'

----------------------------------------------------------------------------

我也尝试过mupx,但它甚至不能启动。mupx setup命令生成以下错误:

代码语言:javascript
复制
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Configuration file : mup.json
Settings file      : settings.json

/usr/local/lib/node_modules/mupx/node_modules/cjson/index.js:226
        throw err;
        ^

SyntaxError: Unexpected token 'e' at 14:8
      "env": {}
       ^
File: "/Users/gitMonk/Desktop/projects/mup-ifix-deploy/mup.json"
    at SyntaxError (native)
    at Object.parseJSON (/usr/local/lib/node_modules/mupx/node_modules/cjson/node_modules/json-parse-helpfulerror/node_modules/jju/lib/parse.js:745:13)
    at Object.parse (/usr/local/lib/node_modules/mupx/node_modules/cjson/node_modules/json-parse-helpfulerror/index.js:10:13)
    at Object.exports.parse (/usr/local/lib/node_modules/mupx/node_modules/cjson/index.js:90:28)
    at Object.load (/usr/local/lib/node_modules/mupx/node_modules/cjson/index.js:223:24)
    at Object.exports.read (/usr/local/lib/node_modules/mupx/lib/config.js:15:25)
    at Object.<anonymous> (/usr/local/lib/node_modules/mupx/bin/mup:32:23)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)

非常感谢

EN

回答 1

Stack Overflow用户

发布于 2016-10-20 23:22:53

这是一个带有当前软件版本的known issue

按照this comment中的说明操作,现在应该可以解决此问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/40143323

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档