-
Notifications
You must be signed in to change notification settings - Fork 70
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
scripts/prebuild.sh
fails and pubspec.yaml dependencies not resolving on latest Flutter stable
#3102
Comments
Hi @tgrushka,
We had uncontrolled issue when using ^#.#.# syntax in the past, so we made the decision to keep the release stable by using a dedicated version for dependencies. We will regularly update the Flutter engine and update dependencies version too. At the moment, please use |
I just tested this on NixOS via
My failure is a bit different:
|
Looks like altering all I'm sorry, I thought my error was related to this issue, it is not. I'll create another issue. |
Created #3128 |
Thanks @hoangdat for getting back to us. (@EliRibble, yep, I'm getting the same thing. I just installed ...but then a rabbit hole of issues ensues with various dependencies and build errors. (Side question: Why is Firebase even required in this project at all? The whole point of open source e-mail IMHO, at least in the immediate present, is to totally get away from dependence on Google, something humanity is finding more and more difficult to achieve! Maybe IMHO this project suffers greatly from very tight coupling of dependencies. This is really going to make it difficult for people (like me) to contribute to this project. I would recommend the developers try setting up this project on a clean system to see how difficult it is.
Example 1:
|
Description
Thanks for this project! Hoping to see if this e-mail client works for me on Linux because other options are outdated. I am legally blind and specialize in accessibility and Flutter development, would love to contribute if I can get this running.
The first issue I see is that in
pubspec.yaml
, all the versions are locked to minor revisions and not using the ^#.#.# preferred syntax. Why is this?This results in not being able to get dependencies on the latest Flutter stable version:
Running
scripts/prebuild.sh
also results in an error in themodel/
subproject:This might be due to reliance on specific minor revisions of dependencies, but I'm not certain yet.
Current Flutter stable is:
My system:
Expected result
I expect:
flutter pub get
to get the dependencies without error;scripts/prebuild.sh
to run without error.Current behavior
flutter pub get
fails;scripts/prebuild.sh
fails inmodel/
subproject;prebuild.sh
in the "root folder" of the project; this is incorrect; it is in thescripts
folder.Preconditions (optional)
EDIT: Also just upgraded again from 3.24.0 to 3.24.1 with same results:
Reproduction Steps
flutter upgrade
, thenflutter clean
on main project and all subprojects.flutter pub get
in the main project.scripts/prebuild.sh
.Acceptance criteria
As a developer, on latest Flutter stable, I am able to run
scripts/prebuild.sh
without errors.Context
Linux
Additional information
Complete output of `scripts/prebuild.sh`
The text was updated successfully, but these errors were encountered: