Error: Application entry file "build/electron.js" in the "<path>/dist/mac/<app-name>/Contents/Resources/app.asar" does not exist.
See original GitHub issue-
Version:
19.49.0
-
Target: mac
I’m using create-react-app
and also followed below blog post.
https://medium.com/@kitze/️-from-react-to-an-electron-app-ready-for-production-a0468ecb1da3
Error: Application entry file "build/electron.js" in the "/Users/jarvis/Dev/sandbox/elec-app/dist/mac/elec-app.app/Contents/Resources/app.asar" does not exist. Seems like a wrong configuration.
at error (/Users/jarvis/Dev/sandbox/elec-app/node_modules/electron-builder-lib/src/asar/asarFileChecker.ts:7:12)
at /Users/jarvis/Dev/sandbox/elec-app/node_modules/electron-builder-lib/src/asar/asarFileChecker.ts:33:11
at next (native)
at /Users/jarvis/Dev/sandbox/elec-app/node_modules/graceful-fs/polyfills.js:287:18
at FSReqWrap.oncomplete (fs.js:123:15)
:
Issue Analytics
- State:
- Created 6 years ago
- Reactions:32
- Comments:37 (3 by maintainers)
Top Results From Across the Web
node.js - Application entry file does not exist in Electron Builder
js" in the "[path-to-project]/dist/mac/myapp.app/Contents/Resources/app.asar" does not exist. Seems like a wrong configuration.
Read more >Error: Application entry file "build/electron.js" in the "<path ...
Error : Application entry file "build/electron.js" in the "<path>/dist/mac/<app-name>/Contents/Resources/app.asar" does not exist.
Read more >Fixing "Error - Application entry file `dist/src/main` ... does not ...
I got this error when I was trying to build an electron app with ... -app/build/mac/pos.app/Contents/Resources/app.asar" does not exist.
Read more >My Electron App Size Is 530Mb . So, I Unzip The Asar File ...
Error : Application entry file "build/electron.js" in the "<path>/dist/mac/<app-name>/Contents/Resources/app.asar" does not exist. #2404. Closed. thinkholic.
Read more >electron builder not allowed to load local resource - You.com
was that the app.asar file does not contain any file call index.html inside ... but unfortunately that error comes. i even tried build...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Somehow, setting
files
workI was also getting this error (though I’m trying to build on Windows with 19.52.1) and just wanted to note that the workaround described in #2030 worked for me: