Skip to content

feat: update nextjs-shadcn to Next 15.4 - #122

Draft
sheepsteak wants to merge 3 commits into
mainfrom
chris/update-nextjs-shadcn
Draft

feat: update nextjs-shadcn to Next 15.4#122
sheepsteak wants to merge 3 commits into
mainfrom
chris/update-nextjs-shadcn

Conversation

@sheepsteak

@sheepsteak sheepsteak commented Aug 6, 2026

Copy link
Copy Markdown
Member

ON HOLD: we need to implement AsyncLocalStorage in WebContainer before we can upgrade from the current Next.js version we use.

Created a brand new Next.js/Shadcn project and copied across necessary files from existing nextjs-shadcn.

Latest version we can do for now is Next.js 15.4 due to later versions using AsyncLocalStorage which is not implemented in WebContainer yet. See #122 (comment) for Next.16 errors.

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@sheepsteak
sheepsteak marked this pull request as draft August 6, 2026 10:36
@sheepsteak

Copy link
Copy Markdown
Member Author

With default next dev we get this output:

Error: Turbopack is not supported on this platform (linux/x64) because native bindings are not available. Only WebAssembly (WASM) bindings were loaded, and Turbopack requires native bindings.

To use Next.js on this platform, use Webpack instead:
  next dev --webpack

Trying next dev --webpack then results in:

## Error Type
Runtime InvariantError

## Error Message
Invariant: Expected workStore to be initialized. This is a bug in Next.js.

Next.js version: 16.2.6 (Webpack)
image

@sheepsteak
sheepsteak force-pushed the chris/update-nextjs-shadcn branch from d50ec44 to e5e406e Compare August 6, 2026 11:00
@sheepsteak sheepsteak changed the title feat: update nextjs-shadcn to Next 16 feat: update nextjs-shadcn to Next 15.4 Aug 6, 2026
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.

1 participant