简体   繁体   English

使用 MUP 错误将 Meteor 应用程序部署到 AMAZON EC2

[英]Deploy Meteor App To AMAZON EC2 using MUP Error

I'm trying to use METEOR UP MUP to deploy my Meteor App to AWS AMAZON EC2.我正在尝试使用 METEOR UP MUP将我的 Meteor 应用程序部署到 AWS AMAZON EC2。

I use different NPM Modules as well as METEOR PACKAGES in my Meteor App.我在 Meteor 应用程序中使用不同的 NPM 模块以及 METEOR 包。 It all works perfectly on my computer.这一切都在我的电脑上完美运行。

When I do a mup deploy I get the following errors:当我进行mup deploy ,出现以下错误:

    [52.89.165.48] - Uploading bundle
[52.89.165.48] - Uploading bundle: SUCCESS
[52.89.165.48] - Setting up Environment Variables
[52.89.165.48] - Setting up Environment Variables: SUCCESS
[52.89.165.48] - Invoking deployment process
[52.89.165.48] x Invoking deployment process: FAILED

    -----------------------------------STDERR-----------------------------------
    sseph.h:4:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
     #pragma warning (disable : 4251)
     ^
    In file included from ../src/house.cc:1:0:
    ../src/swisseph.h:4:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
     #pragma warning (disable : 4251)
     ^
    In file included from ../src/eclipse.cc:1:0:
    ../src/swisseph.h:4:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
     #pragma warning (disable : 4251)
     ^
    gyp info ok 
    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
    stop: Unknown instance: 
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 80: Connection refused
    App did not pick up! Please check app logs.
    -----------------------------------STDOUT-----------------------------------
    > node ./build.js

    `linux-x64-v8-3.14` exists; testing
    Binary is fine; exiting
    ansi-regex@0.2.1 node_modules/ansi-regex

    ansi-styles@1.1.0 node_modules/ansi-styles

    escape-string-regexp@1.0.3 node_modules/escape-string-regexp

    chalk@0.5.1 node_modules/chalk

    strip-ansi@0.3.0 node_modules/strip-ansi

    supports-color@0.2.0 node_modules/supports-color

    has-ansi@0.1.0 node_modules/has-ansi

    eachline@2.3.3 node_modules/eachline

    type-of@2.0.1 node_modules/type-of

    amdefine@1.0.0 node_modules/amdefine

    asap@2.0.3 node_modules/asap

    meteor-promise@0.4.8 node_modules/meteor-promise

    underscore@1.5.2 node_modules/underscore

    promise@7.0.4 node_modules/promise

    source-map-support@0.3.2 node_modules/source-map-support

    semver@4.1.0 node_modules/semver

    source-map@0.1.32 node_modules/source-map

    fibers@1.0.5 node_modules/fibers
    Waiting for MongoDB to initialize. (5 minutes)
    connected
    AppName start/running, process 12612
    Waiting for 15 seconds while app is booting up
    Checking is app booted or not?
    ----------------------------------------------------------------------------

What's causing this?这是什么原因造成的? How do I solve this?我该如何解决这个问题?

Thank you....it's my first time using AWS EC2...谢谢....这是我第一次使用 AWS EC2...

确保您的mup.json nodeVersion与最新 Meteor 版本 (1.2) 所需的 Node 版本 (0.10.40) 保持同步。

"nodeVersion": "0.10.40",

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM