Current Behavior
> apicsng@0.0.0 postinstall
> node ./decorate-angular-cli.js
Angular CLI could not be decorated to enable computation caching. Please ensure @nx/workspace is installed.
This message occurs after updating to latest NX (22.7.4) with nx migrate latest and running npm install
Expected Behavior
After npm install we should see:
Angular CLI has been decorated to enable computation caching.
GitHub Repo
No response
Steps to Reproduce
- create a nx project with angular
- nx migrate latest
- npm install
Nx Report
Node : 20.19.5
OS : win32-x64
Native Target : x86_64-windows
npm : 10.8.2
daemon : Available
nx (global) : 22.7.4
nx : 22.7.4
@nx/js : 22.7.4
@nx/eslint : 22.7.4
@nx/workspace : 22.7.4
@nx/angular : 22.7.4
@nx/jest : 22.7.4
@nx/cypress : 22.7.4
@nx/devkit : 22.7.4
@nx/eslint-plugin : 22.7.4
@nx/module-federation : 22.7.4
@nx/rspack : 22.7.4
@nx/webpack : 22.7.4
typescript : 5.9.3
---------------------------------------
Community plugins:
---------------------------------------
Cache Usage: 0.00 B / 47.60 GB
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
Previous versions of NX (e.g, 20.5.1) show a deprecation warning:
Decoration of the Angular CLI is deprecated and will be removed in a future version
Maybe it is normal that there is no decoration anymore in more recent versions of Nx? In that case the message described in the issue above is confusing.
Current Behavior
This message occurs after updating to latest NX (22.7.4) with
nx migrate latestand runningnpm installExpected Behavior
After
npm installwe should see:Angular CLI has been decorated to enable computation caching.GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
Previous versions of NX (e.g, 20.5.1) show a deprecation warning:
Decoration of the Angular CLI is deprecated and will be removed in a future versionMaybe it is normal that there is no decoration anymore in more recent versions of Nx? In that case the message described in the issue above is confusing.