Error when running cookies() from next/headers - Error: (0 , _requestasyncstorageexternal.getExpectedRequestStore) is not a function #65827
Labels
bug
Issue was opened via the bug report template.
Module Resolution
Module resolution (CJS / ESM, module resolving)
Navigation
Related to Next.js linking (e.g., <Link>) and navigation.
Runtime
Related to Node.js or Edge Runtime with Next.js.
Link to the code that reproduces this issue
https://github.com/caioalmeida12/sisref-v2-dashboard/tree/110-instalar-docker
To Reproduce
Current vs. Expected behavior
Currently, instead of being able to access the page, it crashes upon request to the / route. It compiles the middlewares perfectly, tho.
Provide environment information
Which area(s) are affected? (Select all that apply)
Module Resolution, Navigation, Runtime
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
I tested running on Node 20.13 LTS, but didnt work as well.
I cant figure out why my NPM base command wont work, tho. I've been falling back to bun, which works perfectly. Might be related.
The text was updated successfully, but these errors were encountered: