I got this error when I was trying to build an electron app with electron-builder:
Application entry file "dist/src/main" in the "/Users/username/appname/appname/electron-app/build/mac/pos.app/Contents/Resources/app.asar" does not exist. Seems like a wrong configuration.
stackTrace=Error: Application entry file "dist/src/main" in the "/Users/username/appname/appname/electron-app/build/mac/pos.app/Contents/Resources/app.asar" does not exist. Seems like a wrong configuration.
So I did that for solving:
Into package.json
my value to main was like that "main": "dist/src/main"
then I changed to "main": "dist/src/main.js"
and it was solved!
Top comments (0)