Unable to create flutter project
'../documents/flutter/bin/cache/dart-sdk/bin/snapshots/pub.dart.snapshot': No such file or directory
It seems like there may be files missing from your Flutter SDK. There should be a file in the Flutter SDK at bin/cache/dart-sdk/bin/snapshots/pub.dart.snapshot
but this error suggests it's missing.
The easiest fix may be to delete the bin/cache
folder which will cause Flutter to re-download the Dart SDK and other components when you next run flutter
. This may take a little while depending on your connection, but is the simplest way to ensure the cache
folder is complete. I would suggest closing all IDEs/editors when doing this.