Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

Git error #7

Open
baeharam opened this issue Jan 6, 2019 · 2 comments
Open

Git error #7

baeharam opened this issue Jan 6, 2019 · 2 comments

Comments

@baeharam
Copy link

baeharam commented Jan 6, 2019

I saw issued git error but I can't solve by this.

firebase_ml_vision:
    git:
      url: git://github.com/bparrishMines/plugins.git
      path: packages/firebase_ml_vision
      ref: mlkit_android_2
  camera:
    git:
      url: git://github.com/bparrishMines/plugins.git
      path: packages/camera
      ref: camera_android_2

[mlkit_demo] flutter packages get
Waiting for another flutter command to release the startup lock...
Running "flutter packages get" in mlkit_demo...
Git error. Command: git rev-list --max-count=1 camera_android_2
fatal: ambiguous argument 'camera_android_2': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
pub get failed (69) -- attempting retry 1 in 1 second...
Git error. Command: git rev-list --max-count=1 camera_android_2
fatal: ambiguous argument 'camera_android_2': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
pub get failed (69) -- attempting retry 2 in 2 seconds...
Git error. Command: git rev-list --max-count=1 camera_android_2
fatal: ambiguous argument 'camera_android_2': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
pub get failed (69) -- attempting retry 3 in 4 seconds...

@rafaelmartinsdacosta
Copy link

The same mistake happens to me.

@mariua123
Copy link

put this into your pubspec.yaml instead:

  firebase_ml_vision: ^0.2.1
  camera: ^0.2.9

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants