Unable to determine 'tsconfig.json' file in workspace config.
See original GitHub issueCurrent Behavior
I just ran nx migrate --run-migrations
(I had just previously run nx migrate latest && npm i && nx migrate --run-migrations
but it was missing a couple of dependencies –
@angular-devkit/schematics
and@schematics/angular/utility/change
I installed those and came back to run migrations.)
However under
Running migration migration-v13
For every many of my projects it said it was skipping them. For example
Skipping migration for project shared-util. Unable to determine 'tsconfig.json' file in workspace config.
Expected Behavior
Migrations works for every project
Steps to Reproduce
I’m guessing this is specific to my workspace so apart from the steps above I don’t think I can create something that will reproduce the error.
Failure Logs
I’m not sure what I could provide more than what I have.
Environment
Node : 14.17.1 OS : darwin x64 npm : 7.20.0
nx : 13.8.7 @nrwl/angular : 13.8.7 @nrwl/cli : 13.8.7 @nrwl/cypress : 13.8.7 @nrwl/detox : undefined @nrwl/devkit : 13.8.7 @nrwl/eslint-plugin-nx : 13.8.7 @nrwl/express : undefined @nrwl/jest : 13.8.7 @nrwl/js : undefined @nrwl/linter : 13.8.7 @nrwl/nest : undefined @nrwl/next : undefined @nrwl/node : undefined @nrwl/nx-cloud : undefined @nrwl/react : undefined @nrwl/react-native : undefined @nrwl/schematics : undefined @nrwl/storybook : 13.8.7 @nrwl/tao : 13.8.7 @nrwl/web : undefined @nrwl/workspace : 13.8.7 typescript : 4.5.5 rxjs : 6.6.7
Community plugins: @angular-material-extensions/password-strength: 8.2.1 @angular/animations: 13.2.6 @angular/cdk: 13.2.6 @angular/common: 13.2.6 @angular/compiler: 13.2.6 @angular/core: 13.2.6 @angular/fire: 7.1.1 @angular/forms: 13.2.6 @angular/material: 13.2.6 @angular/material-luxon-adapter: 13.0.2 @angular/material-moment-adapter: 13.1.1 @angular/platform-browser: 13.2.6 @angular/platform-browser-dynamic: 13.2.6 @angular/router: 13.2.6 @ngrx/component-store: 13.0.2 @ngrx/effects: 13.0.2 @ngrx/entity: 13.0.2 @ngrx/router-store: 13.0.2 @ngrx/store: 13.0.2 @angular-devkit/build-angular: 13.2.6 @angular/compiler-cli: 13.2.6 @angular/language-service: 13.2.6 @ngrx/schematics: 13.0.2 @ngrx/store-devtools: 13.0.2
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:24 (4 by maintainers)
I have just carried out a migration from 14.2 to latest on an nx angular project and am observing the following:
tsconfig.json
file in their respectiveproject.json
filesnx migrate --run-migrations
some of my libraries get updated but some do not and the logger printsUnable to determine 'tsconfig.json' file in workspace config.
I am at a bit of a loss as to how to get confidence that the migrations have fully run as expected. Any guidance would be much appreciated.
@prateek-giddh I can think of two possibilities: 1- one of your projects/libraries doesn’t have the architect properties, even if you don’t need it just add it as empty object
"architect": {},
2- you didn’t specified the builder for your target (the test in your case), for example I use “@nrwl/jest:jest” builder