-
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
@angular-devkit/build-angular 0.802.0-next.1 throws ERROR NullInjectorError: StaticInjectorError #15145
Comments
This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please? You can read here why this is needed. A good way to make a minimal repro is to create a new app via It’s also worth mentioning in the above list of packages |
@alan-agius4 thank you for quick reply. I will share the repo soon. I have updated the issue and have updated the |
It might not be the exact same issue, but I end up with a similar stacktrace with this simple reproduction using flex-layout. Please notice it only fails when Reproduction repohttps://github.com/adrogon/repro-build-optimizer 4 branches: 3 successes, 1 failure✔️ ✔️ ✔️ ❌ Stacktrace
Environment
Thanks for reading 😏 |
Hello @alan-agius4, is this repro enough for you, or do you need anything else? |
Shouldn't this issue posted to @angular/flex-layout repo instead? |
…h are inside of methods. With this change we stop recursive lookup when the current node is not a BlockLike. This change should also, improve the BO overall speed as it's reduces a lot of recursive lookups. Fixes #15145
Ofa 76d40e4 |
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
Command
Is this a regression?
It was working fine in
Yes, the previous version in which this bug was not present was:"@angular-devkit/build-angular": "0.802.0-next.0",
and is broken in"@angular-devkit/build-angular": "0.802.0-next.1",
."@angular-devkit/build-angular": "0.802.0-next.0"
Description
After upgrading my application from
"@angular-devkit/build-angular": "0.802.0-next.0",
to"@angular-devkit/build-angular": "0.802.0-next.1",
. The application is throwing below error:With sourcemaps enabled, it points to below code:
🔥 Exception or Error
🌍 Your Environment
The text was updated successfully, but these errors were encountered: