You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run the server using the Node.js http2 module and createSecureServer(), requests always return this error:
{
"message": "POST body sent invalid JSON.",
"extensions": {
"code": "BAD_REQUEST",
"originalError": {
"name": "TypeError",
"message": "bodyInit.stream is not a function"
}
}
}
The request should have worked normally. Or perhaps that there should have been a Typescript error indicating that createSecureServer and yoga are incompatible.
Screenshots or Videos
No response
Platform
OS: Windows 11
NodeJS: 22.14.0
@graphql-yoga/* version(s): 5.12.0
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to run the server using the Node.js
http2
module andcreateSecureServer()
, requests always return this error:Your Example Website or App
https://codesandbox.io/p/devbox/great-fog-v5xjzq?file=%2Fsrc%2Fmain.ts%3A41%2C1
Steps to Reproduce the Bug or Issue
mkcert -install
,mkcert localhost
)Expected behavior
The request should have worked normally. Or perhaps that there should have been a Typescript error indicating that
createSecureServer
andyoga
are incompatible.Screenshots or Videos
No response
Platform
@graphql-yoga/*
version(s): 5.12.0Additional context
No response
The text was updated successfully, but these errors were encountered: