Waiting for another flutter command to release the startup lock
Error while — pub get
Resolution Steps —
- go to the flutter root folder
- delete
/bin/cache/lockfile - run pub get
Cause for error —
This is generally caused when there is a mistake in pubspec.yaml file. The pub get command will not get completed successfully and if meanwhile, we trigger another pub get, this error occurs.
originally published at https://vedify.in/waiting-for-another-flutter-command-to-release-the-startup-lock-803c201db4fd