Asar: false, causing exception on app startup with v16.4.0
See original GitHub issue- Version: 16.4.0
- Target: Win64 NSIS
Just updated from 15.4.3 to 16.4.0
Received the following exception on App startup (install OK):
A JavaScript error occurred in the main process Uncaught Exception: Error: Unable to find a valid app at Object.<anonymous> …\resources\electron.asar\browser\init…:9
If I set asar: true
, all is good.
I use asar: false
during development.
Build Config:
"build": {
"appId": "com.myapp.myapp",
"asar": false,
"productName": "My App",
"compression": "store",
"npmRebuild": false,
"win": {
"target": [
"nsis"
],
"certificateSubjectName": "My Cert",
"legalTrademarks": "My Trademark™"
},
"nsis": {
"perMachine": false,
"allowElevation": true,
"oneClick": true,
"language": "3081"
},
"directories": {
"buildResources": "resources",
"output": "package_desktop",
"app": "dist"
}
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Source - GitHub
... Fixes * Asar: false, causing exception on app startup with v16.4.0 ([7c6b4ab](https://github.com/electron-userland/electron-builder/commit/7c6b4ab)), ...
Read more >Recently Active 'electron-forge' Questions - Page 2 - Stack Overflow
I have an Electron application where I am trying to use asar to package the node_modules and sources directories excluding the other directories....
Read more >Release News - Contrast Documentation
Parent applications now show which vulnerabilities and routes are associated with which child application with a filter in the respective grid. This will...
Read more >Untitled
Zielsetzung der arbeit diplomarbeit, Fattenbergstraat neerbeek, Apps 337 one piece, ... Cisco telnet read only access, Ostseehaus rosenweg 16 boltenhagen!
Read more >MetaDefender Core v4.19.0 - OPSWAT Knowledge Center
v4.19.0. 16. 1. 2. 1. Quick Start with MetaDefender Core. This guide describes the basic steps for installing and scanning files with ...
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
Thanks, fix will be in the next release.
Thanks @develar ! I can confirm this is now working. You’re a champion!