-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
🐞 Bug report
Command (mark with an x)
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- extract-i18n
- run
- config
- help
- version
- doc
Is this a regression?
Yes, the previous version in which this bug was not present was: 12.1.0Description
I generate a new Nx workspace (12.7.2) with Angular (12.1.0).
After updating ng from 12.1.0 to 12.2.2 I'm get the error Error: (0 , _identifier.getUndoPath) is not a function after run ng server or ng build.
Also, I removed execute ng from nx and delete "postinstall": "node ./decorate-angular-cli.js && ngcc --properties es2015 browser module main" from package.json.
🔬 Minimal Reproduction
https://github.com/AwesomeObserver/ng-styles-bug
🔥 Exception or Error
// with ng server
styles.css - Error: (0 , _identifier.getUndoPath) is not a function
// with ng build
styles.c331d6dc3ee8f876a7f8.css - Error: (0 , _identifier.getUndoPath) is not a function
🌍 Your Environment
Angular CLI: 12.2.2
Node: 14.15.0
Package Manager: npm 6.14.8
OS: win32 x64
Angular: 12.2.2
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1202.2
@angular-devkit/build-angular 12.2.2
@angular-devkit/core 12.1.4
@angular-devkit/schematics 12.1.4
@schematics/angular 12.1.4
rxjs 6.6.7
typescript 4.3.5
Anything else relevant?
Metadata
Metadata
Assignees
Labels
No labels