Closed FixUndFerdig closed 3 days ago
Hey @FixUndFerdig, thanks for reaching out. Based on the information you provided, it looks like the issue you’re encountering is the same as https://github.com/firebase/firebase-tools/issues/7378 and https://github.com/firebase/firebase-tools/issues/7363 which affects v13.11.4 and v13.11.3. A fix for this has been implemented in https://github.com/firebase/firebase-tools/pull/7382, which should be available in the next release of firebase-tools. In the meantime, using v13.11.2 should workaround the issue.
Just an update here, it looks like v13.12.0 has just been released, updating to the latest version should fix the issue.
Yes, updating fixed the issue. Thank you!
[REQUIRED] Environment info
firebase-tools: 13.11.3
Platform: Windows
[REQUIRED] Test case
"source": "**", "destination": "/index.html"
[REQUIRED] Steps to reproduce
Set up Firebase Hosting like described in the Documentation. When the Project is deployed with this firebase.json - file it works like intended.
To make URLs like
<Hosting-Domain>/download
accessible, a rewrite, like this, has to be added:[REQUIRED] Expected behavior
When this is deployed, it should display my Webpage.
[REQUIRED] Actual behavior
When this is deployed locally with the Emulator Suite it works as intended. But when this is deployed online (with 'firebase deploy'), a blank Page is displayed and the Console on the Browser displays this Messages:
The FormatException apparently refers to my Index.html-file which looks like this:
Ways I tried to fix this Error:
"$FLUTTER_BASE_HREF"
or“./”
"public": "build/web"
in firebase.json to"source": "."
and similar combinations