electronelectron-packagerelectron-forge

Problem with files in packaged Electron app


I'm trying to package app via Electron Forge. Packaging process is finishing, but after running packaged app I receive error in console (some files can't import). Have someone ever had similar issue?

enter image description here

I've tried packaging app with asar option and without it but it didn't resolve issue.


Solution

  • Problem solved by setting relative paths in build process