-
Notifications
You must be signed in to change notification settings - Fork 136
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
Unable to install react-developer-tools (unzip exits with code 9 "not found" due to HTTP-204 trying to download the crx) #157
Comments
I also experience this. Probably the culprit is |
I ended up using https://www.electronjs.org/docs/api/session#sesloadextensionpath and it worked fine. Great package anyway 👍 |
I believe you just need to upgrade to version 3.1.1 which suppports crx version 3 downloads. It was fixed here: #140 |
@esiegel Thanks! Update to 3.1.1 fixed the issue for me. |
This fixes the devtools extension after a breaking change in Chrome Web Store API. Related to MarshallOfSound/electron-devtools-installer#157 (comment)
This fixes the devtools extension after a breaking change in Chrome Web Store API. Related to MarshallOfSound/electron-devtools-installer#157 (comment)
2 Fix: Unable to install chrome extension by upgrading electron-devtools-installer to version 3.2.0 (MarshallOfSound/electron-devtools-installer#157) 3 Fix: Remove REACT_PERF (MarshallOfSound/electron-devtools-installer#167) 4 Fix: Replaced 'import redux-devtools' with chrome extension Redux DevTools 5 Fix: Cannot automatically format URL when pasting URL after code block
code (from electron-react-boilerplate):
output:
according to
man unzip
, code 9 is:patched some logging into cross-unzip by hand, it's trying to run:
looked at that file:
tried to manually remove it, exact same issue again.
looks like somehow instead of e.g. 404ing or similar, the chrome servers just give you an empty file (or you somehow manage to drop the content instead of saving it, but i doubt that,
utils.downloadFile
looks sane), thus not triggering yourFailed to fetch
error.Update:
peeled the url out of your code,
curl
ed it manually to see:so yeah, getting a nice
HTTP/2 204
(no content) with empty response, which you're not catching indownloadFile
, if i had to take a wild guess i'd say google changed the URL and/or extension id (though https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi still seems valid).note it actually did install the redux tools, so it just seems to be something about the react-devtools that's wrong
The text was updated successfully, but these errors were encountered: