-
Notifications
You must be signed in to change notification settings - Fork 55
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
Configuring https server results in an exception #92
Comments
+1 |
Same here, did you find a solution? |
Haven't found a clean solution, instead I've used local-ssl-proxy as a workaround. |
haha this is the only link on the web that references this error and it happens on all isntances of vite 5+ |
I can confirm this bug, once i removed vite plugin node it worked again |
Thanks @metalmarker.
Done the same, like this in case it helps anyone:
|
I'm trying to configure Vite (express) to run https on localhost using these methods.
The problem is that when vite-plugin-node is active, I'm getting this error:
`ERROR [Uncaught exception] Cannot read properties of undefined (reading 'readable')
Stack: TypeError: Cannot read properties of undefined (reading 'readable')
at IncomingMessage._read (node:http_incoming:214:19)
at IncomingMessage.Readable.read (node:internal/streams/readable:487:10)
at resume (node:internal/streams/readable:987:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)`
Perhaps that can be accomplished by writing a custom adapter?
The text was updated successfully, but these errors were encountered: