MarshallOfSound / electron-devtools-installer

An easy way to ensure Chrome DevTools extensions into Electron
MIT License
1.11k stars 136 forks source link

`console.assert` errors thrown when dev tools are open an an interval is running #219

Open coltoneshaw opened 2 years ago

coltoneshaw commented 2 years ago

When using the electron-devtools-installer paired with a setInterval function it seems to constantly throw the below errors every time a refresh occurs.

React: 18 Electron: 18.0.0 Using REDUX_DEVTOOLS and REACT_DEVELOPER_TOOLS.

I can pin it directly to the setInterval and electron-devtools-installer because doing the below fixes the issue:

This may be an issue with React 18 or the react dev tools themselves. Working to identify that as well.

[1] [28616:0407/130032.110297:ERROR:CONSOLE(6)] "console.assert", source: devtools://devtools/bundled/panels/console/console.js (6)
[1] [28616:0407/130032.110331:ERROR:CONSOLE(6)] "console.assert", source: devtools://devtools/bundled/panels/console/console.js (6)
[1] [28616:0407/130032.110353:ERROR:CONSOLE(6)] "console.assert", source: devtools://devtools/bundled/panels/console/console.js (6)
[1] [28616:0407/130032.110382:ERROR:CONSOLE(6)] "console.assert", source: devtools://devtools/bundled/panels/console/console.js (6)
[1] [28616:0407/130032.110403:ERROR:CONSOLE(6)] "console.assert", source: devtools://devtools/bundled/panels/console/console.js (6)