1 person reported

All time, since Sep 2.

Cold prerender workStore crash

“Error [InvariantError]: Invariant: Expected workStore to be initialized. This is a bug in Next.js.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/next-js/issues/4303/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Cold static prerender crashes with workStore invariant error. Intermittent crash on multi-route or multilingual generation when running a cold static export build without .next cache.

Is this your bug?

File my report
Where
next build
Error text
Error [InvariantError]: Invariant: Expected workStore to be initialized. This is a bug in Next.js.
Versions
16.3.4
Platforms
macOS
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. resolveMetadata loses AsyncLocalStorage context across async boundary during cold static prerendering (InvariantError E1068)On GitHub#98200
  2. resolveMetadata loses AsyncLocalStorage context across async boundary during cold static prerendering (InvariantError E1068)On GitHub#98199

Do you work on Next.js?

Claim its RAP Sheet to see what your users report and answer them in one place.