-
Notifications
You must be signed in to change notification settings - Fork 23
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
It does not seem to be working with NextJs API route handlers and Neo4J driver #200
Comments
For your reference, this code is based on https://github.com/CosmicDNA/neo4j-graphql-example and which is a GraphQL server without Nextjs where everything works as intended. |
Have you tried adding |
I just tested adding graphql@^16.9.0 but the same problem still persists... |
I see, then maybe using |
I just tried with "resolutions": {
"graphql": "16.9.0"
} And the same problem still occurred. The same problem is also happening with the code from here. It is based on https://portal.gitnation.org/contents/full-stack-graphql-in-the-cloud-with-neo4j-aura-nextjs-and-vercel and does not use |
This problem may be associated with: apollographql/apollo-server#4637 |
I found out that if instead of using NextJs 13+ API route handlers, if I use pages, it works as expected. The working code is this one. This indicates that the bug might reside within |
Hi @DanielAtCosmicDNA removing --turbo flag helped me get rid of this error which you too are facing.
|
When you run the canonical code from: https://github.com/CosmicDNA/neo4j-graphql-example-nextjs/tree/5385e091ce68004de94bda184c940e69a09c7dee,
with
yarn run dev
and go to/api/graphql
path, the following error is thrown:The text was updated successfully, but these errors were encountered: