Like the title says, I'm getting an error building my angular app after using the ng cli to upgrade from angular 11.2 to 12.2:
styles.css - Error: (0 , _identifier.getUndoPath) is not a function
I don't have a styles.css file (using styles.scss), nor do I see anywhere that file is referenced. Any idea what the issue could be?
@angular-devkit/[email protected] seems to be the issue. Downgrading it to 12.1.1 fixes the issue for me (while the Angular team fixes the real thing)
For me deleting package.lock & node_modules/* fixed the issue.
Source: https://github.com/angular/angular-cli/issues/21567 | https://github.com/angular/angular-cli/issues/21628
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With