electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.46k stars 1.71k forks source link

There are no issues with local debugging and detection updates. After successful packaging, when installing the Electron application, it prompts Cannot find module 'Electron Updater' #8289

Open 18715672252 opened 2 days ago

18715672252 commented 2 days ago

1719820965784_2A8DC75E-9817-4672-AE78-9D63D28670F8

"devDependencies": { "electron": "^30.0.4", "electron-builder": "^24.13.3" }

"dependencies": { "@electron-toolkit/utils": "^3.0.0", "axios": "^1.6.8", "electron-is-dev": "^3.0.1", "form-data": "^4.0.0", "electron-updater": "^6.2.1" }

18715672252 commented 2 days ago

1719821666650_8ACBF809-3513-46f3-86DB-C4A42498A04A

mmaietta commented 2 days ago

How are you importing electron-updater? What are you packaging with? Did you use the sample code from here by chance? https://www.electron.build/auto-update#quick-setup-guide