beppek / photography-app

Serverless photography portfolio using React, Redux and Firebase. This is the front end, a back end is needed to upload and categorize images.
1 stars 3 forks source link

Error FIREBASE FATAL ERROR: Cannot parse Firebase url #1

Closed Gease-RS closed 5 years ago

Gease-RS commented 5 years ago

I tried to start the application but an error appears if someone can help. Thankful!

This is the error that appears:

Error: FIREBASE FATAL ERROR: Cannot parse Firebase url. Please use https://.firebaseio.com ▶ 7 stack frames were collapsed. Module../src/config/firebase.js C:/../Desktop/REFERENCE/market-master/src/config/firebase.js:7 4 | import { FirebaseConfig } from "../config/keys"; 5 | firebase.initializeApp(FirebaseConfig); 6 |

7 | const databaseRef = firebase.database().ref(); 8 | export const pedidosRef = databaseRef.child("pedidos"); 9 | export const timestamp = firebase.database.ServerValue.TIMESTAMP;

Gease-RS commented 5 years ago

Solved, I changed the firestore database for realtime and solved.