I have following package.json configuration
\"dependencies\": {
\"@angular/common\": \"2.2.1\",
\"@angular/compiler\": \"2.2.1\",
\"@angular/core\": \"2.2.1\",
\
had the same issue starting today.
The solution I found was to change the angular-cli dependency in package.json file to "1.0.0-beta.19-3" and reinstall the npm packages.
{
"devDependencies": {
...
"angular-cli": "1.0.0-beta.19-3",
...
}
}
Hope this helps!
mkishorem is right.
I also got same error and fix with adding override code at package.json like below
"devDependencies": {
"extract-text-webpack-plugin": "2.0.0-beta.5"
}
no need to downgrading to angular-cli all.
Update to @angular/* 2.3.1 version
Thanks to Florinache!
Downgrading to angular-cli "1.0.0-beta.19-3" works for me. I had the same issue from today on in all my projects...
{
"devDependencies": {
...
"angular-cli": "1.0.0-beta.19-3",
...
}
}
I have got the same issue as you. As a temporary solution I changed to 'ng build --dev'. Using this command the loader uses webpack-build-development.js instead of webpack-build-production.js and gets 'css-loader?sourcemap' instead of 'css-loader?sourcemap&minimize'.
It looks like extract-text-webpack-plugin is upgraded to RC, Try overriding the extract-text-webpack-plugin version to "2.0.0-beta.4" in your package.json.