Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade: Report errors when updating dependencies #16504

Merged
merged 2 commits into from
Feb 13, 2025

Conversation

philipp-spiess
Copy link
Member

Closes #16391

Like the title suggest this PR adds error reporting when the npm install or npm remove commands fail.

Test plan

Tested by swapping out the command for echo "bla"; exit 1 and capturing the output from the integration tests:

Screenshot 2025-02-13 at 14 33 02 Screenshot 2025-02-13 at 14 31 05

Decided not to add a new test for this since it's unlikely we'll do big changes here and the upgrade integration tests are already quite slow.

@philipp-spiess philipp-spiess requested a review from a team as a code owner February 13, 2025 13:36
@philipp-spiess philipp-spiess force-pushed the fix/upgrade-print-npm-errors branch from 9b17b23 to 20e2c07 Compare February 13, 2025 13:36
@philipp-spiess philipp-spiess merged commit dec6c8c into main Feb 13, 2025
5 checks passed
@philipp-spiess philipp-spiess deleted the fix/upgrade-print-npm-errors branch February 13, 2025 15:03
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.

[v4] @tailwindcss/upgrade fails silently without error due to missing dependencies
2 participants