-
Notifications
You must be signed in to change notification settings - Fork 139
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
REDUX_DEV_TOOLS Failed to fetch extension #215
Comments
I've the same issue but it affects all extensions not just REDUX_DEVTOOLS. Here's what I know so far:
So the culprit is CORS. I tried removing the response header by listening to onBeforeSendHeaders, onHeadersReceived and onBeforeRedirect; and modifying requests/responses. But (and this might be a bug in electron) onHeadersReceived doesn't get called for the second request, maybe because it's the result of a redirection? |
We're also experiencing this in VueJS Devtools as well. What's the workaround solution for this? |
@dialqueza
|
For me what works is to duplicate the code by adding the install extension code twice app.whenReady ().then ( () => { app.whenReady ().then ( () => { |
electron-devtools-installer is working properly for React Development Tools but not for Redux DevTools.
Given:
"electron-devtools-installer": "^3.2.0"
"electron": "^9.4.4"
in electron.js:
`const {
default: installExtension,
REACT_DEVELOPER_TOOLS,
REDUX_DEVTOOLS
} = require ( 'electron-devtools-installer' );
`
Output shows:
Observed behavior:
Redux devtools isn't downloaded.
The text was updated successfully, but these errors were encountered: