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

Support Next.js experimental runtime edge #49

Open
timReynolds opened this issue Jan 23, 2023 · 2 comments
Open

Support Next.js experimental runtime edge #49

timReynolds opened this issue Jan 23, 2023 · 2 comments
Labels

Comments

@timReynolds
Copy link

To deploy Next.js 13 to a provider like Cloudflare you need to use the new experimental edge runtime "edge" but this doesn't work with the integration provided here due to the use of request.

error - Error: The edge runtime does not support Node.js 'util' module.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime
    at <unknown> (webpack-internal:///(middleware)/./node_modules/next/dist/esm/server/web/adapter.js:189)
    at Object.get (webpack-internal:///(middleware)/./node_modules/next/dist/esm/server/web/adapter.js:189:19)
    at eval (webpack-internal:///(middleware)/./node_modules/tough-cookie/lib/memstore.js:55:18)
    at Object.(middleware)/./node_modules/tough-cookie/lib/memstore.js (evalmachine.<anonymous>:2021:1)
    at __webpack_require__ (evalmachine.<anonymous>:37:33)
    at fn (evalmachine.<anonymous>:281:21)
    at eval (webpack-internal:///(middleware)/./node_modules/tough-cookie/lib/cookie.js:37:26)
    at Object.(middleware)/./node_modules/tough-cookie/lib/cookie.js (evalmachine.<anonymous>:2010:1)
    at __webpack_require__ (evalmachine.<anonymous>:37:33)
    at fn (evalmachine.<anonymous>:281:21)
    at eval (webpack-internal:///(middleware)/./node_modules/request/lib/cookies.js:3:13)
@aeneasr
Copy link
Member

aeneasr commented Jan 26, 2023

Thank you for the report! I'm not sure how we can address this at the moment :/

Copy link

github-actions bot commented Jan 1, 2025

Hello contributors!

I am marking this issue as stale as it has not received any engagement from the community or maintainers for a year. That does not imply that the issue has no merit! If you feel strongly about this issue

  • open a PR referencing and resolving the issue;
  • leave a comment on it and discuss ideas on how you could contribute towards resolving it;
  • leave a comment and describe in detail why this issue is critical for your use case;
  • open a new issue with updated details and a plan for resolving the issue.

Throughout its lifetime, Ory has received over 10.000 issues and PRs. To sustain that growth, we need to prioritize and focus on issues that are important to the community. A good indication of importance, and thus priority, is activity on a topic.

Unfortunately, burnout has become a topic of concern amongst open-source projects.

It can lead to severe personal and health issues as well as opening catastrophic attack vectors.

The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone.

If this issue was marked as stale erroneously you can exempt it by adding the backlog label, assigning someone, or setting a milestone for it.

Thank you for your understanding and to anyone who participated in the conversation! And as written above, please do participate in the conversation if this topic is important to you!

Thank you 🙏✌️

@github-actions github-actions bot added the stale label Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants