axe-me / vite-plugin-node

Vite plugin to run your node dev server with HMR!
1k stars 48 forks source link

NestJS, SocketIO not working #71

Closed angelhdzdev closed 1 year ago

angelhdzdev commented 1 year ago

I have a working Nest server and a Vue3/Quasar client using SocketIO. Then I switch to vite-plugin-node and the client has errors about SocketIO, 404 errors and can't connect.

I read another 2021 issue saying Web sockets not working.

Is there a fix on 2023?

NatSavage commented 1 year ago

same here. i ended up switching back to the default nest cli server. It has definitely got something to do with vite as i tested the nest websocket sample project with vite and got the same thing image image

matteobad commented 1 year ago

Any updates on this?

angelhdzdev commented 1 year ago

Any updates on this?

I don't know. The lack of info stopped me from attempting anything beyond. Hope this gets solved in the future. Have a nice rest of the day