Closed veikkoeeva closed 6 years ago
@SteveSandersonMS thoughts?
I'll add here also due to the referenced issue about Aurelia that @jods4 writes in http://aurelia.io/
We released aurelia-webpack-plugin@3.0.0-rc.1 which is compatible with (and requires) Webpack 4. The major version bump is to prevent an automatic upgrade from 2.0.0-rc.5, which you should continue to use if you're still on Webpack 3.
I'll leave here for the benefit of search engine queries. :)
I opened this originally in https://github.com/aspnet/JavaScriptServices/issues/1499, but I'm not sure which repository is the right one. The issue replicated:
Functional impact
ASP.NET Core 2.0 application fails to start with the following error messages printed to the console:
Minimal repro steps
Create ASP.NET Core 2.0 application "normally" and do
Install-Package Microsoft.AspNetCore.SpaServices -Version 2.0.2
and whenyarn add webpack@next webpack-cli --dev
ornpm install webpack@next webpack-cli --save-dev
has been done to update to WebPack 4.0.Expected result
One could run the system without taking specific extra steps. :)
Please provide quickly an update Nuget package as it appears (hearsay) many are transitioning to WebPack 4.0 as it appears to be stable enough and it seems like it's encouraged to be used to weed out bugs.
Actual result
The applications fails to start in
as described in Functional impact. Further, the exception trace (in this case Aurelia) is as follows
not tested, but could be the same for other SPA templates too.
Further technical details
Windows 10, VS 2017 15.5.5, latest WebPack (as described) and latest Yarn all packages either upgraded or not. The WebPack 4.0 Announcement.