Closed as not planned
Description
Current Behavior
NX Directory
import 'C:\Users\samalra\repos\test\test-nx-ng-v20-2\node_modules@angular-devkit\build-angular\src\builders\browser' is not supported resolving ES modules imported from \test-nx-ng-v20-2\node_modules@angular-devkit\architect\node\node-modules-architect-host.js
Did you mean to import "/test-nx-ng-v20-2/node_modules/@angular-devkit/build-angular/src/builders/browser/index.js"?
Pass --verbose to see the stacktrace.
Expected Behavior
should build app successfully
GitHub Repo
No response
Steps to Reproduce
- in nx app (version 21)
- generate angular app (version 20)
- try to build the generated angular app,
- it fails with this error
NX Directory
import 'C:\Users\samalra\repos\test\test-nx-ng-v20-2\node_modules@angular-devkit\build-angular\src\builders\browser' is not supported resolving ES modules imported from \test-nx-ng-v20-2\node_modules@angular-devkit\architect\node\node-modules-architect-host.js
Did you mean to import "/test-nx-ng-v20-2/node_modules/@angular-devkit/build-angular/src/builders/browser/index.js"?
Pass --verbose to see the stacktrace.
Nx Report
NX Directory
import 'C:\Users\samalra\repos\test\test-nx-ng-v20-2\node_modules\@angular-devkit\build-angular\src\builders\browser' is not supported resolving ES modules imported from \test-nx-ng-v20-2\node_modules\@angular-devkit\architect\node\node-modules-architect-host.js
Did you mean to import "/test-nx-ng-v20-2/node_modules/@angular-devkit/build-angular/src/builders/browser/index.js"?
Pass --verbose to see the stacktrace.
Failure Logs
Package Manager Version
No response
Operating System
- macOS
- Linux
- Windows
- Other (Please specify)
Additional Information
No response