mantrajs / mantra-cli

Command line interface for building Meteor apps with Mantra
MIT License
135 stars 34 forks source link

Error on android device #83

Closed ThomsCass closed 8 years ago

ThomsCass commented 8 years ago

Hi,

I'm using mantra with meteor 1.3.2.4

When I start my app on the web everything works perfectly.

When I try on android

meteor run android-device

Here are the errors I got :

I20160629-12:09:31.814(2)? 06-29 12:09:29.889  8610  8610 I chromium: [INFO:library_loader_hooks.cc(143)] Chromium logging enabled: level = 0, default verbosity = 0
I20160629-12:09:31.875(2)? 06-29 12:09:30.439  8610  8610 I MeteorWebApp: Serving asset bundle with version: ebcde21c540b050eb6143632abb9ff4a4f6bfe16
I20160629-12:09:33.308(2)? 06-29 12:09:32.689  8610  8610 I chromium: [INFO:CONSOLE(34308)] "Uncaught TypeError: Cannot read property 'appendChild' of null", source: http://localhost:12032/packages/modules.js?hash=2df3d877e0990edb345e3ad0c0bc55deb2c7b136 (34308)
I20160629-12:09:33.505(2)? 06-29 12:09:32.879  8610  8610 I chromium: [INFO:CONSOLE(519)] "There is no route for the path:", source: http://localhost:12032/packages/kadira_flow-router.js?hash=09ea12875d3801955ee70797bf8e4a70feebc570 (519)

I looked in all my routes.jsx files and saw no routes define with nothing..

Here is my package.json

"dependencies": {
    "mantra-core": "^1.2.0",
    "moment": "^2.13.0",
    "react": "^15.0.0",
    "react-dom": "^15.0.0",
    "react-infinite-calendar": "^1.1.14",
    "react-komposer": "^1.3.0",
    "react-mounter": "^1.0.0",
    "react-simple-di": "^1.0.1"
  }

Do you guys have an idea on what's is going on ?

Thanks

ThomsCass commented 8 years ago

I had no use of routing in one of my module. So I didn't have the routes.jsx. Just adding a routes.jsx empty file did the trick.