-
Notifications
You must be signed in to change notification settings - Fork 232
Could not find a file named "pubspec.yaml" in #1850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What Flutter version are you using? |
@zoechi i got clone of the flutter repo today for installing it and i wasn't able to install it...and when i tried to run |
Sounds like a network issue |
yes, i just update my answer ... i got above error again trying to get version... |
@zoechi even deleting pub cache wasn't helpful. any idea ? |
I wouldn't expect deleting pub cache to have effect |
This issue was moved to flutter/flutter#15948 |
@nex3 @natebosch can this issue be reopened here? It looks like this error is caused by invalid I saw an example where the first line had a few spaces before People run into this quite often. |
cc @mit-mit to triage |
@zoechi did you come across a simple repro for this? |
@mit-mit no, every attempt to reproduce failed so far. There were 2 cases where fixing the content of Most other cases were broken |
Simple write in terminal , |
@mit-mit feel free to close. I won't have time to investigate further anytime soon. |
I am having this problem right now. I've already tried deleting the whole I noted that the library folder is created inside the Any idea what may be causing this? |
I am having the same problem. Could not find a file named "pubspec.yaml" in "C:\src\flutter.pub-cache\hosted\pub.dartlang.org\sqflite-0.13.0". pub get failed (66) |
I'm having an error Could not find a file named "pubspec.yaml" in "C:\Users\iftek\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\quiver-2.0.1". |
I had changed some --- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -18,19 +18,13 @@ dependencies:
foo:
- git:
- url: [email protected]:myorg/foo.git
- ref: mine
+ path: /Users/me/proj/flutter/foo After reverting, I get the error. --- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -18,13 +18,19 @@ dependencies:
foo:
- path: /Users/me/proj/flutter/foo
+ git:
+ url: [email protected]:myorg/foo.git
+ ref: mine $ flutter packages get
Could not find a file named "pubspec.yaml" in [email protected]:myorg/foo.git 6d8373ad034368c7247dc9c8c9ae324f5aa6afa3. If I remove the --- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -19,17 +19,17 @@ dependencies:
foo:
git:
- url: [email protected]:myorg/foo.git
+ url: [email protected]:myorg/foo |
Remove |
This is a pretty old, closed bug. If anyone is still experiencing issues, please file new issues (and kindly include as much information, repro steps, etc. as possible). |
I reproduced it simply. directly from the page : https://github.com/ryanheise/audio_service/blob/master/example/pubspec.yaml Adding audio_service does not create the issue. Adding then "path: ../" brings: Running "flutter pub get" in singing_buttons... |
That's always wrong.. unless you're doing it from the |
Hi, can really be, but tgere was a question about how to reproduce...
Le lun. 10 févr. 2020 à 13:05, Jonas Finnemann Jensen <
[email protected]> a écrit :
… I create a basic flutter application, I then copy the following
audio_service:
path: ../
That's always wrong.. unless you're doing it from the
audio_service/example folder, you can't path import..
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1850?email_source=notifications&email_token=AA7AZ6UCSVEVJ35OU3CLIT3RCE7KBA5CNFSM4EXOIWS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELIIOZI#issuecomment-584091493>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7AZ6TH23FCE44WAX4MYY3RCE7KBANCNFSM4EXOIWSQ>
.
|
Instead of
remove the "path:" and just use |
I got the solution
The problem is due to the pubspec.yaml file missed in your package or plugins |
i've got error like this when trying to install flutter.
i run
flutter doctor
and suddenly i got error like this :
i've got the log, and here it is:
OS : Ubuntu 17.10
The text was updated successfully, but these errors were encountered: