Issues with integrating Firebase into HTML Canvas

Hi,

Is it possible to import Firebase library into HTML Canvas?
Looks like it’s having issues importing the library:

Uncaught SyntaxError: Unexpected token ‘export’ (at firebase-app.js:1577:1)
firebase-firestore.js:1 Uncaught SyntaxError: Cannot use import statement outside a module (at firebase-firestore.js:1:1)
htmlcanvas:73 Uncaught ReferenceError: initializeApp is not defined
at window.onload (htmlcanvas:73:13)

I included the following urls to the 3rd party library:

https://www.gstatic.com/firebasejs/9.1.1/firebase-app.js
https://www.gstatic.com/firebasejs/9.1.1/firebase-firestore.js

Following the instruction on google’s document:
https://firebase.google.com/docs/web/setup

Hello, @kevinj

Thanks for reaching out,

Can you please share your JavaScript code so we can verify it? the username on your Ubidots account and the name of the dashboard where you have this HTML canvas would be useful as well. If you prefer send me that information in a private message.

Regards,

-Santiago