1

尝试在 Meteor Up 的帮助下将我的 meteorJS 应用程序部署到 Ubuntu 14.04 下的数字海洋水滴

mup init是成功的,但是当我部署时,我有:

 -----------------------------------STDERR-----------------------------------
    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
    js-bson: Failed to load c++ bson extension, using pure JS version
      % 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
    Latest deployment failed! Reverted back to the previous version.
    -----------------------------------STDOUT-----------------------------------
    /ansi-styles

    chalk@0.5.1 node_modules/chalk

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

    strip-ansi@0.3.0 node_modules/strip-ansi

    has-ansi@0.1.0 node_modules/has-ansi

    supports-color@0.2.0 node_modules/supports-color

    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

    underscore@1.5.2 node_modules/underscore

    meteor-promise@0.5.0 node_modules/meteor-promise

    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)
    { [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
    connected
    admin stop/waiting
    admin start/running, process 14399
    Waiting for 30 seconds while app is booting up
    Checking is app booted or not?
    admin stop/waiting
    admin start/running, process 14542
    ----------------------------------------------------------------------------

配置:

 node -v
 v0.10.40

npm list bson
└── bson@0.4.20

bson = require('../build/Release/bson'); 我已经看到通过更改为 解决了很多问题 bson = require('../browser_build/bson');

但是我在哪里可以找到我的 node_module ?我的应用程序根目录有一个目录,但在这个目录中我什至没有,/build所以browser_build我不能尝试这个修复......

4

0 回答 0