Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
coltoneshaw opened this issue Apr 7, 2022 · 0 comments

Comments

@coltoneshaw
Copy link

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:

  • Disable the interval function
  • Close the dev tools in the electron chromium instance
  • Completely disable the electron-devtools-installer in the main.ts file.

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant