-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
node:http2
doesn't export Http2ServerRequest
and Http2ServerResponse
#23326
Comments
No particular reason, it's a bug. |
That's correct, @satyarohith is working on improving |
@bartlomieju Is this issue still open? I mean can I work on this? Is not entirely clear based on your last comment. If so, I would like to give it a stab c: |
Hi, @jmj0502. Please go ahead. Note #23326 (comment) |
@satyarohith cool! Quick question? Should I work on the implementation describe on the initial consideration of the issue? or are there other changes to be considered for the issue in question? 🤔 |
A good target is to get the example from description working with Deno. Exporting the unavailable methods isn't sufficient to get it working as mentioned here. I'm not entirely sure what exactly is required to get the example to work with Deno. We need to explore why the response is empty and what needs to be done. |
@satyarohith Cool! I'm all up for it! Many thanks for offering your help, again I don't really know the codebase in depth, but I'll do my best to fix the issue in question. I'll start by building the project and replicating the issue in question, then I'll proceed to send you a discord DM to further explain my plan of action and start diving deeper into the issue. Feel free to assign the issue to me if you consider it appropriate 👍 |
I also encountered the same issue |
I'm also experiencing a similar issue with the Astro adapter.
|
@und-miller what deno version are you using? can you upgrade to the latest version and try again? |
@und-miller make sure you're using the latest Deno release. This problem was fixed just a few weeks ago. |
Thank you for the quick reply. I was indeed running an older version of Deno. After upgrading the problem went away. |
Discussed in #23324
Originally posted by OnielN14 April 11, 2024
In the v1.42.2 I see latest compat update for node http2 is released. So I just try to run hono + @hono/node-server
and it seems
Http2ServerRequest
is not available as named export.here is the error message
am I missing something regarding node compatiblity?
Thanks
The text was updated successfully, but these errors were encountered: