Open aendra-rininsland opened 8 years ago
I've ran into a similar issue with having main.js
electron file in the root along with package.json causing it to fail after packaging with electron-builder
. If I move the main.js
into a sub-directory and change main
in package.json to point at the sub-directory it works ok after it's built.
I had my
main
entry inpackage.json
pointing at a file in the same folder aspackage.json
, which was preventing any transpilation from going on. Runningelectron .
would work perfectly fine, but doing a build usingelectron-packager-compile
resulted in the following error:Moving it into a sub-directory suddenly made everything work.