Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

electon-updater not working #82

Open
williamoliveira opened this issue Oct 27, 2020 · 0 comments
Open

electon-updater not working #82

williamoliveira opened this issue Oct 27, 2020 · 0 comments

Comments

@williamoliveira
Copy link

After building and opening the app I get this error:

10:03:20.816 › Error: Error: Cannot find module 'fs-extra'
Require stack:
- /tmp/.mount_digisaLH2J7q/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js
- /tmp/.mount_digisaLH2J7q/resources/app.asar/node_modules/electron-updater/out/BaseUpdater.js
- /tmp/.mount_digisaLH2J7q/resources/app.asar/node_modules/electron-updater/out/AppImageUpdater.js
- /tmp/.mount_digisaLH2J7q/resources/app.asar/node_modules/electron-updater/out/main.js
- /tmp/.mount_digisaLH2J7q/resources/app.asar/main.js
- 
    at Module._resolveFilename (internal/modules/cjs/loader.js:798:15)
    at Function../lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7607:16)
    at Module._load (internal/modules/cjs/loader.js:691:27)
    at Module._load (electron/js2c/asar.js:717:26)
    at Function.Module._load (electron/js2c/asar.js:717:26)
    at Module.require (internal/modules/cjs/loader.js:853:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at _fsExtra (/tmp/.mount_digisaLH2J7q/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:5:1)
    at AppImageUpdater.loadUpdateConfig (/tmp/.mount_digisaLH2J7q/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:469:27)
    at Lazy.<anonymous> (/tmp/.mount_digisaLH2J7q/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:141:43)

Versions:

"electron": "8.2.0",
"electron-builder": "^22.4.1",
"electron-updater": "4.3.5",
"electron-webpack": "2.8.2",
"webpack": "4.44.2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant