Skip to content

stream_feed_flutter cannot be install from git #226

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

Open
6 tasks done
ValentinVignal opened this issue May 25, 2022 · 0 comments
Open
6 tasks done

stream_feed_flutter cannot be install from git #226

ValentinVignal opened this issue May 25, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@ValentinVignal
Copy link

Describe the bug

If I follow https://github.com/GetStream/stream-feed-flutter/tree/master/packages/stream_feed_flutter and copy

dependencies:   
  stream_feed_flutter:
     git:
       url: https://github.com/GetStream/stream-feed-flutter.git
       ref: master
       path: ./packages/stream_feed_flutter

in my pubspec.yaml and run flutter pub get. I get the error:

Error on line 22, column 11: Invalid description in the "stream_feed_flutter" pubspec on the "stream_feed_flutter_core" dependency: "../stream_feed_flutter_core" is a relative path, but this isn't a local pubspec.
   ╷
22 │     path: ../stream_feed_flutter_core
   │           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
pub get failed (65;    ╵)
exit code 65

What version of Flutter do you use?

Flutter 2.10.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 5464c5bac7 (5 weeks ago) • 2022-04-18 09:55:37 -0700
Engine • revision 57d3bac3dd
Tools • Dart 2.16.2 • DevTools 2.9.2

What package are you using? What version?

NA

What platform is it about?

  • Android
  • iOS
  • Web
  • Windows
  • MacOS
  • Linux

To Reproduce

See description of the bug above

Expected behavior

It should be able to install the package .

**Logs **
Run flutter analyze and attach any output of that command below.
If there are any analysis errors, try resolving them before filing this issue.

NA.

Paste the output of running flutter doctor -v here.

[✓] Flutter (Channel stable, 2.10.5, on macOS 11.5.1 20G80 darwin-x64, locale en-GB)
    • Flutter version 2.10.5 at /Users/valentin/flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (5 weeks ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /usr/local/Caskroom/android-sdk/4333796
    • Platform android-31, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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.11+0-b60-7590822)

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 6D1E9DF8-540C-4307-89E7-FC2D14CF27B8 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-2
      (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 11.5.1 20G80 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 101.0.4951.64

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant