question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plugin should use flutter packages get instead of pub get

See original GitHub issue

When editing the pubspec file, intelliJ tries to run pub get to update deps, and by doing so, the following error gets output:

Resolving dependencies...
The Flutter SDK is not available.
Depended on by:
- flutter_sample

Instead of running pub get, it should run flutter packages get / upgrade

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:19 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
alexander-doroshkocommented, Nov 1, 2016

For IntelliJ IDEA 2016.3 EAP minimal Dart plugin version that does ‘pub get’ correctly for Flutter is 163.6957.3, @Pacane please update the IDE, you’ll get the updated plugin as well.

1reaction
alexander-doroshkocommented, Nov 1, 2016

@pq I’ll be reminding every day that my pull request fixes the issue of diverged Dart and Flutter SDKs. 😃 With it applied you may completely remove SdkConfigurationNotificationProvider, it won’t be ever triggered any more.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flutter users should run `flutter packages get` instead of `pub ...
Go to the top menu 'Tools > Flutter >flutter package get and click on it ,it will find the things those are missing....
Read more >
Using packages - Flutter documentation
The Flutter Favorites page on pub.dev lists the plugins and packages that have been identified as packages you should first consider using when...
Read more >
Plain dart project tries to run flutter packages instead of pub.
I've created a plain vanilla dart package project. I have issues with what appears to be the flutter plugin intruding into this pure...
Read more >
flutter_plugin_tools | Dart Package - Pub.dev
In flutter/plugins, the tool is run from source. In flutter/packages, the published version is used instead. (It is marked as Discontinued since it...
Read more >
dart pub get
If you don't want pub to do that, pass it the --offline flag. In offline mode, pub looks only in your local package...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found