electron: Devtools errors
- Output of
node_modules/.bin/electron --version
: v3.0.0 - Operating System (Platform and Version): Win 10 x64 I’m using VS code for developing.
Expected Behavior Working without any error.
Actual behavior
[18244:0919/160757.998:ERROR:CONSOLE(22)] "Empty response arrived for script 'chrome-devtools://devtools/remote/serve_file/@164c37e3f235134c88e80fac2a182cfba3f07f00/product_registry_impl/product_registry_impl_module.js'", source: chrome-devtools://devtools/bundled/shell.js (22)
[18244:0919/160757.999:ERROR:CONSOLE(106)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: chrome-devtools://devtools/bundled/shell.js (106)
To Reproduce Clone electron-quick-start. Start project (npm start). Open chrome dev-tools (ctrl+shift+i), switch to Network tab and punch F5. And error will appears in terminal.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 24
- Comments: 73 (1 by maintainers)
still “electron”: “^7.1.1”, Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109)
same here 7.1.3
Why is this issue closed? It’s still happening for people, including me.
Still persist in electron 4.0.0.
Still… 6.0.11 [10548:1022/093400.306:ERROR:CONSOLE(109)] “Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry”, source: devtools://devtools/bundled/shell.js (109)
I am facing the same issue in electron v4.1.4.Getting blank screen and these errors on console when hitting f5 on network tab. Electron Version -4.1.4 OS-Windows 10 Using Visual Studio Code for development “Empty response arrived for script ‘chrome-devtools://devtools/remote/serve_file/@a19d58ec502349db4b1424eb58c3ee45bc062878/product_registry_impl/product_registry_impl_module.js’”, source: chrome-devtools://devtools/bundled/shell.js (24) [37536:0410/100335.048:ERROR:CONSOLE(108)] “Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry”, source: chrome-devtools://devtools/bundled/shell.js (108) [37536:0410/100335.623:ERROR:CONSOLE(108)] “Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry”, source: chrome-devtools://devtools/bundled/shell.js (108) [37536:0410/100335.631:ERROR:CONSOLE(108)] “Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry”, source: chrome-devtools://devtools/bundled/shell.js (108)
请问你是如何解决的
After I updated to electron@^8.2.0, this error has gone.
really!
After I updated to electron@^8.2.0, this error has gone. It bothered me when I was in electron@^7.x.x.
+1
same with electron 7.1.7, issue still exists
[120584:0102/125910.031:ERROR:CONSOLE(24)] “Empty response arrived for script ‘devtools://devtools/remote/serve_file/@77819d0847fe58ff62ad279c3df5429e9d40a906/product_registry_impl/product_registry_impl_module.js’”, source: devtools://devtools/bundled/shell.js
same in electron 7.1.11 do not use ‘mainWindow.webContents.openDevTools()’ in ‘app.on(“ready”()=>{})’ when app start use command+option+i to open devtools. You won’t see these reports
This is appalling. + 1
still in 5.0.1
same in electron 7.3.1
+1
+1
+1
+1
+1 grr
Same in