All Questions
Tagged with firebase-tools firebase-hosting
221 questions
1
vote
1
answer
95
views
+50
Firebase Hosting "Site Not Found" Error after Successful Deployment (React + Vite)
I deployed my React app to Firebase Hosting, and the deployment logs indicate success, but accessing the hosting URL shows a "Site Not Found" error. The build is performed correctly, as it's ...
0
votes
1
answer
18
views
Firebase Emulator Suite Ignoring firebase.json port configuration, always defaults to 5002 for Hosting
I'm encountering a persistent issue with the Firebase Emulator Suite where the Hosting emulator consistently ignores the port configuration specified in my firebase.json file and always defaults to ...
0
votes
1
answer
98
views
Dealing with Firebase hosting issues
I have a flutter web app that I used firebase for its database, authentication and deployment, but whenever I deploy I only see this screen.
this is the firebase.json file
{
"database": {
...
0
votes
1
answer
71
views
Cloud Run service `app` does not exist in region `us-central1` in this project
I keep getting the following error when deploying to firebase.
firebase.json [
{
"config": {
"public": "static",
"ignore": [
"...
0
votes
0
answers
198
views
How to Fix Firebase Deploy Unexpected Error Occured?
firebase deploy --only hosting
=== Deploying to 'PROJECT'...
i deploying hosting
i hosting[PROJECT]: beginning deploy...
i hosting[PROJECT]: found 55 files in public
-
Error: An unexpected error ...
0
votes
0
answers
56
views
How can I fix "Invalid value at 'version.config.rewrites[0]" with Firebase hosting configuration?
Let me give you some context, I'm trying to change the redirection of a function that is in the US region to a European region in an Angular project. Previously, the configuration was like this in the ...
0
votes
0
answers
32
views
Firebase init, deploy no errors; but why the website not showing
I did npm npm run build, firebase init and firebase deploy on vscode.
(base) PS C:\xampp\htdocs\episode2> firebase deploy
=== Deploying to 'azlife-a8cb2'...
i deploying hosting
i hosting[azlife-...
0
votes
1
answer
97
views
absolute path in firebase.json hosting.public
How can I use an absolute path to store the content to deploy?
I tried next config, but does not work:
"target": "site",
"public": "/tmp/dist",
...
0
votes
1
answer
114
views
Deploy angular app to firebase hosting 404 error
After "firebase deploy" command, I have a 404 error...
I'm trying to deploy an angular app on firebase hosting but I have a 404 error (don't find index.html).
firebase login : is OK
firebase ...
0
votes
0
answers
67
views
Firebase rewrite rules work locally via firebase serve but not when deployed
I started working on a Firebase Hosting project to host my custom, so not via the deprecated Firebase links, association files and assetlinks json. The solution I had in mind included the following ...
1
vote
1
answer
126
views
Can't build and deploy a flutter web app to firebase hosting after updating firebase-tools
I have a flutter web app that runs locally on my machine when I give the command:
flutter run -d chrome
I was able to build and deploy using the following two commands:
flutter build web
firebase ...
1
vote
1
answer
33
views
Non expiry Firebase staging
I'm a front-end dev, typically programming in Svelte. I'm new to Firebase and to back-end stuff in general, and I'm trying to use Firebase as I consider it a friendly way to integrate a back end into ...
0
votes
1
answer
37
views
Firebase Function rewrite being processed as GET
After building a function and hosting (for a custom domain), I'm noticing that my POST request is getting processed as a GET in the logs.
This is my firebase.json file
{
"hosting": {
...
0
votes
0
answers
88
views
IterableIterator<[any, any]>' can only be iterated ... '--downlevelIteration' flag or
In a NextJS app hosted on Firebase I have the following code in the file functions/src/index.ts
(i.e. Cloud functions)
for (const [level, lvlCount] of activeLevels.entries()) {
jsonResult = Object....
0
votes
0
answers
50
views
The public directory not found
I have a problem with the public directory I can't find the file in my desktop but when I run the hosting setup in the terminal its said that is already existing
I have this error
Error: Directory '...