Skip to content
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

Can not install version 1.4.0 #16

Closed
Loopex2019 opened this issue Apr 26, 2019 · 3 comments · Fixed by #17
Closed

Can not install version 1.4.0 #16

Loopex2019 opened this issue Apr 26, 2019 · 3 comments · Fixed by #17

Comments

@Loopex2019
Copy link

Hi Everybody. I heard about the new Feature you added about the CameraLens . But whenever i start install . There is an error which occurs to me in Puspec.yaml File. :
[looper_2019] flutter packages get
Running "flutter packages get" in looper_2019...
Git error. Command: git rev-list --max-count=1 feature/camera_api_16_installation

fatal: ambiguous argument 'feature/camera_api_16_installation': 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 feature/camera_api_16_installation

fatal: ambiguous argument 'feature/camera_api_16_installation': 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 feature/camera_api_16_installation

fatal: ambiguous argument 'feature/camera_api_16_installation': 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...

Git error. Command: git rev-list --max-count=1 feature/camera_api_16_installation

fatal: ambiguous argument 'feature/camera_api_16_installation': unknown revision or path not in the working tree.

Use '--' to separate paths from revisions, like this:

'git [...] -- [...]'

pub get failed (69) -- attempting retry 4 in 8 seconds...

Seems Like the Problem is in the camera api. But i don't know if that's true or not ?

@Kleak
Copy link
Contributor

Kleak commented Apr 26, 2019

Hi could you try to remove this folder ~/.pub-cache/git/ and then redo flutter packages get ?

@saddy001
Copy link
Contributor

saddy001 commented Apr 27, 2019

With the current version (flutter_camera_ml_vision: ^1.0.0), I'm getting a similar error:

/home/saddy/flutter/bin/flutter --no-color packages upgrade
Running "flutter packages upgrade" in test...

Git error. Command: git fetch
fatal: Kein Git-Repository (oder irgendein Elternverzeichnis bis zum Einhängepunkt /home)
Stoppe bei Dateisystemgrenze (GIT_DISCOVERY_ACROSS_FILESYSTEM nicht gesetzt).

pub upgrade failed (69) -- attempting retry 1 in 1 second...
Git error. Command: git fetch
fatal: Kein Git-Repository (oder irgendein Elternverzeichnis bis zum Einhängepunkt /home)
Stoppe bei Dateisystemgrenze (GIT_DISCOVERY_ACROSS_FILESYSTEM nicht gesetzt).

pub upgrade failed (69) -- attempting retry 2 in 2 seconds...

It was working fine until version 1.2.0. I already tried some suggested solutions, like exporting GIT_DISCOVERY_ACROSS_FILESYSTEM=1 and git init but they don't solve the issue.

I think it has something to do with the changes made to pubspec.lock in d80adfa

PS: flutter clean doesn't change anything.

@saddy001
Copy link
Contributor

Wow. I call this a fast fix.

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

Successfully merging a pull request may close this issue.

3 participants