-
Notifications
You must be signed in to change notification settings - Fork 27.4k
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
[Turbopack] : GraphQL with turbopack #72573
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@tylerjbainbridge no, just disable turbopack |
I've been trying to investigate this more as our non-turbo I noticed that the test suite in https://areweturboyet.com/dev includes some examples with apollo server, so I tried pulling https://github.com/vercel/next.js/tree/canary/examples/api-routes-apollo-server-and-client to see if I could repro. The example there does indeed work, but when I switched it from using the So it seems this issue is limited to the app router specifically. Would anyone on the turbopack/nextjs team be able to provide any pointers on whether this combination (Apollo Server + app router + turbopack) is expected to work? |
Fixed on |
New error
|
Link to the code that reproduces this issue
https://github.com/MersadHabibi/template-fullstack-nextjs-graphql
To Reproduce
npm run dev
/api/graphql
routeCurrent vs. Expected behavior
I was creating a template and ran into trouble with turbopack.
Apollo Studio loads correctly when I don't use turbopack, but when use turbopack i get this error
this is my repo link
link
Provide environment information
Which area(s) are affected? (Select all that apply)
Turbopack
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
its only happen on development mode with turbopack
route.ts
The text was updated successfully, but these errors were encountered: