Closed jauniuse closed 6 years ago
To clarify: are you using aurelia-bootstrapper-webpack
(you shouldn't)?
We'll need more information (e.g. a repro) to do anything with this issue. Basic scenario works for most people.
@jods4, no, I'm using aurelia-bootstrapper
. I will get back with some example repo.
It turns out a mistake in my webpack.config.js
was causing error.
Before:
entry: {
main: ['aurelia-bootstrapper', ...],
vendors: ['aurelia-bootstrapper', ...]
}
Removing aurelia-bootstrapper
from vendors fixed the issue
I'm submitting a bug report
Please tell us about your environment:
Operating System: Windows 10
Node Version: 6.11.1
NPM Version: 3.10.10
JSPM OR Webpack AND Version webpack 4.4.1
Browser: all
Language: TypeScript 2.6.1
Current behavior:
aurelia-bootstrapper
logs error in console:No PLATFORM.Loader is defined and there is neither a System API (ES6) or a Require API (AMD) globally available to load your app.
when using aurelia-webpack plugin. Application works fine, it's just this error. This issue was brought up in https://github.com/aurelia/bootstrapper-webpack/issues/16