no such file or directory app-update.yml
See original GitHub issue- Version: “electron-updater”: “^1.6.4”, “electron-log”: “^1.3.0”
- Target: macOS
I use auto-update for installed application
[2017-02-14 18:45:25:0741] [info] App starting...
[2017-02-14 18:45:30:0698] [info] Checking for update
[2017-02-14 18:45:30:0698] [info] Checking for update...
[2017-02-14 18:45:31:0713] [error] Error: Error: ENOENT: no such file or directory, open '/Volumes/Chat/Chat.app/Contents/Resources/app-update.yml'
at Error (native)
From previous event:
at /Volumes/Chat/Chat.app/Contents/Resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:238:27
at next (<anonymous>)
From previous event:
at MacUpdater.loadUpdateConfig (/Volumes/Chat/Chat.app/Contents/Resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:271:11)
at /Volumes/Chat/Chat.app/Contents/Resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:147:33
at next (<anonymous>)
From previous event:
at MacUpdater.doCheckForUpdates (/Volumes/Chat/Chat.app/Contents/Resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:225:11)
at /Volumes/Chat/Chat.app/Contents/Resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:137:25
at next (<anonymous>)
at runCallback (timers.js:574:20)
at tryOnImmediate (timers.js:554:5)
at processImmediate [as _immediateCallback] (timers.js:533:5)
From previous event:
at MacUpdater._checkForUpdates (/Volumes/Chat/Chat.app/Contents/Resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:181:11)
at MacUpdater.checkForUpdates (/Volumes/Chat/Chat.app/Contents/Resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:119:35)
at Timeout._onTimeout (/Volumes/Chat/Chat.app/Contents/Resources/app.asar/main.js:80:15)
at tryOnTimeout (timers.js:232:11)
at Timer.listOnTimeout (timers.js:202:5)
[2017-02-14 18:45:31:0713] [info] Error in auto-updater.
I use this example https://github.com/iffy/electron-updater-example
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Auto update doesn't work: app-update.yml is missing #4233
Error : ENOENT: no such file or directory, open 'C:\Users\xyz\AppData\Local\Programs\electron-updater-example\resources\app-update.yml'.
Read more >Problem with app update yml files is not generated in electron?
If you have a problem with missing app-update.yml and dev-app-update.yml then paste the following code into index.js:
Read more >Auto Update - electron-builder
electron-builder automatically creates app-update.yml file for you on build in the resources (this file is internal, you don't need to be aware of...
Read more >[SOLVED] Unity Hub 3.0.0 extremely slow and cannot activate ...
Error: Error: ENOENT: no such file or directory, open '/opt/unityhub/resources/app-update.yml'. (electron) Security Warning: A WebContents ...
Read more >Problem with app update yml files is not generated in electron?
Error unknown ENOENT : no such file or directory, open 'C:\{appPath}\{appName}\resources\app-update.yml'. and here is my package.json 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
Update electron-builder to 13.7.0
Update: Oh, I see that auto updating is not yet supported in dev. Consider this a +1 for #1254
I’m getting the same problem with the following installed:
Version: electron: 1.4.15 electron-builder: 14.4.0 electron-updater: 1.9.0
Target: windows
I’m building using electron-builder with the following:
build --win --x64 --ia32
I’m using the two package.json structure like so:
development package.json
app package.json