Fixed it by opting out of Ivy as per documentation.
Change tsconfig.app.json to opt out of Ivy.
"enableIvy": false
Fixed it by opting out of Ivy as per documentation.
Change tsconfig.app.json to opt out of Ivy.
"enableIvy": false
For further actions, you may consider blocking this person and/or reporting abuse
Asjad Ahmed Khan -
Oussama Mater -
Stephan LΓΌddemann -
Andrew Kang-G -
Top comments (2)
For anyone who is landing to this for the same error.
The error also happens when imports are wrong. I was using V-11 Angular.
stackoverflow.com/a/64118560/6166406
what worked for me(rom ang 11 to ang 15 migration): modify angular.json as
configurations: {
...
aot: false,
buildOptimizer: false,
...
}