-
Notifications
You must be signed in to change notification settings - Fork 6
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't install fvm by brew #16
Comments
The issue, I believe, is because it is using the cached stable version you had last time. Is there a way to force the install and/or clear the cache path for the SDK in your output? |
I have deleted Dart before running brew install fvm and still receive this error. I have albo tried to install flutter directly so that I have Dart version 3.2 and it also didn't helped. I also tried to install fvm 2.4.1 because I have this version on my other computer but I get info that there is no such version (yet on that other machine I have it) |
Possibly the solution is to change the dependency in "dart" to be "dart-sdk" in brew. That is at least a bit updated. |
@mbojec I have forced the sdk version of dart to compile the brew formula. Could you test this, to see if it resolves the issue? Just run the brew install again on fvm |
No still we have an issue |
getting error on install fvm |
@leoafarias I can confirm that this time it worked :) ~ % brew install fvm You have 4 outdated formulae installed. ==> Fetching leoafarias/fvm/fvm 3.0.1 |
So glad to hear this!! Thank you for helping through it! |
Hi, I wanted to install fem with brew and below I adding the error message (to low dart-lang version)
~ % brew install leoafarias/fvm/fvm
==> Fetching dependencies for leoafarias/fvm/fvm: dart-lang/dart/dart
==> Fetching dart-lang/dart/dart
==> Downloading https://storage.googleapis.com/dart-archive/channels/stable/rele
Already downloaded: /Users/marek/Library/Caches/Homebrew/downloads/bc5aa44d374fc4d2e130a4c01da40d02aa67be65fd995b089df8dfdbaad2288c--dartsdk-macos-arm64-release.zip
==> Fetching leoafarias/fvm/fvm
==> Downloading https://github.com/leoafarias/fvm/archive/3.0.0.tar.gz
Already downloaded: /Users/marek/Library/Caches/Homebrew/downloads/e959c575d757d1d5793de1f67d223a614b66dec3b0b9bd88f64660c27262c991--fvm-3.0.0.tar.gz
==> Installing fvm from leoafarias/fvm
==> Installing dependencies for leoafarias/fvm/fvm: dart-lang/dart/dart
==> Installing leoafarias/fvm/fvm dependency: dart-lang/dart/dart
🍺 /opt/homebrew/Cellar/dart/2.16.1: 869 files, 491.4MB, built in 5 seconds
==> Installing leoafarias/fvm/fvm
==> /opt/homebrew/opt/dart/libexec/bin/dart pub get
Last 15 lines from /Users/marek/Library/Logs/Homebrew/fvm/01.dart:
2024-02-11 16:05:50 +0000
/opt/homebrew/opt/dart/libexec/bin/dart
pub
get
Resolving dependencies...
The current Dart SDK version is 2.16.1.
Because fvm requires SDK version >=2.17.0 <4.0.0, version solving failed.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/leoafarias/homebrew-fvm/issues
These open issues may also help:
leoafarias/fvm/fvm 2.4.1 did not build #15
fvm relying on an older version of dart and failing via brew install #14
The text was updated successfully, but these errors were encountered: