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

rinf template fails on arch linux #488

Open
pbartyik opened this issue Dec 11, 2024 · 2 comments
Open

rinf template fails on arch linux #488

pbartyik opened this issue Dec 11, 2024 · 2 comments

Comments

@pbartyik
Copy link

Report

Rinf rust binary doesn't seem to find Flutter SDK on Arch linux. rinf template fails with the following:

$ rinf template
Detected `protoc`, skipping auto installation
Resolving dependencies in `/home/user/dev/testapp`...
Because testapp depends on flutter_test from sdk which doesn't exist (the Flutter SDK is not
  available), version solving failed.

Flutter users should use `flutter pub` instead of `dart pub`.

Steps to Reproduce

Please describe the exact steps to reproduce the error.
yay flutter
cargo install rinf
flutter create testapp
cd testapp && flutter pub add rinf
rinf template

System Information

$ rustc --version
rustc 1.83.0 (90b35a623 2024-11-26)
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel , 3.24.5, on Arch Linux 6.11.5-arch1-1.1-g14, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2024.2)
[✓] Connected device (1 available)
[✓] Network resources

! Doctor found issues in 1 category.
$ md5sum .cargo/bin/rinf
1a1bf0a29c77c80251723b86c6b4d650  .cargo/bin/rinf
$ uname -r
6.11.5-arch1-1.1-g14
@temeddix
Copy link
Member

Thank you very much for the report. I will address this issue as soon as I can. However, I would like to share that I am currently busy with other commitments.

In the meantime, we are always open to pull requests :)

@pbartyik
Copy link
Author

ended up just installing flutter manually, works that way.

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

No branches or pull requests

2 participants