appfeel / node-pushnotifications

Push notifications for GCM, APNS, MPNS, AMZ (automatic detection from device token)
MIT License
534 stars 126 forks source link

Cannot create PushNotification instance #168

Closed aotol closed 2 years ago

aotol commented 2 years ago

I was following the instruction on page: https://www.npmjs.com/package/node-pushnotifications

It was all good till recently, NodeJS start complaining during runtime: TypeError: PushNotifications is not a constructor

At line: const push = new PushNotifications(settings);

alex-friedl commented 2 years ago

@aotol Thank you for reporting this. Did it work with v1.7.1 but stopped working with v1.7.2 ?

alex-friedl commented 2 years ago

Should be fixed in v1.7.3