Open tonyada opened 8 months ago
Are you using the React Google Chrome plugin within Electron?
Are you using the React Google Chrome plugin within Electron?
Yeah that's the only way atm. I have the same issue, trying to install react and redux devtools. It works in production/packaged app but not in dev mode. Using https://github.com/MarshallOfSound/electron-devtools-installer
@caoxiemeihao any ideas?
@caoxiemeihao any chance you could take a look at this?
Is there a way to offer a bounty for resolving this issue? I'll start the bidding with $100.
@caoxiemeihao any chance you could take a look at this?
@Stanzilla Sorry, I just saw this message. I've been very busy at work recently. I'll take some time to look at this issue.
@caoxiemeihao any chance you could take a look at this?
@Stanzilla Sorry, I just saw this message. I've been very busy at work recently. I'll take some time to look at this issue.
Awesome, thank you! Glad that you found a new job as well, I remember you were looking!
@Stanzilla I noticed your comments about this issue elsewhere. Maybe we need to wait for an official response from Electron.
@Stanzilla I noticed your comments about this issue elsewhere. Maybe we need to wait for an official response from Electron.
I'm not sure since it does work in build mode my guess is that vite just does not know where to look for the files in dev mode.
@Stanzilla I noticed your comments about this issue elsewhere. Maybe we need to wait for an official response from Electron.
Is there a way to expedite an official response from Electron?
To everyone got struggled:
I found a workaround to add back react devtools to electron. The root cause is the default startup argument --no-sandbox
in electron-vite-plugin
. Therefore I tried to modify vite.config.mts
like this:
electron([
{
entry: 'electron/main.ts',
onstart: (option) => option.startup(['.']),
// ... other configs
},
// ... other configs
])
To everyone got struggled:
I found a workaround to add back react devtools to electron. The root cause is the default startup argument
--no-sandbox
inelectron-vite-plugin
. Therefore I tried to modifyvite.config.mts
like this:electron([ { entry: 'electron/main.ts', onstart: (option) => option.startup(['.']), // ... other configs }, // ... other configs ])
Oh my god, it works, thank you!
Describe the problem you confuse
any help?