Change:
macOS 11.0.1 Big Sur, on an Apple Silicon (M1) chip React 17.0.1 React DevTools 4.10.1, running in standalone mode via Electron 11.1.0 (darwin-arm64 build) New project using create-react-app . with the useScript hook to add the <scripttag required by React DevTools. React DevTools to a project with (or yarn). -devtools expects Electron 9.x.x; however builds for darwin-arm64 are only available for 11.1.0. Installation fails with: Link to code example: Workarounds are ; however a 11.1.0 build is required. Bump the version in so this works out of the box.
Want to submit a PR (and test the bump)?
I can look into this
Okay.
Just wanted to add that bumping the version works well. <img width="1027" alt="image" src="https://user-"
Hi are you working on this? If not, I'd like to take this issue.
Sure im looking into another issue you can take it up!
I can update electron package version
[devtools] Bump electron version from 9.1.0 to 11.1.0 for darwin-arm64 builds
So, I think need close this issue
I think they'll close it once the PR is merged
How can we install this bumped version from github pull request? without waiting to be merged?
You'll have to clone my forked repo and build from source. You can find the instructions to build
Can someone please tell how to use resolutions ? I am macbook pro m1 and when I hit the command -It gives the following error What I tried is I downloaded the react devtools 4.10.1 in my local system and tried install it using Then I installed react-native-debugger and then again got the same issue. Unsupported DevTools backend version You are running react-devtools version 4.13.4-. This requires bridge protocol version 1. However the current backend version uses bridge protocol version 0. To fix this, downgrade the DevTools NPM package:
My dirty workaround, things seem to work fine on my M1 machine: Install Electron 11 globally Install react-devtools without the binary download Remove the existing folder and in the react-devtools electro module - Symlink the global electron installation to the react-devtools electron module installation - I also had to update the package inside my global installation to 4.11.0 (could use the same symlinking logic there too I guess)
thanks for me, just the first two steps worked on my M1 machine Install Electron 11 globally npm i -g electron Install react-devtools without the binary download ELECTRONSKIPBINARY_DOWNLOAD=1 npm i -g react-devtools
I had to follow the steps in mixed with 's steps. I'm using a mac M1 which gives the error So I used the following modified steps:
The response by works perfectly. Thanks. Just replace by the wanted version. For example for me i wanted react-devtools 4.10.4 (the inspector couldn't inspect anything up this version) So i just changed and .

Discussion:
}, "dependencies": { "cross-spawn": "^5.0.1", <del> "electron": "^9.1.0", </del> <ins> "electron": "^11.1.0", </ins> "ip": "^1.1.4", "minimist": "^1.2.3", "react-devtools-core": "4.10.1",

resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.538.tgz#15226638ee9db5d8e74f4c860cef6078d8e1e871" integrity sha512-rlyYXLlOoZkJuvY4AJXUpP7CHRVtwZz311HPVoEO1UHo/kqDCsP1pNas0A9paZuPEiYGdLwrjllF2hs69NEaTw== <del> electron@^9.1.0: version "9.1.0" resolved "https://registry.yarnpkg.com/electron/-/electron-9.1.0.tgz#ca77600c9e4cd591298c340e013384114d3d8d05" integrity sha512-VRAF8KX1m0py9I9sf0kw1kWfeC87mlscfFcbcRdLBsNJ44/GrJhi3+E8rKbpHUeZNQxsPaVA5Zu5Lxb6dV/scQ== </del> <ins> electron@^11.1.0: version "11.1.1" resolved "https://registry.yarnpkg.com/electron/-/electron-11.1.1.tgz#188f036f8282798398dca9513e9bb3b10213e3aa" integrity sha512-tlbex3xosJgfileN6BAQRotevPRXB/wQIq48QeQ08tUJJrXwE72c8smsM/hbHx5eDgnbfJ2G3a60PmRjHU2NhA== </ins> dependencies: "@electron/get" "^1.0.1" "@types/node" "^12.0.12"