Quasar build bug? #17319
Labels
area/cli
bug/0-needs-info
Need more info to reproduce
flavour/quasar-cli-vite
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
Hello quasar people!
I was working on a PWA made with quasar and suddenly, when uploading it to my firebase hosting, I encounter the following error:
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
I tried everything and the error does not go away. As a last resort, I decided to reinstall my windows from scratch, and try to implement a basic quasar spa, without modifying anything. But the error persists.
I have been working for years with quasar and firebase, and I have never had anything like this happen to me.
The basic spa is hosted at https://mcaenergy.web.app, in case you want to check the error.
The "quasar build -m spa" does it correctly, as well as the "firebase deploy".
I don't know what else to try, I thank you for your help already.
What did you expect to happen?
Just display the content of my webapp!
Reproduction URL
https://github.com/MandingaRadi/Error
How to reproduce?
In firebase hosting the "quasar icon" and the "productName" load correctly, but nothing else.
In github: not found error 404
in dev mode work's fine.
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)
Platforms/Browsers
Other
Quasar info output
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: