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

Edge runtime problems #434

Open
sztok7 opened this issue Oct 19, 2023 · 0 comments
Open

Edge runtime problems #434

sztok7 opened this issue Oct 19, 2023 · 0 comments

Comments

@sztok7
Copy link

sztok7 commented Oct 19, 2023

  • I'm submitting a ...
    [ ] bug report
    [ ] feature request
    [x] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary
    When deploying a Next.js app (13) on Cloudflare, they force using edge runtime, which is okay, but most of npm packages aren't supported, like axios, so it isn't compatible with Uniswap libs which are using it.

  • Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
    Simple solution would be to just switch from axios to browser native fetch.

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

No branches or pull requests

1 participant