I'm having some difficulty with flutter within the VS Code tool.
I'm unable to update packages.
$ flutter packages get
Running "flutter packages get" in my_flutter_app...
Could not find a file named "pubspec.yaml" in "/Users/userName".
pub get failed (66)
I'm in the my_flutter_app directory, and clear as day in that directory root there is a file named "pubspec.yaml" . Why is the system looking for pubspec.yaml somewhere else, totally ignoring the pubspec.yaml right there? This doesn't make sense to me.
When I attempt to debug / run the program I get the following response in the Debug Console:
Running "flutter packages get" in my_flutter_app...
Could not find a file named "pubspec.yaml" in "/Users/userName".
pub get failed (66)
Exited (66)
Issue fail on both the terminal within VS code or within system bash terminal. Note: I'm using macOS, High Sierra, 10.13.6
$ flutter --version
Flutter 0.5.7-pre.111 • channel master • https://github.com/flutter/flutter.git
Framework • revision 7ebf2728dc (5 hours ago) • 2018-07-12 14:59:22 -0700
Engine • revision fed2ea458e
Tools • Dart 2.0.0-dev.67.0.flutter-84ca27a09e
Note: the answer from Could not find a file named "pubspec.yaml" in doesn't work here. Tried that, total fail.