Iron:router problems with Meteor app in production


#1

My Meteor app works fine locally and also when deployed in debug mode. But when I deploy in production mode non of the routes work and I get the default iron:router blurb about making a route.

Here is a link to the app deployed in production mode

Here is a link to source of the app

When deploying the build to modulus I get these error messages:

Package found: /C/Users/drderp45/WebstormProjects/Rust-Merchant-Exchange/Rust-Merchant-Exchange/.dem
    eteorized/bundle/programs/server/package.json
    Installing node 0.10.36
    Installing npm 3.3.3
    Installing packages from /C/Users/drderp45/WebstormProjects/Rust-Merchant-Exchange/Rust-Merchant-Exc
    hange/.demeteorized/bundle/programs/server/package.json
    WARN: npm-shrinkwrap.json will override dependencies declared in package.json.
    
    > fibers@1.0.5 install /mnt/input/C/Users/drderp45/WebstormProjects/Rust-Merchant-Exchange/Rust-Merc
    hant-Exchange/.demeteorized/bundle/programs/server/node_modules/fibers
    > node ./build.js
    
    make: Entering directory `/mnt/input/C/Users/drderp45/WebstormProjects/Rust-Merchant-Exchange/Rust-M
    erchant-Exchange/.demeteorized/bundle/programs/server/node_modules/fibers/build'
      CXX(target) Release/obj.target/fibers/src/fibers.o
      CXX(target) Release/obj.target/fibers/src/coroutine.o
    ../src/coroutine.cc: In function 'void* find_thread_id_key(void*)':
    ../src/coroutine.cc:64:53: warning: comparison of unsigned expression >= 0 is always true [-Wtype-li
    mits]
      for (pthread_key_t ii = coro_thread_key - 1; ii >= 0; --ii) {
                                                         ^
    ../src/coroutine.cc:90:3: warning: 'thread_id' may be used uninitialized in this function [-Wmaybe-u
    ninitialized]
       if (tls == thread_id) {
       ^
      CC(target) Release/obj.target/fibers/src/libcoro/coro.o
      SOLINK_MODULE(target) Release/obj.target/fibers.node
      COPY Release/fibers.node
    make: Leaving directory `/mnt/input/C/Users/drderp45/WebstormProjects/Rust-Merchant-Exchange/Rust-Me
    rchant-Exchange/.demeteorized/bundle/programs/server/node_modules/fibers/build'
    Installed in `/mnt/input/C/Users/drderp45/WebstormProjects/Rust-Merchant-Exchange/Rust-Merchant-Exch
    ange/.demeteorized/bundle/programs/server/node_modules/fibers/bin/linux-x64-v8-3.14/fibers.node`
    meteor-dev-bundle@0.0.0 /mnt/input/C/Users/drderp45/WebstormProjects/Rust-Merchant-Exchange/Rust-Mer
    chant-Exchange/.demeteorized/bundle/programs/server
    ├── fibers@1.0.5
    ├── semver@4.1.0
    ├─┬ source-map-support@0.2.8
    │ └─┬ source-map@0.1.32
    │   └── amdefine@0.1.0
    └── underscore@1.5.2
    
    npm WARN EPACKAGEJSON meteor-dev-bundle@0.0.0 No description
    npm WARN EPACKAGEJSON meteor-dev-bundle@0.0.0 No repository field.
    npm WARN EPACKAGEJSON meteor-dev-bundle@0.0.0 No license field.
    v0.10.36
    deploy -> v0.10.36
    Uploading completed build.
    Provisioning and deploying bundle to servos...
    
    [V] RME running at rme-51577.onmodulus.net

#2

I currently have the same problem; trying to recreate it. I’ll definitely let you know if I found what’s making it buggy. Have you discovered a solution?