-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
0.4.14 error - uncaughtException: TypeError: Cannot read property 'get' of undefined #54
Comments
I'm encountering the same error using graphql-yoga/node v2.13.4 TypeError: Cannot read properties of undefined (reading 'get')
at Function.value (/home/username/Project/node_modules/@graphql-yoga/node/node_modules/cross-undici-fetch/dist/create-node-ponyfill.js:198:26)
at new Headers (/home/username/Project/node_modules/next/dist/compiled/node-fetch/index.js:1:54826)
at createHeadersLenient (/home/username/Project/node_modules/next/dist/compiled/node-fetch/index.js:1:58064)
at ClientRequest.<anonymous> (/home/username/Project/node_modules/next/dist/compiled/node-fetch/index.js:1:64288)
at ClientRequest.emit (node:events:527:28)
at ClientRequest.emit (node:domain:475:12)
at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:631:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
at Socket.socketOnData (node:_http_client:494:22)
at Socket.emit (node:events:527:28)
error - uncaughtException: TypeError: Cannot read properties of undefined (reading 'get') |
Same, looks like @graphql-yoga/node uses this as a dependency and works fine on it's own, but if you try to use |
ardatan/whatwg-node#54 Co-authored-by: Duke Nguyen <[email protected]>
ardatan/whatwg-node#54 Co-authored-by: Duke Nguyen <[email protected]> Co-authored-by: Duke Nguyen <[email protected]>
This seems to be resolved within |
Describe the bug
This line throws and error: 2ea57a8#diff-e4b970f03575a2793030b90a4fba4c5034cfa2ebdfd4bd1454a8af2db0660b19R198
To Reproduce
Steps to reproduce the behavior: use the latest version of graphql-mesh with nextjs.
Expected behavior
No errors 😉
Environment:
package-name...
:Additional context
When adding a resolution to 0.4.13 it works:
The text was updated successfully, but these errors were encountered: