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-compiler: Cannot read properties of undefined (reading 'startName') #52540
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 This might be related to your directory structure so its really important to get an accurate repro to diagnose this. |
@alan-agius4 i can confirm that this exists on rc2, rc1 and rc2. |
@alan-agius4 i was doing a repro with @for bug, but this error encountered: https://stackblitz.com/edit/angular-at-rb12vs?file=src%2Fmain.ts |
That appears to be a defect in Web Containers (used inside StackBlitz).
EDIT: This comment was related to the previous comment's issue (#52540) and not the issue reported originally. |
I receive same error on my Windows PC. Will try to reproduce. |
I managed to reproduce what caused this behavior. Take a look at this: control flow inside i18n block leads to never-ending build with esbuild-based builders on Windows system, while with browser builder it throws this error:
|
@alan-agius4 that happened after automatic migration from *ngIf to control flow. This is the code, which was working before:
|
Transfer to the FW repo since this is not caused by the CLI. |
But with esbuild-builders there is no visible errors on Windows PC, it just shows “Building…” text in console indefinitely. On other hand, webpack gives trace to what caused this |
That solved the solved in the latest RC |
I still see the error with version v17.0.0. I don't see any new npm version than v17.0.0. Should I use the interim version v17.0.2? |
Adds support for generating i18n instructions inside of blocks. Fixes angular#52540. Fixes angular#52767.
Adds support for generating i18n instructions inside of blocks. Fixes angular#52540. Fixes angular#52767.
Adds support for generating i18n instructions inside of blocks. Fixes angular#52540. Fixes angular#52767.
Adds support for generating i18n instructions inside of blocks. Fixes angular#52540. Fixes angular#52767.
Adds support for generating i18n instructions inside of blocks. Fixes angular#52540. Fixes angular#52767. PR Close angular#52958
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. |
Adds support for generating i18n instructions inside of blocks. Fixes angular#52540. Fixes angular#52767. PR Close angular#52958
Adds support for generating i18n instructions inside of blocks. Fixes angular#52540. Fixes angular#52767. PR Close angular#52958
Adds support for generating i18n instructions inside of blocks. Fixes angular#52540. Fixes angular#52767. PR Close angular#52958
Command
build, serve
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Hi.
After updating to rc3 my project is not going to compile/build. Also my build process in dev server is never-ending and doesn't give me error.
Also i see these errors, which are not true, because they are persist in my tsconfig and everything seems to be building on rc2:
I ran schematics to migrate to new control flow, maybe this is related.
Still need to review 400 components and will give you repro.
Minimal Reproduction
ng serve / ng build
Exception or Error
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: