Translation to angular.json
Does Not Replace Variables e.g. {projectRoot}
#29052
Labels
angular.json
Does Not Replace Variables e.g. {projectRoot}
#29052
Current Behavior
When migrating Angular applications, most migrations fail because they could not locate project tsconfigs.
I hooked into the internal
getProjectTsConfigPaths.js
in@angular/core/schematics/bundles/project_tsconfig_paths-<hash>.js
and logged the accepted workspace configuration to the console, observing that all the{projectRoot}
and{projectName}
variables are left as-is, without interpolation, causing tsconfigs not found:Original
project.json
:Translated
angular.json
:Expected Behavior
When translating to
angular.json
, the variables should be replaced with values.GitHub Repo
No response
Steps to Reproduce
nx migrate @angular/core
npm install
nx migrate --run-migrations
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: