Flutter project showing me a warning \'Packages get\' has not been run with suggested solutions,
People who you are from Windows OS and still cannot solve pub get failed (1; no message) exit code 1 problem, you can try the below steps:
Start -> Run -> regeditHKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\Autorun (If it doesn't exist, create a String value)@chcp 65001>nulflutter upgrade --forceflutter pub get in your flutter project folderIf it's not showing pub get failed anymore, then you can run your app in your app emulator or physical device.
Note: This may take some time to run your app.
Last but not least, pub get failed was a horrible error for me!
Solution collected from here
Replace inside your devDependencies
test: 0.12.30+4 # TRANSITIVE DEPENDENCY
with
test: 0.12.30+3
Or you can potentially switch to master branch on flutter. Because you most likely clone an example of a project based on flutter's master
Click on the Link get packages in the given environment like VS code or save your code while pubspec.yaml file is opened will get flutter packages for you automatically.
For Flutter projects run
flutter packages get
Instead of
pub get packages