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

React Developer Tools not appearing #2725

Closed
5 tasks done
andrewschreiber opened this issue Jan 11, 2021 · 8 comments
Closed
5 tasks done

React Developer Tools not appearing #2725

andrewschreiber opened this issue Jan 11, 2021 · 8 comments
Labels

Comments

@andrewschreiber
Copy link

Prerequisites

Expected Behavior

React Dev tools appear in the Dev tools window like such:
image

Current Behavior

React dev tools do not appear.
image

An error is thrown: (node:39620) ExtensionLoadWarning: Warnings loading extension at /Users/andrewschreiber/Library/Application Support/Electron/extensions/fmkadmapgofadopljbjfkapdkoienihi: Unrecognized manifest key 'browser_action'. Unrecognized manifest key 'minimum_chrome_version'. Unrecognized manifest key 'update_url'. Cannot load extension with file or directory name _metadata. Filenames starting with "_" are reserved for use by the system.

Attempted solutions:

  • Fixing the above issue by deleting the metadata folder and the unrecognized keys.
  • Reinstalling electron-devtools-installer
  • Adding types yarn add -D @types/electron-devtools-installer
  • Using the standard electron approach (without electron-devtools-installer) here https://www.electronjs.org/docs/tutorial/devtools-extension
  • Updating to latest React Developer Tools version (14.10.1)

Steps to Reproduce

  1. Clone repo. Run yarn && yarn start

  2. Notice error log and absence of React Developer Tools

Possible Solution (Not obligatory)

Unknown, but this poster on reddit seems to have the same issue. https://www.reddit.com/r/electronjs/comments/kv0xv0/how_can_i_use_react_devtools_extension_in_my/

Context

No changes were made to the boilerplate.

Your Environment

  • Node version : v14.10.1
  • electron-react-boilerplate version or branch : Master ( commit fb29200 from Dec 18th)
  • Operating System and version : MacOS Catalina 10.15.7
@TomTomB
Copy link
Contributor

TomTomB commented Jan 16, 2021

This should be fixed once electron PR #25198 is merged. Until thats the case, you need to close and reopen the devtools everytime you start erb.

@hadnet
Copy link

hadnet commented Jan 17, 2021

Closing and reopen devtools does not work either.

@DoWhileGeek
Copy link

@hadnet I'm seeing the same thing, with react or redux dev tools.

@jedhelmers
Copy link

Also seeing this error

@TomTomB
Copy link
Contributor

TomTomB commented Jan 19, 2021

@hadnet I'm seeing the same thing, with react or redux dev tools.

For Redux DevTools you can use the Remote Redux DevTools package. Sadly, I dont think there is a corresponding package for React DevTools.

Another temp solution would be to downgrade Electron to version 8.x

@jedhelmers
Copy link

jedhelmers commented Jan 19, 2021 via email

@mulgurul
Copy link

mulgurul commented Mar 23, 2021

Same here, closing and reopening dev tool does not work. Quite annoying... Seems like this is a very important fix for a REACT electron boilerplate?

@RoderickJDunn
Copy link

I was able to get both React & Redux Devtools to show reliably by following the steps on this comment on electron-devtools-installer. Hopefully that helps someone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants