MatthieuLemoine / electron-push-receiver

A module to bring Web Push support to Electron allowing it to receive notifications from Firebase Cloud Messaging (FCM).
https://medium.com/@MatthieuLemoine/my-journey-to-bring-web-push-support-to-node-and-electron-ce70eea1c0b0
MIT License
191 stars 62 forks source link

Cannot find module "electron-push-receiver" #89

Open JustDo opened 1 year ago

JustDo commented 1 year ago

Version: 2..1.3 Target: windows 10

Im building an app on windows. When build success and run app , then got error "Cannot find module "electron-push-receiver"

微信截图_1111

There is no such problem in the development environment, and notifications can be received normally

微信截图_20220818164059

After commenting this line of code, it will be normal