You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On initialization (using yarn install and yarn run dev), I receive a sequence of errors:
VM123 sandbox_bundle:2 Unable to load preload script: /Users/aerypro/git/acwms-electron/dist-electron/preload/index.mjs
Error: ENOENT: no such file or directory, open '/Users/aerypro/git/acwms-electron/dist-electron/preload/index.mjs'
chunk-PP72ARUD.js?v=6603f438:16657 Uncaught TypeError: Cannot read properties of undefined (reading 'on')
at index.tsx:89:24
at commitHookEffectListMount (chunk-PP72ARUD.js?v=6603f438:16902:34)
at commitPassiveMountOnFiber (chunk-PP72ARUD.js?v=6603f438:18150:19)
at commitPassiveMountEffects_complete (chunk-PP72ARUD.js?v=6603f438:18123:17)
at commitPassiveMountEffects_begin (chunk-PP72ARUD.js?v=6603f438:18113:15)
at commitPassiveMountEffects (chunk-PP72ARUD.js?v=6603f438:18103:11)
at flushPassiveEffectsImpl (chunk-PP72ARUD.js?v=6603f438:19484:11)
at flushPassiveEffects (chunk-PP72ARUD.js?v=6603f438:19441:22)
at chunk-PP72ARUD.js?v=6603f438:19322:17
at workLoop (chunk-PP72ARUD.js?v=6603f438:195:42)
and a bunch of other errors that start with a failed preload. How to address?
Full logs:
The text was updated successfully, but these errors were encountered:
I have the same problem. A minimal npm create electron-vite with Typescript and React doesn't work. The ipcRenderer simply does not get exposed to Vite in the browser. I've searched way more than I should and no one has this problem the the most similar problems haven't been useful to me. I'd be really greatefull if someone could help.
On initialization (using
yarn install
andyarn run dev
), I receive a sequence of errors:and a bunch of other errors that start with a failed preload. How to address?
Full logs:
The text was updated successfully, but these errors were encountered: