If this happened after you update flutter or dart this means one of your global packages is back to the disabled
state.
in order to fix this just re-activate it. for me it was flutterfire and to fix it just run.
dart pub global activate flutterfire_cli