'How can i firebase initialize from first in the same project?
I am using firebase authentication in react project. I want to firebase initialize from first. How can i do it? I am tried but failed to complete initialized.
Solution 1:[1]
first of all, build folder and.firebase , .firebaserc , firebase.json , package-lock.json , yarn.lock ( if exist ) delete them.
Then re command those.
firebase init
and follow the steps as you want to deploy.
What do you want to use as your public directory? build
Configure as a single-page app (rewrite all URLs to /index.html)? Yes
Set up automatic builds and deploys with GitHub? No
File build/index.html already exists. Overwrite? Yes
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Raihan Ali |
