kataras / neffos.js

Node.js and Browser support for the neffos real-time framework written in Typescript.
MIT License
42 stars 16 forks source link

problems with neffos.js when using it in electron BrowserWindow process after doing electron build #22

Closed QingjiaTsang closed 1 year ago

QingjiaTsang commented 1 year ago

here’s the background: I’m developing an Electron app with golang as backend and react & node.js as the frontend, and then we build a websocket between backend and the electron BrowserWindow process.

The problem is that everything is alright in dev env, but it comes out white screen after we build and open the .exe file. Eventually, we found out that it’s exactly the neffos.js dependency causes the problem ( if we remove it and of course also remove the websocket code involved, the white screen problem’s solved ). I don’t know whether there’s some bugs on it, plz check it out, thx in advance!

QingjiaTsang commented 1 year ago

there's no any errors in the chrome devTools within electron and also cli output when run the .exe file in cli