-
Notifications
You must be signed in to change notification settings - Fork 262
Open
Description
Describe the bug
Bug Description:
I imported my repository to Stackblitz, but I encountered the following error:
Invariant: headers() expects to have requestAsyncStorage, none available.
The same code runs successfully on both my local host and Vercel without any issues.
Context:
I initially created this app on bolt.new and would like to continue developing it there. However, I'm unable to proceed due to this error.
Request:
How can I resolve this issue and continue developing my app on bolt.new without errors?
Link to the blitz that caused the error
https://stackblitz.com/~/github.com/Selcukis/biyo-frontend-v1
Steps to reproduce
Just try to compile and run my application:
https://stackblitz.com/~/github.com/Selcukis/biyo-frontend-v1
Expected behavior
The codebase should run on Stackblitz just as it does on Vercel.
Parity with Local
- I have run the project in my local machine and I could not reproduce the issue.
Screenshots
Platform
Version = 1.84.0
Hash = 3b0b7194bc6b567c2eaf4c96a5759098469dcf59
WebContainer = fc837ba8
Browser name = Chrome
Full version = 131.0.0.0
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
performance.memory = {
"totalJSHeapSize": 128071634,
"usedJSHeapSize": 120441894,
"jsHeapSizeLimit": 4294705152
}
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels