Closed AlexandreRoba closed 6 years ago
At the time of writing that commit is unavailable. I'm getting the following error:
Running "flutter packages get" in flutter_app...
Git error. Command: git rev-list --max-count=1 075897e
fatal: ambiguous argument '075897e': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
pub get failed (69) -- attempting retry 1 in 1 second...
It seems that commit 075897eaec21dffd238ddfaa544ae7b773fc3b29 has been squashed.
According to this comment: https://github.com/flutter/flutter/issues/10404#issuecomment-402201946 and PR linked there, that change has been merged. So you can use version 0.5.13
or newer.
Regarding difference between local and bitrise builds it seems that you had that file in cache while on bitrise environment was clean. Cache paths are listed in .flutter-plugins
file which is gitignored. By default cache is located in $FLUTTER_ROOT/.pub-cache
. If there was no cache directory results would be probably the same locally.
Anyway it does not look like an issue with step so I'm closing this ticket.
Hi,
this use to work properly untill I have replaced in the pubspec a specfic version of a package. This is the dependencies section of my pubspec:
I can flutter packages get on my laptop but on the build server I'm getting the following error:
I have the same version of flutter installed on both the laptop and the server:
this is what I have on the server:
And on my laptop:
Any help appreciated :)