devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Devtools not loading in electron (Uncaught (in promise) SyntaxError sandbox_bundle.js)

Open sev-b opened this issue 2 years ago • 1 comments

Version

6.4.1

Browser and OS info

Electron 13.1.6 / Windows 10 Version 10.0.19044 Build 19044

Steps to reproduce

  • add VueDevtools to Electron via BrowserWindow.addDevToolsExtension
  • start the electron application
  • open Vue Devtools tab

What is expected?

expected devtools to load as usual

What is actually happening?

Once opening the Vue devtools tab the error ""Uncaught (in promise) SyntaxError: Unexpected token c in JSON at position 244", source: electron/js2c/sandbox_bundle.js (1854)" is thrown in the electron console and devtools gets stuck in this stage: image


Used to work with older versions of vue-devtools, specifically v5.3.4

sev-b avatar Sep 29 '22 07:09 sev-b

Please provide a runnable reproduction, thanks!

Akryum avatar Sep 29 '22 09:09 Akryum