2,466 questions
0
votes
0
answers
36
views
Flutter Web App Shows Blank Page After Firebase Hosting Deployment
I built a Flutter web app using a --dart-define variable like this:
flutter build web --dart-define=MY_API_URL=https://api.example.com
When I serve it locally using:
firebase serve --only hosting
...
0
votes
0
answers
75
views
google auth + firebase hosting + nextJS: State cookie was missing
I am developing an app in nextJS using next-auth for authentication. So far I only have Google as provider. The app is hosted using firebase hosting.
Running the app in localhost works fine, but when ...
0
votes
0
answers
27
views
Routing Issue: Transition to /category/smartphones/iphone Opens index.html Instead of category.html
I have a web application running on localhost:5000 using HTML pages (index.html and category.html) with dynamic component loading (e.g., header.html) via the loadComponent function. Links in the menu (...
1
vote
0
answers
69
views
Angular file replacement when deploying to Firebase Hosting via Github Actions
I have my Angular project setup with 3 environments (local, preview, and prod). I'm deploying the website to Firebase Hosting using Github Actions. I cannot seem to get the deployment to use the ...
1
vote
2
answers
46
views
GitHub Actions Workflow Failing: Artifacts Array Returns [] During Firebase Deployment
I’m facing an issue with my GitHub Actions CI/CD setup for deploying a web app to Firebase Hosting. I’ve set up three workflows:
Pull Request Workflow: Validates code on PR creation.
Build Workflow: ...
0
votes
0
answers
58
views
Firebase Hosting not working through actions with Nuxt 3
I have a strange problem. If I manually deploy my Nuxt 3 app to Firebase Hosting which uses Firebase Functions, everything works perfectly. I am deploying it by using nuxt build and firebase deploy. ...
0
votes
0
answers
59
views
updating nextjs app hosted with Firebase Hosting leads to node.Js version error
I'm hosting my nextjs app with Firebase Hosting with SSR support for Next.js (experimental). I used to use a node version below 18. Now I updated the app to version 20.11.0 and get the following error:...
0
votes
1
answer
31
views
Cloud Run Service Not Receiving Requests from Firebase Hosting
We are experiencing an issue where our Cloud Run service does not appear to be receiving HTTP requests routed from Firebase Hosting.
Our setup involves a client-side application hosted on Firebase ...
0
votes
0
answers
86
views
How Firebase hosting deploy of Next.js Dynamic routes work
I am deploying a platform based on Next.js with dynamic routing like "Route/[id]".
In a past version of my platform, which was not dynamic, I just used output: "export" when ...
3
votes
1
answer
412
views
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
151
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
0
answers
76
views
firebase hosting rewrites to gcp cloud run, but lost header Authorization
{
"target": "xxx",
"public": "dist",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites&...
1
vote
0
answers
51
views
Firebase rewrite to run service leading to "not found" page
When I try to call a rewrited route to a Run Container I got a not found page.
If I call this Run Container from it's URL it's working fine so I think it's something I'm missing or maybe a bug with ...
0
votes
0
answers
19
views
Firebase: hosting for staging environment [duplicate]
I need to create a staging version of a project in firebase for my flutter app.
In firebase.json I have two sites configured in the "hosting" section:
{
"hosting": [
{
"...
0
votes
0
answers
50
views
Firebase Hosting firebase.json File Changes Not Showing Up
I've been using Firebase for a number of years to host a very simple static HTML site. I recently removed a page and would like to create a 301 redirect to an alternative page hosted on the same ...
3
votes
2
answers
184
views
Firebase Email Link Sign-In: ‘The operation is not valid’ error on iOS (Flutter, Firebase Hosting, No Dynamic Links)
I’m implementing Firebase Email Link Sign-In in my Flutter app and using Firebase Hosting instead of Dynamic Links.
It works fine on Android, but on iOS, I get the following error:
The operation is ...
0
votes
0
answers
29
views
Controlling site name within Firebase
I would like to know how to control the used web site when using Firebase.
But for the time being things seems a bit random to me.
Here is what I have, looking in Hostings, in my Firebase console:
- ...
0
votes
1
answer
69
views
firebase.json rewrite for root to serve index.html with different server funciton
I have an SPA, created with Vue2.
Step-by-step I'm migrating routes to Nuxt(SSR)+Vue3.
With firebase hosting I serve the migrated routes via a different hosting function:
firebase.json:
"rewrites&...
0
votes
1
answer
89
views
Firebase hosting won't serve latest version of flutter app without hard refresh
I am using Flutter + Firebase hosting. I have already added cache control headers to say that my app should never be cached. Here is my firebase.json:
{
"flutter": {
"platforms&...
1
vote
0
answers
72
views
Deploy flutter to firebase web without using default build step in 'firebase deploy'
I am using Firebase Hosting with Flutter for web. I would like to modify the default build command that firebase deploy executes, but I can not find any documentation about how to do this. I need to ...
0
votes
0
answers
29
views
Deploy sourcemaps to firebase web hosting with flutter project?
I am debugging a complex issue that only occurs in prod. I am trying to upload sourcemaps so that I can see what lines are actually failing, however I can not get firebase deploy to actually deploy my ...
0
votes
1
answer
257
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
0
answers
95
views
Firebase Hosting Setup Complete window (while deploying a website instead of the actual website)
I'm traying to deploy my website using Firebase , and I'm using flutter in (VS-code),
there are no errors with the project code or while deploying or building the website with these terminal commands:
...
0
votes
1
answer
214
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": [
"...
1
vote
0
answers
49
views
Why am I unable to post preview url as comment on Github Pull request?
I am using Flutter web with Firebase and want to post preview url as a comment on Pull Request. I tried several ways and finally when I hard code the pr number its working. This is how I have it now.
...
1
vote
0
answers
72
views
React Webcam Doesn’t Work When Using Firebase Hosting
I have a React App that uses the webcam to detect specific poses. As the title suggests, when I deploy the app locally, it works as expected.
However, when deploying the app to firebase hosting, the ...
0
votes
1
answer
429
views
3rd party cookies in Android 14/New Chrome using Angular/Firebase Auth/Hosting and NodeJs in Server
https://issuetracker.google.com/issues/383751192
We have this issue from the link above.
I'm sure it appears due to Chrome's new strict policies automatically blocking 3rd party cookies. Since on ...
0
votes
0
answers
82
views
Nextjs middleware is not able to read cookies, when deployed on Firebase hosting
I have a Nextjs 15.1.3 website that works well in development mode (locally). However, when deployed to Firebase hosting, I am no longer able to read cookies in the middleware.
Here is what I am ...
0
votes
0
answers
193
views
Cloud run and Firebase app have suddenly started throwing CORS issues
Since yesterday, I've been having strange issues with my deployed application. My backend server is hosted on Cloud Run on a default provided domain https://xxx.run.app and the frontend is hosted ...
2
votes
0
answers
94
views
Firebase Hosting "Site Not Found" Error Despite Successful Deployment
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. build is performed correctly, as it's ...
0
votes
0
answers
37
views
Angular & Firebase Hosting: Font Loading Issue in Firefox for Missing i18n "en" Locale
I use Angular in combination with Firebase Hosting to host my website, which supports multiple i18n locales.
Everything works fine in modern web browsers except for Firefox, where I encounter a ...
0
votes
0
answers
263
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 ...
1
vote
0
answers
52
views
Firebase hosting not working for angular app
After lots of development locally using ng serve to interact with my angular app, I decided to add firebase hosting. After completing the setup, I clicked on the web link, which never loaded. Using '...
0
votes
1
answer
68
views
How to host a webpack-based project with Firebase Hosting while maintaining functionality?
I’m trying to host my social media-like web app on Firebase Hosting. My project uses Webpack for bundling and includes HTML, CSS, and JavaScript(firebase) files. However, I’m facing issues with ...
0
votes
0
answers
43
views
Why my env variables are not availble when I try to use like process.env.varname
Below is my job setup I want all these to be available in website to connect to firebase. But when I try to use variables with process.env.REACT_APP_FIREBASE_API_KEY_DEV it's always empty string
jobs:
...
1
vote
1
answer
191
views
Firebase/firebase genkit, app hosting nextJS project with genkit
I am trying to app host a nextJS application that uses genkit and firebase-admin. It is a RAG chatbot and locally it works however I cant seem to be able to hosting it with firebase due to peer ...
0
votes
0
answers
25
views
MIME type Error in Web Browser for Angular using Firebase
For a while now, anytime I make a push to my application, I will usually run into this error:
"Failed to load module script: Expected a JavaScript module script but the server responded with a ...
0
votes
0
answers
41
views
firebase hosting get google-site-verification
Where can I find google-site-verification on firebase hosting console?
I'm hoting website on firebase hosting and would like to change url of website.
When I did same process about year ago I was able ...
0
votes
0
answers
37
views
fontweight and image problem with flutter web
I am using flutter web with firebase hosting. Everything is working fine with some exception:
When I build with: flutter build web --release --web-renderer html the fontWeight is ignored and the ...
-1
votes
1
answer
43
views
Encountering issues locally when trying firebase hosting with Quartz SSG
I have created a site using Quartz SSG. It works locally when i do npx quartz build -d docs --serve, but when i try with Firebase Hosting preview commands like below, site doesn't respond much. Either ...
-1
votes
1
answer
59
views
Configuring firebase rewrites with react + static html
I'm working on a website that requires fast load times for a specific function, for which i require to host a html + js + css file separate to the react app.
I've configured the rewrite to this:
{
&...
-1
votes
1
answer
286
views
Cannot deploy to firebase hosting with CI: No OAuth tokens found
I tried to deploy my astro project into firebase hosting but i'm unable to deploy them with CI, but able to deploy them in my own machine. here is the log for the CI
[2024-10-21T08:50:57.760Z] > ...
0
votes
1
answer
133
views
Expo Web & Firebase Hosting: Header meta tags present in exported raw html file, but not when serving through Firebase hosting
I'm using Expo Router. I've created some routes and used the Head component to add static meta data tags. Running npx expo export -p web creates the routes in my dist/ folder. When opening those html ...
0
votes
1
answer
111
views
How to enable localization for Angular 18 SSR on Firebase App Hosting?
I’m hosting an Angular 18 SSR project on Firebase's new App Hosting service. I need to set up localization (e.g., /en, /tr paths). Do I need to configure nginx for this, or does Firebase App Hosting ...
0
votes
2
answers
237
views
how to configure Flutter web to Firebase Hosting based on flavors(environments, or build variants)?
I have been working on separating Firebase projects based on Flutter flavors for dev, staging, and prod. I have read lots of articles and set up Firebase projects for staging and prod for ios and ...
0
votes
0
answers
563
views
Unable to parse Build/Test.framework.js.br
I am trying to host my Unity WebGL Build on Firebase Hosting and I am using the Brotli compression for better performance and smaller build size. I saw in a post that Firebase supports brotli by ...
0
votes
1
answer
461
views
How can I host Unity Addressables files using Firebase Hosting? (Unity + Firebase Hosting)
I am working on a mobile game project and I am using Addressables to load the assets from a remote server instead of embedding them in the final build like it's usually done (thus reducing the final ...
2
votes
1
answer
718
views
How to proxy a Firebase Hosting API url to another backend api endpoint using rewrites
I decided to migrate my website to firebase hosting.
Let's say my website was https://example.com/ and this domain was both serving front htmls but also the API routes.
After the migration some parts ...
1
vote
1
answer
225
views
firebase app hosting CNAME not working with domain provider
I having trying to add a CNAME provided by firebase with my domain provider (strato) without success.It is somethign like
CNAME _acme-challenge_hsfgdhsdhghdsd.mydomain.com.
VALUE xxxxx-f64df44d13333....
0
votes
1
answer
123
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",
...