Next.js Discord

Discord Forum

Next 13.5.2: Module not found: Can't resolve 'next/dist/client/components/request-async-storage'

Unanswered
Giant wood wasp posted this in #help-forum
Open in Discord
Avatar
Giant wood waspOP
https://nextjs.org/docs/messages/module-not-found
 ⨯ ./app/(nonEntity)/layout.tsx
Module not found: Can't resolve 'next/dist/client/components/request-async-storage'

After upgrading my NextJS application to v13.5.2 I am seeing the above error when I start up the application. It's the same error mentioned in this reddit thread: https://www.reddit.com/r/nextjs/comments/16o6s1x/13151_or_13152_module_not_found_cant_resolve/

I have tried deleting my node_modules, .next and yarn.lock file but have not been able to solve the issue.

6 Replies

Avatar
risky
are you trying to use cookies or headers in client component? (that is one that i have seen lots for)
Avatar
Giant wood waspOP
I don't believe so. Other members of my team are using the same code and not seeing an error which leads me to believe it's not a code specific issue
Avatar
risky
try updating to: v13.5.3 tho (not fully expecting fix tbh)
Avatar
Giant wood waspOP
Tried the minor upgrade before, didn't work. When I go back down to 13.4.19 it works
Avatar
risky
it seems like that version have been decently successful with fixing bugs here... (enough say to go to that and get some bug fixed)
Avatar
Giant wood waspOP
Yeah, I guess in the meantime i can develop on that version locally but would love to find a permanent fix