pnpm nx migrate latest
> nx "migrate" "latest"
Fetching meta data about packages.
It may take a few minutes.
Fetching nx@20.0.12
Fetching nx@20.0.12
Fetching @nx/linter@20.0.12
Fetching @nx/eslint-plugin@20.0.12
Fetching @nx/express@20.0.12
Fetching @nx/js@20.0.12
Unable to fetch migrations for @nx/linter@20.0.12: Command failed: npm install @nx/linter@20.0.12
npm error code ETARGET
npm error notarget No matching version found for @nx/linter@20.0.12.
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn't exist.
npm error A complete log of this run can be found in: /.npm/_logs/2024-11-10T08_14_53_529Z-debug-0.log
NX The migrate command failed.
NX Cannot read properties of undefined (reading 'schematics')
Pass --verbose to see the stacktrace.
Command failed: /tmp/tmp-143-WIiKaLvmjONM/node_modules/.bin/nx _migrate latest
ELIFECYCLE Command failed with exit code 1.
Package Manager Version
pnpm@7.33.4
Operating System
[ ] macOS
[ ] Linux
[ ] Windows
[x] Other (Please specify)
Additional Information
Using wsl.
As a workaround we do the following steps
pnpm remove @nx/linter
pnpm nx migrate latest (Wait for this to complete and execute any migrations)
Current Behavior
When running
pnpm nx migrate latest
we get an error when @nx/linter is a dependencyExpected Behavior
No error should occur
GitHub Repo
No response
Steps to Reproduce
1.
Nx Report
Failure Logs
Package Manager Version
pnpm@7.33.4
Operating System
Additional Information
Using wsl.
As a workaround we do the following steps