Skip to content

Conversation

@leosvelperez
Copy link
Member

Current Behavior

When running nx migrate --run-migrations in a workspace with npm as the package manager, sometimes the automatic package installation performed by the command can fail due to peer dependency constraint violations. In such cases, no actionable feedback is provided to the user to help resolve the issue.

Expected Behavior

When running nx migrate --run-migrations in a workspace with npm as the package manager, and the automatic package installation performed by the command fails, Nx should provide actionable feedback to resolve the issue and to re-run the command while skipping the package installation.

Related Issue(s)

Fixes #33942

@leosvelperez leosvelperez self-assigned this Dec 19, 2025
@leosvelperez leosvelperez requested a review from a team as a code owner December 19, 2025 15:58
@vercel
Copy link

vercel bot commented Dec 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
nx-dev Ready Ready Preview Dec 19, 2025 4:04pm

@netlify
Copy link

netlify bot commented Dec 19, 2025

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 20757e6
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/6945760bf7a5d300083ef2db
😎 Deploy Preview https://deploy-preview-33961--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nx-cloud
Copy link
Contributor

nx-cloud bot commented Dec 19, 2025

View your CI Pipeline Execution ↗ for commit 20757e6

Command Status Duration Result
nx affected --targets=lint,test,test-kt,build,e... ✅ Succeeded 13m 1s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 1m 36s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 7s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-12-19 17:13:22 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrations are failing because the repository must be installed with npm i -f

2 participants