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
Devtools don't show on OSX #174
Comments
I had the same issue. I had to do 3 things to get both extensions to show up in devtools.
|
I was able to get this working with |
Even after cleaning up all the warnings and using @RoderickJDunn's suggestion, no dev tool extensions show up. Electron v12.0.8 |
Thanks, it fixes the issue |
Following @RoderickJDunn's instructions allowed the redux dev tools to show up, but not the react dev tools. Has anybody else found a solution to this? |
Redux has always shown up for me, but never React Dev Tools, though they're being installed the same way. Running Manjaro Linux and electron 11.4.12 with node 12.18.3 runtime Someone let me know if I should make another issue, not going to for now. |
If anyone else is facing the same issue and is unable to get the package working on a mac Intel silicone then you may use this: yarn add -D git+https://github.com/ganeshrvel/electron-devtools-installer.git#fix/electron-18 const { app } = require('electron');
export async function installExtensions() {
const {
default: installExtension,
REDUX_DEVTOOLS,
REACT_DEVELOPER_TOOLS,
} = await import('electron-devtools-installer');
return app.whenReady().then(async () => {
const forceDownload = !!process.env.UPGRADE_EXTENSIONS;
const extensions = [REACT_DEVELOPER_TOOLS, REDUX_DEVTOOLS];
installExtension(extensions, {
// loadExtensionOptions: { allowFileAccess: true },
forceDownload,
})
.catch((err) => console.error('An extension error occurred: ', err));
});
}
# this is one time only thing to force download extensions into your local machine
UPGRADE_EXTENSIONS=1 yarn dev // or UPGRADE_EXTENSIONS=1 yarn dev or whatever you use
yarn dev // or yarn start or whatever you use WARNING Always check the git commit history before adding any arbitrary packages. |
Hi! I'm working on an Electron app and I'm testing it on OSX and Windows.
Everything is fine on Windows but my 2 extensions doesn't show at all on OSX.
This is what I use:
What can I check or change to have them on OSX?
The text was updated successfully, but these errors were encountered: