I’m trying to use aurelia with webpack but in my browser, I’m getting the following error:
Uncaught (in promise) No PLATFORM.Loader is defined and there is neither a System API (ES6) or a Require API (AMD) globally available to load your app.
In my package.json I’m using
"aurelia-webpack-plugin": “^2.0.0-rc.5”,
“aurelia-bootstrapper”: “2.1.1”
Are there any known workarounds for this issue? This will happen if I use bluebird or not and seems to stem from the aurelia boostrapper.
Any tips of suggestion would be greatly appreciated!
@austinh thank you, this solved the original error that I was seeing!
I’m still working through why I can’t get the app become attached if I used <router-view></router-view>. Definitely very close now though, thank you again.
@klinki I actually had to do a couple of things in my application:
Simplify aurelia dependencies as much as possible . For example, I only have these in my dependencies section of package.json: "aurelia-bootstrapper": "2.2.0", "aurelia-configuration": "2.0.0", "aurelia-framework": "1.1.5", "aurelia-logging-console": "1.0.0", "aurelia-router": "1.5.0",