-
Notifications
You must be signed in to change notification settings - Fork 227
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
pub is deprecated error message #3802
Comments
bro, here's response https://stackoverflow.com/questions/55898181/update-dart-sdk-for-flutter |
Not sure I understand the problem. flutter is using the That is why it is deprecated. We don't want new users of this interface. |
I'm facing the same error |
Can you give more details? What are you trying to do, what is the command you are running, and what is the error message you are seeing. |
I'm trying to run 'pug get' and I'm getting: pub get failed |
What version of flutter are you using? |
What is the pubspec.yaml? Did this use to work or is this first time you run pub get? Did you just upgrade? |
|
I'm using version 3.7.5 stable |
Could you try running
and paste the output? Please use code fences. |
|
Hmm, that seemed to work - weird. Could you paste the output of
? |
It seems we have broken the output of a |
@individual-777 could you try running
And pasting the full output? Please use code fences. |
Realizing this looks like flutter/flutter#118314 that has already been fixed. Try using the beta-channel. |
I have the same error i need help |
flutter pub get |
pub get failed command: "/Users/mohamedkilany/Developer/flutter/bin/cache/dart-sdk/bin/dart __deprecated_pub --color --directory . get --example" pub env: { "FLUTTER_ROOT": "/Users/mohamedkilany/Developer/flutter", "PUB_ENVIRONMENT": "flutter_cli:get", "PUB_CACHE": "/Users/mohamedkilany/.pub-cache", } exit code: 69 what is the problem here!? |
[ +4 ms] pub get failed [ +3 ms] I'm facing with the same issue, can't create new flutter project also run a project existed |
It appeared after I removed /Users/bakbeom/.pub-cache |
you should give permission and change the owner of your project build folder and your entire project folder @pryme-empire10 your_mac_username= BOSS-PRYME in your case you can check this link for more details: |
I am facing same issue, 400 Bad Request trying to find package numerus at https://pub.dev. |
I think this error occurs if you try to use deprecated version of dependencies on you flutter app. Because I'm facing this issue when trying to update the dependencies which dont match the current flutter version that I'm using. |
Finally, I can solve this problem by running: flutter channel beta |
file_picker: ^5.2.11 remove this |
Without additional information we're not able to resolve this issue. Feel free to add more info or respond to any questions above and we can reopen the case. Thanks for your contribution! |
pub get failed
command: "C:\src\flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub --directory . get --example"
pub env: {
"FLUTTER_ROOT": "C:\src\flutter",
"PUB_ENVIRONMENT": "vscode.dart-code:flutter_cli:get",
"PUB_CACHE": "C:\Users\BOSS-PRYME\AppData\Local\Pub\Cache",
}
The text was updated successfully, but these errors were encountered: