electron-webpack-quick-start icon indicating copy to clipboard operation
electron-webpack-quick-start copied to clipboard

"Extension server error: Object not found: <top>"

Open loopmode opened this issue 5 years ago • 2 comments

The main/index.js file is attempting to open the devtools too soon: https://github.com/electron-userland/electron-webpack-quick-start/blob/master/src/main/index.js#L15-L17

This results in an error message printed to the console: "Extension server error: Object not found: <top>"

A couple of solutions are proposed in https://github.com/SimulatedGREG/electron-vue/issues/389

loopmode avatar Apr 11 '19 13:04 loopmode

Yes, wrapping the opening of devtools inside did-frame-finish-load() worked for me.

thoni56 avatar Jan 08 '20 13:01 thoni56

I also encountered the same problem. In my case, the page was stuck because a piece of code created tens of thousands of image previews

zivyuan avatar Apr 07 '22 06:04 zivyuan