-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error during npm test after updating Angular #20103
Comments
The issue appears to be caused by The mentioned options are only to be used when building a library. In version 11.2, we introduced a new Webpack plugin and unlike previously now we pass these options to the TS compiler. |
…onMap When building an application or testing a library. TypeScript declarations are not needed. Closes #20103
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 bug report
Affected Package
I believe the issue was introduced by one of the updated packages by
ng update @angular/core @angular/cli
.Is this a regression?
Yes, the issue was not present in version 11.0.0
Description
After updating the Angular dependencies of the library
angular-archwizard
from11.0.x
to latest by executingng update @angular/core @angular/cli
,npm test
fails with the following error message:🔬 Minimal Reproduction
angular-archwizard
from https://github.com/madoar/angular-archwizardnpm install
)ng update @angular/core @angular/cli
)npm test
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
For the tests
Firefox
has been used. I didn't test whether this issue also occurs with a different browser.The text was updated successfully, but these errors were encountered: