验证部署失败:"语法错误:意外"而Mup建立NGINX?

时间:2017-10-17 15:07:20

标签: javascript node.js nginx meteor mup

尝试通过mup构建一个流星应用程序到在Nginx上运行的digitalOceans droplet。

在此过程中,我总是在部署验证上堆叠。

nodejs&节点版本:v4.8.4

npm版本:2.15.11

错误:

x Verifying Deployment: FAILED

    -----------------------------------STDERR-----------------------------------
    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
    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

    /bundle/bundle/programs/server/mini-files.js:82
    const unicodeNormalizePath = (path) => {
                                         ^
    SyntaxError: Unexpected token >
        at Module._compile (module.js:439:25)
        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)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)

    => Redeploying previous version of the app

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

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

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

这是日志:https://pastebin.com/zs8FG86V

谢谢!

1 个答案:

答案 0 :(得分:1)

通过更改泊坞窗图片,修复mup.js文件中的'kadirahq/meteord''abernix/meteord:base'