The app packages successfully but gives an ENOENT error on opening it. After the app is written is the specified folder. On opening the Application file, an error is shown - ENOENT : no such file or directory. open 'package.json'
With Electron-Packager And Builder - I have tried a flat file structure as in electron-quick-start (main, package, index all in parent folder).
Also With Electron-Packager- Tried recommended file structure as well (src/main, index).
The error is same via Electron Builder & Packager both.
The details are as follows -
Package.json & CLI : https://i.sstatic.net/vzVR6.png
Error when Application is opened : https://i.sstatic.net/8mRq4.png
The Basic version of Project can be tested here : Downloadable Project
Solution
The bug is because of Electron-DB : here
The bug is because of Electron-DB : here