All Questions
Tagged with firebase-tools reactjs
56 questions
1
vote
1
answer
96
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
0
answers
86
views
Testing React + Firebase with emulator
I have a Firebase project where I'm using Firebase Functions and Hosting, and React for the frontend. During firebase init, I set build as my hosting directory, which is created by npm run build.
For ...
0
votes
0
answers
17
views
Upgrading Firebase-tools is breaking my react app URL's that contain params
I have a react app which I've been working on for years and is hosted in firebase. Everything has been working smoothly for years. My version of firebase-tools was 11.17.0
In my react app, I have all ...
0
votes
1
answer
3k
views
Firebase Functions Failed to load function definition from source
I am working on an existing React / Firebase project and wanted to add emulators, ironically to save time. I have not been able to get the emulators to run locally.
I get a rather vague error:
⬢ ...
0
votes
1
answer
112
views
Firebase NextJS Deploy error copying files
I am using Firebase to deploy my NextJS app to Firebase Hosting. I get an error that seems to be related to copying a non-existent file from the .next folder to the .firebase folder. This is the error:...
-1
votes
1
answer
101
views
when i run this command "firebase deploy --only functions" it show me errors
I want to use Firebase Database as i am developing Amazon Clone , so when i run this command "firebase deploy --only functions" to deploy my backend on firebase but i am getting errors like,
...
4
votes
0
answers
119
views
firebase snapshot listener create many LIST requests
I have a react component in which I need to read some data from firestore. I am using real time time updates via a onSnapshot function inside of a useEffect call with a return , like so:
const {id} =...
0
votes
1
answer
589
views
Firebase Emulator with Jest Test cases in ReactJS
I'm trying to get data from Emulator store but I haven't the idea of how can I achieve it. still, I tried to implement it but got the below error. my main focus is HOW CAN I USE THE Emulator in the ...
1
vote
2
answers
2k
views
Can't use NextJS with Firebase
I am trying to build an app using Firebase and NextJS. I have already done several tests, all of them unsuccessful at this point.
Below is a detailed description of my last trial. I hope someone will ...
1
vote
1
answer
381
views
Using NextJS with Firebase
I am trying to build an app using Firebase and NextJS.
I have already done something using Firebase and React, but not yet with NextJS.
So I am likely to miss some important details in the setting ...
0
votes
1
answer
1k
views
React project has Firebase Emulator ApiKey Error
i have recently connected my React project to Firebase emulator. On the production environment, the app worked as it should but since moving to emulator, its unpredictable.
I get the following errors ...
1
vote
2
answers
845
views
Can't write to Firestore Emulator
i'm using Firebase and React. I'm not able to write to my emulator data, or rather, i can't see it after writing. So when a user signs up, i copy their name to Firestore, so even though the web app ...
0
votes
0
answers
43
views
Can't connect to Firebase Firestore Emulator [duplicate]
I'm not able to connect to my local firestore emulator for hosting, storage, firestore, functions and auth.
When i connect to localhost:3000, it is blank without any data, yet i can't signup any users....
2
votes
3
answers
1k
views
How to resolve multiple projectIDs in Firebase realtime database emulator
I am using firebase emulator database and got the following warning when trying to order messages by "editedAt".
2023-03-24T18:21:33.576Z] @firebase/database: FIREBASE WARNING: Using an ...
0
votes
1
answer
303
views
How to host React app with Firebase emulator
I am trying to get an already functioning webapp with firebase deployment going on a new pc, I am using VS code with Node on Windows. When I run yarn start, it executed fine on the port 3000. When I ...