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
After running yarn package the resulting app returns error renderer_init.js:93 Unable to load <path>/preload.js
However, in development the bridge.ts / preload file loads and can execute node commands without issue.
I poked around with the settings but I have not figured out a solution for this issue.
I just had (other) build issues, too. What helped me was to update the electron dependencies – electron is two major versions ahead, and electron-forge has some minor fixes. I tested it with your codebase and got it built and running without errors.
This sadly spawns a new build error in node_modules/fluent-ffmpeg/index.js, that is discussed here. As a quick fix I just deleted the if/else require lib-cov there. Hopefully you can fix it more robustly. Good luck.
After running
yarn package
the resulting app returns errorrenderer_init.js:93 Unable to load <path>/preload.js
However, in development the bridge.ts / preload file loads and can execute node commands without issue.
I poked around with the settings but I have not figured out a solution for this issue.
Link to my code.
https://github.com/dustatron/video-converter
The text was updated successfully, but these errors were encountered: