failing `rename-ng-update-into-nx-migrate` migration
See original GitHub issueCurrent Behavior
Failing migration from Nx 10 to Nx 11
Expected Behavior
Error handling or successful migration
Steps to Reproduce
Cannot provide reproduction steps.
Failure Logs
Running migration rename-ng-update-into-nx-migrate
host.exists is not a function
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
/Users/upstateinteractive/code/community/nx-ddd-plugin/node_modules/yargs/build/lib/yargs.js:1132
throw err;
^
Error: Command failed: yarn tao migrate --run-migrations=migrations.json
at checkExecSyncError (child_process.js:616:11)
at Object.execSync (child_process.js:652:15)
at Object.handler (/Users/upstateinteractive/code/community/nx-ddd-plugin/node_modules/@nrwl/workspace/src/command-line/nx-commands.js:76:21)
at Object.runCommand (/Users/upstateinteractive/code/community/nx-ddd-plugin/node_modules/yargs/build/lib/command.js:196:48)
at Object.parseArgs [as _parseArgs] (/Users/upstateinteractive/code/community/nx-ddd-plugin/node_modules/yargs/build/lib/yargs.js:1043:55)
at Object.get [as argv] (/Users/upstateinteractive/code/community/nx-ddd-plugin/node_modules/yargs/build/lib/yargs.js:986:25)
at Object.initLocal (/Users/upstateinteractive/code/community/nx-ddd-plugin/node_modules/@nrwl/cli/lib/init-local.js:23:13)
at Object.<anonymous> (/Users/upstateinteractive/code/community/nx-ddd-plugin/node_modules/@nrwl/cli/bin/nx.js:41:18)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 3189,
stdout: null,
stderr: null
}
Environment
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Entity Framework code-first: migration fails with update ...
I am going to upvote those issues. As for now, I could workaround my problem by deleting the wohole migration folder, the database...
Read more >Tips for Fixing Ruby Migration Errors - Sweetcode.io
Here are some things I have learned to resolve Ruby migration errors involving duplicate columns. Problem: Duplicate column error.
Read more >Migration error .-Command execution failed on the local server
Cause: Command execution failed on the local server with non-zero exit code. That is a critical error, migration was stopped. Any ideas?
Read more >Migration fail when upgrading from v19.0.1 to v20.0.1
Hello, I tried to upgrade Keycloak from 19.0.1 to 20.0.1 but migrations are failing . Anyone know what might be the issue ?...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Folks. I fixed it in 11.3.0-beta.2 (if you run nx migrate 11.3.0-beta.2, the issue won’t be there). We are going to cut a stable release next week.
Thank you!
I was running into this error today when upgrading Nx from 10.4.12 to 11.6.3. It only worked after I upgraded Node from 10.19 to 12.16