Pin next to ^16.2.6 to avoid broken 16.3.0-preview.0 release#476
Open
brianstrauch wants to merge 1 commit into
Open
Pin next to ^16.2.6 to avoid broken 16.3.0-preview.0 release#476brianstrauch wants to merge 1 commit into
brianstrauch wants to merge 1 commit into
Conversation
eb6d8df to
6bbd511
Compare
npm's 'latest' dist-tag for next currently points to 16.3.0-preview.0, whose @next/swc-linux-x64-gnu binary is not published, so 'next build' fails with a 404 whenever the lockfile is regenerated. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
6bbd511 to
911cb67
Compare
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 was changed
Pin
nextto^16.2.6innextjs-ecommerce-oneclick(waslatest) and update the lockfile.Why
npm's
latestdist-tag fornextcurrently points to16.3.0-preview.0, whose@next/swc-linux-x64-gnubinary was never published. Any CI job that resolvesnext@latestfresh (or any regenerated lockfile) picks up the broken preview andnext buildfails with a 404 downloading the SWC binary:Pinning to
^16.2.6keeps the existing stable resolution and excludes prereleases.🤖 Generated with Claude Code