Iron:router problems with Meteor app in production


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
    Installing node 0.10.36
    Installing npm 3.3.3
    Installing packages from /C/Users/drderp45/WebstormProjects/Rust-Merchant-Exchange/Rust-Merchant-Exc
    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
    > node ./build.js
    make: Entering directory `/mnt/input/C/Users/drderp45/WebstormProjects/Rust-Merchant-Exchange/Rust-M
      CXX(target) Release/
      CXX(target) Release/
    ../src/ In function 'void* find_thread_id_key(void*)':
    ../src/ warning: comparison of unsigned expression >= 0 is always true [-Wtype-li
      for (pthread_key_t ii = coro_thread_key - 1; ii >= 0; --ii) {
    ../src/ warning: 'thread_id' may be used uninitialized in this function [-Wmaybe-u
       if (tls == thread_id) {
      CC(target) Release/
      SOLINK_MODULE(target) Release/
      COPY Release/fibers.node
    make: Leaving directory `/mnt/input/C/Users/drderp45/WebstormProjects/Rust-Merchant-Exchange/Rust-Me
    Installed in `/mnt/input/C/Users/drderp45/WebstormProjects/Rust-Merchant-Exchange/Rust-Merchant-Exch
    meteor-dev-bundle@0.0.0 /mnt/input/C/Users/drderp45/WebstormProjects/Rust-Merchant-Exchange/Rust-Mer
    ├── 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.
    deploy -> v0.10.36
    Uploading completed build.
    Provisioning and deploying bundle to servos...
    [V] RME running at


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?