-
Notifications
You must be signed in to change notification settings - Fork 4
Using with /app directory requires env "__NEXT_PRIVATE_PREBUNDLED_REACT=next" #4
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
Comments
Thank you for reporting in @danigb, I'll look into it as soon as possible. |
I'll take the heart as the issue is indeed solved by the environment variable. Looks like Next requires features not necessary available in React with this error showing up in various scenarios, custom servers being one of them. It works to set this env variable in the module code. I'll need to do some research/testing if this causes side-effects. For now the recommendation is to set |
π Indeed, this works perfectly. Thanks a lot @TobiasMelen |
I'll actually re-open this, this should ideally be fixed from next-dev-https, and keeping the issue open makes the temporary fix easier to find by others. |
Thanks a lot for this package! β Simplifies a lot the some dev work π
While I use this package without problem in some projects, when using

"next": "13.4.4"
with new app router I get this error:The text was updated successfully, but these errors were encountered: