We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
grind: 7: pub: not found
as per https://dart.dev/tools/pub/cmd :
the standalone pub command is deprecated
simply installing it via flutter (flutter pub global activate grinder) and then using it, grind generate (as seen in https://github.com/flutter/samples/tree/master/web/samples_index#generating-the-index )
flutter
flutter pub global activate grinder
grind generate
results in grind: 7: pub: not found
flutter doctor -v
[✓] Flutter (Channel beta, 2.2.0, on Linux, locale en_US.UTF-8) • Flutter version 2.2.0 at /home/dym/snap/flutter/common/flutter • Framework revision b22742018b (3 weeks ago), 2021-05-14 19:12:57 -0700 • Engine revision a9d88a4d18 • Dart version 2.13.0 [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at /home/dym/Android/Sdk • Platform android-30, build-tools 30.0.3 • Java binary at: /snap/android-studio/current/android-studio/jre/bin/java • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821) • All Android licenses accepted. [✓] Chrome - develop for the web • Chrome at google-chrome [✓] Linux toolchain - develop for Linux desktop • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final) • cmake version 3.10.2 • ninja version 1.8.2 • pkg-config version 0.29.1 [✓] Android Studio (version 4.2) • Android Studio at /snap/android-studio/103/android-studio • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821) [✓] Android Studio • Android Studio at /snap/android-studio/current/android-studio • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • android-studio-dir = /snap/android-studio/current/android-studio • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821) [✓] Connected device (2 available) • Linux (desktop) • linux • linux-x64 • Linux • Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.77 • No issues found!
The text was updated successfully, but these errors were encountered:
web/samples_index
current workaround: add alias pub='flutter pub' to ~/.profile
alias pub='flutter pub'
~/.profile
Sorry, something went wrong.
No branches or pull requests
as per https://dart.dev/tools/pub/cmd :
simply installing it via
flutter
(flutter pub global activate grinder
)and then using it,
grind generate
(as seen in https://github.com/flutter/samples/tree/master/web/samples_index#generating-the-index )
results in
grind: 7: pub: not found
The text was updated successfully, but these errors were encountered: