-
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
"Optional chaining cannot appear in left-hand side" Suddenly appeared. #22743
Comments
Not sure what is happening here, although this is likely a rollup/acorn issue. I suggest that you try to add a breakpoint / logs in the |
Closing as I doubt this is causing by the Angular CLI. Please feel free to re-open if you discover otherwise. |
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. |
Which @angular/* package(s) are the source of the bug?
compiler-cli, compiler
Description
Suddenly my app will not build. I know what
optional chaining
is. and I tried looking for things in my code that were handled wrong but the app is large and I lack context to narrow the search down.unfortunately i cannot pin point any code or change that has caused this error. The error is very vague and does not point out where in the code to debug. and may have been introduced when we updated ng and typescript all-though that is not confirmed.
exception found during 'ng build'
anything helps
I am looking for any info that will assist me in debugging this issue. Please help! I will rewrite this question or provide any additional info but at the moment this is all the relevant info I have.
I used vscode regex search to find any
?
before an=
in the project but i did not find any. Are there tips similar to this that would help me narrow the hunt down?Do you think this is syntax error or a version number? Anything helps
The text was updated successfully, but these errors were encountered: