OneSignal / onesignal-vue3

Vue 3 OneSignal Plugin: Make it easy to integrate OneSignal with your Vue App!
Other
19 stars 5 forks source link

[Bug]: Database.js:100 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'message') #34

Closed Abdukhamid000 closed 1 month ago

Abdukhamid000 commented 1 year ago

What happened?

Database.js:100 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'message')

giving this error on console I follwed the instruction but the same error is occuring

What browsers are you seeing the problem on?

Chrome (Chromium)

What operating system are you running?

macOs

Steps to reproduce?

Database.js:100 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'message')

What did you expect to happen?

Database.js:100 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'message')

Relevant log output

Database.js:100 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'message')
Tibze commented 1 year ago

Same error for me !

BramDecuypere commented 1 year ago

I'm having the same issue, coming back after a few months of ignoring this. This doesn't seem to work for my localhost testing setup. How do current active users actually test what they do while building on this plugin?

jkasten2 commented 1 year ago

The error is due to the OneSignal-Website-SDK v16 (used by onesignal-vue3 v2) dropping support for HTTP sites. Your site must start with http:// to use this new major release.

We will be providing a better error message in the future so the next steps are clear.