I ran firebase init in the wrong directory and it is connected to my project. To undo that, can I just delete ./firebase.json and my_newly_created_folder_name/ from the terminal? Thanks
5 Answers
You should delete firebase.json
and .firebaserc
if it exists. Once those files are deleted you should be good to go.
-
Thank you! worked for me to solve this problem: stackoverflow.com/questions/72104731/…– WhooNoCommented May 4, 2022 at 17:15
I am using the following command
npm uninstall firebase
and
npm uninstall angularfire2
it works for me
-
it removes formModule and post from my http service..... sad Commented Mar 17, 2023 at 14:58
As for Firebase CLI version 8.4.2, you should delete the folder "functions" as well as the following files: firebase.json, .firebaserc, .gitignore.
If this is your case do not forget in /.github/workflows you may have CI (Deploy to Firebase Hosting on merge) configuration files firebase-hosting-merge.yml and firebase-hosting-pull-request.yml.