electron-vite-react icon indicating copy to clipboard operation
electron-vite-react copied to clipboard

DevTools was disconnected from the page

Open junjielyu13 opened this issue 2 years ago • 3 comments

When using templates on Linux (Debian), I frequently run into this issue. How can I fix this issue?

reloaded doesn't work, i have to re-run npm run dev

image

junjielyu13 avatar Aug 25 '23 10:08 junjielyu13

Are you using C/C++ modules in your Renderer process? Or use some Node.js async API? Or some handle reference i not dispose?

caoxiemeihao avatar Aug 30 '23 02:08 caoxiemeihao

Thank you for your reply.

No, the issue is with the original template, which runs correctly in Windows but always has this problem in Linux.

junjielyu13 avatar Aug 30 '23 08:08 junjielyu13

Maybe you can try again with 👉 https://github.com/caoxiemeihao/electron-vite-samples/tree/main/quick-start

caoxiemeihao avatar Sep 05 '23 04:09 caoxiemeihao