-
Notifications
You must be signed in to change notification settings - Fork 66
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
Unable to build Next.js with generated client library #401
Comments
Thanks, we'll look into this. In the meantime you can change the target to |
Also, seems like node-fetch@2 is required with Next.js here?
Not entirely sure how the Next.js polyfill works, but the library does not seem to pick it up. Edit: Additionally, it looks like Next.js is ignoring some typescript compiler options? (vercel/next.js#37271)
Neither downlevelIteration or target modifications in tsconfig resolve the error on Next.js 13. |
Got the same issue here. I had to Related vercel/next.js#7621 |
Related: #566 Looks like the issue with the |
Describe the bug
When using the generated client library from
npx edgeql-js
, runningnext build
results in this error:Reproduction
I made a repository with the same error here: https://github.com/kotx/edgedb-nextjs-repro
Expected behavior
No build error occurs
**Versions
edgedb-js
version: 0.21.1Additional context
I tried to add
dbschema/edgeql-js
to theexclude
array intsconfig.json
but it didn't affect the result.The text was updated successfully, but these errors were encountered: