EDIT (added some information about my environment)
- This is my second hybrid app, but first that I'm using a module loader.
- I'm targeting Android 4,5,6 and iOS 7,8,9.
- I'm developing on both windows 10 and ubuntu linux 15.10 (will use mac to publish to iOS store).
- Using Cordova CLI v6.0.0.
I'm trying to use SystemJS to load my dependencies in my cordova app, however for some reason SystemJS is not able to resolve the paths correctly from my config.js
file. It keeps resolving to something like
file:///android_asset/www/jspm_packages/npm/module@1.0.0.js
instead of
file:///android_asset/www/jspm_packages/npm/module@1.0.0/module.js
it works in a browser, just not when installed on the device. Anyone have any experience with this?
EDIT
I have a sample to reproduce the issue with precise steps on github - sample - it is a simple hello world using aurelia and systemjs.