Problem with my Discord Bot

Ive tried running my bot but i keep getting this error:
@firebase/database: FIREBASE FATAL ERROR: Can’t determine Firebase Database URL. Be sure to include databaseURL option when calling firebase.initializeApp().

4:01 PM

Unhandled Rejection at: [object Promise]

4:01 PM

Reason: Error: FIREBASE FATAL ERROR: Can’t determine Firebase Database URL. Be sure to include databaseURL option when calling firebase.initializeApp().

Ive installed the newest firebase package, and even reinstalled it but still doesnt work what should i do so i can fix it?

1 Like

Have you defined the ‘databaseURL’ when initializing it, as it says?

2 Likes

Do you check the URL is correct?

1 Like

how could i get the firebase database url?
im sorry ik its noob question but im kinda new to coding and stuff

1 Like

I found the answer for your problem. You can click here to solve it.

1 Like