Skip to content

fix(core): improve error message when mixing nightly and stable packages#10313

Open
singhvishalkr wants to merge 1 commit into
parcel-bundler:v2from
singhvishalkr:fix-7946-nightly-stable-error-message
Open

fix(core): improve error message when mixing nightly and stable packages#10313
singhvishalkr wants to merge 1 commit into
parcel-bundler:v2from
singhvishalkr:fix-7946-nightly-stable-error-message

Conversation

@singhvishalkr

Copy link
Copy Markdown

When a plugin version mismatch occurs due to mixing nightly and stable Parcel packages, the error now includes a hint explaining the issue and suggesting to use either all nightly or all stable versions.

The issue happened when users installed a nightly plugin with stable Parcel (or vice versa). The error just said versions didn't match, without explaining why. Now when the mismatch is specifically between nightly and stable, it shows a helpful hint like:

  • 'You are using a nightly version of Parcel. Install nightly versions of all Parcel plugins, or switch to stable releases for everything.'
  • 'The plugin requires a nightly version of Parcel. Install stable versions of all Parcel packages, or switch to nightly releases for everything.'

Fixes #7946

When a plugin version mismatch occurs due to mixing nightly and stable
Parcel packages, the error now includes a hint explaining the issue
and suggesting to use either all nightly or all stable versions.

Fixes parcel-bundler#7946
@singhvishalkr singhvishalkr force-pushed the fix-7946-nightly-stable-error-message branch from f6489e3 to 5cb24ed Compare May 25, 2026 17:15
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.

Improve error message, when having nightly and standard packages in package.json at the same time

1 participant