#Firebase Champions app problems

5 messages · Page 1 of 1 (latest)

grim seal
#

Hello, I followed the tutorial and I try to push the input text into the list but it doesn't work. I check the details like set the HTML <script src="index.js" type="module"></script> and make sure I use my firebase url in appSettings object . The output shows:** Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.** I cannot get the hint about that because I have added the type="module" in my HTML. Does anyone have the same problem?

lost ruin
#

Are you running this from a live server ? VS code should have that feature in the bottom right of the screen, it's a small icon. If not you can download an extension.

#

Alternatively, you could learn Vite. https://vitejs.dev/ which has it's own dev server.

Next Generation Frontend Tooling

grim seal
lost ruin