2

我正在尝试使用 METEOR UPMUP将我的 Meteor 应用程序部署到 AWS AMAZON EC2。

我在 Meteor 应用程序中使用了不同的 NPM 模块和 METEOR 包。这一切都在我的电脑上完美运行。

当我这样做时,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?
    ----------------------------------------------------------------------------

这是什么原因造成的?我该如何解决这个问题?

谢谢……这是我第一次使用 AWS EC2……

4

1 回答 1

2

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

"nodeVersion": "0.10.40",
于 2015-09-24T15:29:41.727 回答