Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

draftMode() expects to have requestAsyncStorage, none available. #4856

Open
denisorehovsky opened this issue Jan 17, 2024 · 2 comments
Open
Assignees
Labels
status: needs-triage Possible bug which hasn't been reproduced yet

Comments

@denisorehovsky
Copy link

denisorehovsky commented Jan 17, 2024

Link to reproduction

No response

Describe the Bug

When I run npm run dev and then open localhost:3000, everything works perfectly. However, when I run debug mode from VSCode, I encounter this issue:
image

/admin is working btw.

To Reproduce

Run the dev server from VSCode and open localhost:3000.

Payload Version

2.8.2

Adapters and Plugins

db-postgres

@denisorehovsky denisorehovsky added the status: needs-triage Possible bug which hasn't been reproduced yet label Jan 17, 2024
@awndrw
Copy link

awndrw commented Jan 18, 2024

What version of Next.js are you on? This issue is probably unrelated to Payload:
nextauthjs/next-auth#6989
vercel/next.js#46356

@denisorehovsky
Copy link
Author

@awndrw Next is 13.5.2. As for Next-Auth, I don't think I have it installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs-triage Possible bug which hasn't been reproduced yet
Projects
None yet
Development

No branches or pull requests

3 participants