Closed major697 closed 8 months ago
have same issue
you can suppress this error by setting overrides
or pnpm.overrides
in package.json
{
"overrides": {
"vite-plugin-electron": {
"electron": "29.0.1"
}
}
}
Thank you @subframe7536 for me i just added :
"overrides": {
"vite-plugin-electron": {
"electron": "$electron"
}
}
Because $electron
was already declared into my project 😄 More details
vite-plugin-electron in version v0.28.2, not working with electron in version v29.0.1:
In package.json in vite-plugin-electron library should be version of Electron: v29.x.x: