Skip to content

Conversation

@lforst
Copy link
Contributor

@lforst lforst commented Sep 25, 2023

Attempts to fix #9092

I could never reproduce that issue but my suspicion for that error is that somewhere in the node module resolution tree there is a nextjs installation which will make next/dist/client/components/request-async-storage resolve.

We probably need to limit the module resolution search by what webpack itself is looking for. We can do this by looking at webpackConfig.resolve.modules which contains all the resolution paths.

This is not a 100% probability fix but something that is worth trying.

@lforst lforst mentioned this pull request Sep 25, 2023
3 tasks
@lforst lforst merged commit 622186c into develop Sep 25, 2023
@lforst lforst deleted the lforst-fix-nextjs-async-loading branch September 25, 2023 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sentry doesn't work on Next 13.5

3 participants