Closed mdurling closed 7 years ago
You should not be using version ^2.0.0 of aurelia-loader-webpack (see skeletons). Please use latest ^1.0.0. It's a part of the new Webpack stack that isn't fully released yet.
Thanks! Our project was based off of the original Aurelia typescript webpack skeleton. When I ran npm outdated
which we do periodically, it showed that a new version of aurelia-loader-webpack
was available so we tried it out. I returned it to the previous version at your suggestion and it works. It also works if I remove aurelia-loader-webpack
from our package.json
file altogether since it's loaded by aurelia-bootstrapper-webpack
anyway. If this is generally the case, it might make sense to remove it from the skeleton's package.json file as well. As always, thanks for your work and assistance!
Sure, no problem. I recommend checking the changelogs when migrating between releases, especially major ones, since breaking changes, like this one, do occur. You can see what's coming soon with the new stack here: https://github.com/aurelia/skeleton-navigation/pull/714.
I'm submitting a bug report We are trying to upgrade to TypeScript 2.1.4 and the latest version of Webpack. The project builds, but an exception is being thrown while trying to load Aurelia.
Please tell us about your environment:
Operating System: Windows 10
Node Version: 6.9.1
NPM Version: 3.810.8
JSPM OR Webpack AND Version webpack 2.1.0-beta.28
Browser: all
Language: TypeScript 2.1.4
Current behavior: The following exception occurs when bootstrapping Aurelia with latest TypeScript/WebPack
Here are our project's installed npm packages: