Vite dev server with HTTPS (node:http2)

Hi, posted a comment there: https://github.com/denoland/deno/issues/26088#issuecomment-2812421778 There are a few threads that are unanswered. It looks like node:http2 is supported accoding to this? https://docs.deno.com/api/node/http2/
error when starting dev server:
Error [ERR_NOT_IMPLEMENTED]: Not implemented: http2.createSecureServer
at notImplemented (ext:deno_node/_utils.ts:9:9)
at createSecureServer (node:http2:1302:3)
error when starting dev server:
Error [ERR_NOT_IMPLEMENTED]: Not implemented: http2.createSecureServer
at notImplemented (ext:deno_node/_utils.ts:9:9)
at createSecureServer (node:http2:1302:3)
I think the vite code is there: I can provide a short example if needed. Can I get some answers for that (unsupported or bug)? We're looking at using Deno on a large app, but that may be a deal breaker, HTTPS is important for development for us (video, DRM, etc).
4 Replies
Romuald Quantin
Romuald QuantinOP3w ago
This one is not Vite but very similar. Any info from anyone?
louislam
louislam3w ago
As the error said, the http2 server is not implemented in Deno. You can confirm it by viewing their source code. https://github.com/denoland/deno/blame/5b5e93ff42f0a18a768041df2a3d2262c9d31c0b/ext/node/polyfills/http2.ts#L1753
GitHub
Blaming deno/ext/node/polyfills/http2.ts at 5b5e93ff42f0a18a768041d...
A modern runtime for JavaScript and TypeScript. Contribute to denoland/deno development by creating an account on GitHub.
Romuald Quantin
Romuald QuantinOP2w ago
I see, thanks @louislam . Is there some kind of roadmap for that kind of things somewhere? Node compatibility? Or a better way of voting or reporting this? This is was the last blocker we had to go full on Deno, but we will hit it every time.
marvinh.
marvinh.2w ago
We occasionally look at the thumbs up reactions an issue gets to priortize them

Did you find this page helpful?