Try resting the config path and it should refresh and resolve the issue.
If not create empty file at the path or check for permissions
Install or update the FlutterFire CLI:
dart pub global activate flutterfire_cli