DEV Community

Discussion on: Web-App using HTML, JS & Firebase - Part 1

Collapse
 
mjoycemilburn profile image
MartinJ • Edited

Hi Sooraj, Google seems to have changed a few things since you posted this excellent tutorial. For example, the Firebase console is now worded differently in one or two places.

I think I found my way through this OK, but I'm currently stuck on finding sources for the Firebase scripts.

The source you quote: "gstatic.com/Firebasejs/7.22.0/Fire..." currently throws a 404.

Google's docs instruct me to use "/__/firebase/8.7.1/firebase-app.js" but this is using an auto-configuration scheme that just isn't working for me.

I managed to find replacements at "gstatic.com/firebasejs/8.7.1/fireb..." and
"gstatic.com/firebasejs/8.7.1/fireb..."

But then the Firebase.initializeApp fails, telling me that Firebase is undefined.

Going back to Firebase docs, it seems I now also need a

"/__/firebase/init.js"

However, I've not been able to find a gstatic.com replacement for this. I probably need to get to the bottom of this auto-configuration arrangement

Any advice would be very welcome

Collapse
 
soorajsnblaze333 profile image
Sooraj (PS) • Edited

Thank you for pointing out the outdated links. This article was written last year and I think some of it has been changed as per what you have said. I will surely update the document links and add anything new that has changed :). I will consider rewriting this tutorial with the latest docs in a while :)

Collapse
 
mjoycemilburn profile image
MartinJ

Thanks Sooraj. There's some discussion of the issue at github.com/firebase/quickstart-js/....