create-next-app: Add ignoreScripts for unrs-resolver on bun#86324
Merged
Conversation
bgw
commented
Nov 19, 2025
| @@ -340,6 +340,19 @@ export const installTemplate = async ({ | |||
| ); | |||
icyJoseph
approved these changes
Nov 19, 2025
Moroshima
pushed a commit
to Moroshima/next.js
that referenced
this pull request
Nov 20, 2025
…el#86324) `unrs-resolver`'s postinstall script is only needed for legacy versions of npm, so it's safe to ignore: unrs/unrs-resolver#193 (comment) Without this, bun blocks the postinstall script (okay) and logs a warning (not ideal, confusing to end users). This prevents it from running and suppresses the warning. This matches what we now do in `pnpm` (vercel#83168) but for `bun`. Context: - https://vercel.slack.com/archives/C03KAR5DCKC/p1763570835510729 - https://vercel.slack.com/archives/C06DNAH5LSG/p1763580178004169 ## Before  ## After 
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.

unrs-resolver's postinstall script is only needed for legacy versions of npm, so it's safe to ignore: unrs/unrs-resolver#193 (comment)Without this, bun blocks the postinstall script (okay) and logs a warning (not ideal, confusing to end users). This prevents it from running and suppresses the warning. This matches what we now do in
pnpm(#83168) but forbun.Context:
Before
After