Repository navigation
fix(remix): Make npx @sentry/remix resolve an executable again - #26890
Merged
Merged
Conversation
Closes #26859 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
size-limit report 📦Compared: 5b28b4e (PR test merge using develop at 57ff420) Against: 57ff420 (develop) · base run #67979 ✅ Baseline matches: this diff contains only this PR's changes.
|
msonnb
marked this pull request as ready for review
November 26, 2026 09:28
javascript-sdk-gitflow
Bot
requested review from
chargome,
nicohrubec and
s1gr1d
November 26, 2026 09:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
npx @sentry/remix --upload-sourcemapsworks again. Both bin names are kept.Why
npx can't pick an executable when bins have different targets, and since #24943 the package has two. npx does accept several bins that share one target, so both now point at a dispatcher, which avoids adding a
remixbin that would collide with the Remix CLI.Windows and pnpm shims don't preserve the bin name, so the dispatcher also treats
--entry(required by the Remix 3 script) as a Remix 3 call. Through such a shim, a Remix 3 call without--entryruns the classic script instead of showing the usage error.Closes: #26859