Closed alicestoneprod closed 3 months ago
import { defineConfig, externalizeDepsPlugin, bytecodePlugin } from "electron-vite"
main: { plugins: [externalizeDepsPlugin(), bytecodePlugin()], },
node 20.10.0
^2.3.0
^31.0.2",
^5.3.1
https://electron-vite.org/guide/troubleshooting#a-javascript-error-occurred-in-the-main-process-error-invaild-or-incompatible-cached-data-cacheddatarejected
I changed electron version, also changed node.js version and it got good compile.
Describe the bug
import { defineConfig, externalizeDepsPlugin, bytecodePlugin } from "electron-vite"
main: { plugins: [externalizeDepsPlugin(), bytecodePlugin()], },
node 20.10.0
Electron-Vite Version
^2.3.0
Electron Version
^31.0.2",
Vite Version
^5.3.1
Validations