-
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
Updating to angular 15 breaks build with: Error: Module not found #24295
Comments
It looks like your browser build tries to bundle in some node.js specific stuff.
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as resolved.
This comment was marked as resolved.
I managed to replicate this even when using the version 14. It looks like it's caused by |
In the case the import declerastion has an unused import we did not properly elide type references when `emitDecoratorMetadata` is disabled. Closes angular#24295
In the case the import declaration has an unused import we did not properly elide type references when `emitDecoratorMetadata` is disabled. Closes angular#24295
In the case the import declaration has an unused import we did not properly elide type references when `emitDecoratorMetadata` is disabled. Closes #24295
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. |
In the case the import declaration has an unused import we did not properly elide type references when `emitDecoratorMetadata` is disabled. Closes angular#24295
🐞 Bug report
What modules are related to this issue?
Is this a regression?
yes works in Angular 14, breaks in Angular 15
Description
I start migrating my Angular App from v14 to angular v15. My apps has full server side rendering using this package.
Once I completed the update to angular 15 and run
npm start
, it breaks with the following errors:I was able to fix the error only by removing
@nguniversal/express-engine
package and commenting relevant usage code.After the some debugging I was able to find the reproduction steps:
🔬 Minimal Reproduction
By commenting the line
@Optional() @Inject(REQUEST) private request: Request,
it fires the bug. By uncommenting the build works correctly.🔥 Exception or Error
🌍 Your Environment
The text was updated successfully, but these errors were encountered: