Closed oravecz closed 4 months ago
I have also deleted the git.cache and attempted to install again. Same results.
% fvm install 3.22.2 --verbose
Argument information:
Top level options:
- verbose: true
Command: install
Creating local mirror...
Compressing objects: [██████████████████████████████████████████████████] 100%
Receiving objects: [██████████████████████████████████████████████████] 100%
Resolving deltas: [██████████████████████████████████████████████████] 100%
✓ Clone complete
Syncing local mirror...
Installing Flutter SDK: SDK Version : 3.22.2
Cloning into '/Users/Me/.fvm/cache/versions/3.22.2'...
Updating files: 100% (7921/7921), done.
✗ Failed to install 3.22.2 (1ms)
✗ Failed to ensure FlutterVersion(name: 3.22.2, releaseFromChannel: null, type: VersionType.release) is cached.
ProcessException: fatal: ambiguous argument '3.22.2': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Command: git reset --hard 3.22.2
Unsure what the problem was, but I deleted all of my FVM folders, retagged my repository, and it seemed to resolve itself.
Describe the bug I am using a custom github repository (FLUTTER_GIT_URL) for approved versions of Flutter within our organization. I have deployed the 3.22.2 version of Flutter to this repository, and I am attempting to install this version using FVM.
Expected behavior I am expecting the cache to contain the specified version of the repository, but it does not.
I would like to know what git command is actually running, so I can run it manually and identify the issue.
The tag seems to be setup correctly on the repository
I am able to manually checkout the repository using what I would assume
fvm
might be using.Logs
Desktop (please complete the following information):