I just downloaded and installed flutter SDK(archive).
when I run the "flutter doctor" command on my mac m1 terminal I receive this error. pub get failed/exit code: 69
It happens when adding a package with a mistaken version!
For example, the latest version of the path_provider package, for now, is ^2.0.14, if you mistakenly add e.g 4.0.1 you’ll face this issue.
2
Answers
try running
flutter config --clear-features
It worked for me.
It happens when adding a package with a mistaken version!
For example, the latest version of the
path_provider
package, for now, is^2.0.14
, if you mistakenly add e.g4.0.1
you’ll face this issue.