Error "Cannot find tsconfig.base.json" when running migration `update-invalid-import-paths` (v12.9.0)
See original GitHub issueCurrent Behavior
When running nx migrate --run-migrations=migrations.json
there is an error while running migration update-invalid-import-paths
: Cannot find tsconfig.base.json
.
This occurred after upgrading from 12.8.0 to 12.9.0. Note that there’s a tsconfig.json
in the root that was migrated from tsconfig.base.json
by Nx previously AFAICT.
Expected Behavior
Upgrade to 12.9.0.
Steps to Reproduce
npx nx migrate latest
npm install
npx nx migrate --run-migrations=migrations.json
Failure Logs
NX Running migrations from ‘migrations.json’
Running migration update-invalid-import-paths Cannot find tsconfig.base.json Command failed: /var/folders/6b/jjddfddn7rddfcq5mw04qz8c0000gn/T/tmp-13499-ux2vOCnkzWHO/node_modules/.bin/tao migrate --run-migrations=migrations.json
Environment
Node : 12.21.0 OS : darwin x64 npm : 6.14.11
nx : Not Found @nrwl/angular : 12.9.0 @nrwl/cli : 12.8.0 @nrwl/cypress : 12.9.0 @nrwl/devkit : 12.7.2 @nrwl/eslint-plugin-nx : 12.9.0 @nrwl/express : 12.9.0 @nrwl/jest : 12.9.0 @nrwl/linter : 12.9.0 @nrwl/nest : Not Found @nrwl/next : Not Found @nrwl/node : 12.9.0 @nrwl/nx-cloud : Not Found @nrwl/react : Not Found @nrwl/schematics : Not Found @nrwl/tao : 12.7.2 @nrwl/web : Not Found @nrwl/workspace : 12.9.0 @nrwl/storybook : 12.9.0 @nrwl/gatsby : Not Found typescript : 4.3.5
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
This has been fixed, however, it has not yet been released. When we release a new version of Nx containing this fix, I’ll update here 😃
Nx 13 has been released including this fix 🎉