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 Jan 9, 2026 1:25pm

@netlify
Copy link

netlify bot commented Dec 19, 2025

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 5404721
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/6961006f229ceb00081cd8e6
😎 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 5404721

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

☁️ Nx Cloud last updated this comment at 2026-01-09 13:40:44 UTC

Copy link
Contributor

@nx-cloud nx-cloud bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nx Cloud has identified a flaky task in your failed CI:

🔂 Since the failure was identified as flaky, we triggered a CI rerun by adding an empty commit to this branch.

Nx Cloud View detailed reasoning in Nx Cloud ↗


🎓 Learn more about Self-Healing CI on nx.dev

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

3 participants