-
Notifications
You must be signed in to change notification settings - Fork 145
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
flutter pub get fails in Flutter 1.22.0-12.1.pre • channel beta #215
Comments
Current workaround by overriding the following: EDIT: This really isn't a workaround and heavily depends on what other packages you have installed. Overrides are hacky fixes and should be avoided. dependency_overrides:
process: ^4.0.0-nullsafety.1
platform: ^3.0.0-nullsafety.1
file: ^6.0.0-nullsafety.1 |
This now also occurs with the latest stable Flutter - |
@danielmahon Your workaround works on
I found
|
@nicolasvergoz yeah, unfortunately, I have no idea, those classes probably don't exist in the specific dependency tree you are overriding... overrides are messy and should not be used if it can be helped as they can break all sorts of things, I just posted that because it solved the issue at the time, I have since disabled this package until I need it again or it's updated |
@danielmahon Alright thanks. |
Unfortunately, this lib is not well-maintained :( |
Is out there any alternative project? |
#214 |
@mmcc007 Could you support us in updating the pubspec libraries? |
I have a PR open that I think will help: mmcc007/tool_base#2. @mmcc007 hasn't responded yet, but they are occasionally active on github so maybe there's a chance. =) Assuming we can get PRs reviewed I think making screenshots compatible with flutter 1.2.2 should be doable. Probably a few more small PRs to get it done, but no heavy lifting. |
I've made a few pull-request to fix this: #217, mmcc007/tool_mobile#1, mmcc007/tool_base_test#1, mmcc007/tool_base#2 and mmcc007/fake_process_manager#1. It depends on the PR from @speaking-in-code too. If you want to use this locally you can put this in your dependency_overrides:
screenshots:
git: https://github.com/trygvis/screenshots
tool_base:
git: https://github.com/speaking-in-code/tool_base
tool_base_test:
git: https://github.com/trygvis/tool_base_test
tool_mobile:
git: https://github.com/trygvis/tool_mobile
fake_process_manager:
git: https://github.com/trygvis/fake_process_manager Works on my machine at least! |
Please release an update regarding this issue. |
mmcc007/screenshots#215 (comment) /home/hawkbee/snap/flutter/common/flutter/bin/flutter --no-color pub outdated Dependencies Current Upgradable Resolvable Latest cupertino_icons *1.0.0 *1.0.0 *1.0.0 1.0.1 dev_dependencies screenshots *2.1.1 (overridden) *2.1.1 (overridden) *2.1.1 (overridden) 2.1.1 test *1.16.0-nullsafety.5 *1.16.0-nullsafety.5 *1.16.0-nullsafety.5 1.16.0-nullsafety.9 transitive dependencies async *2.5.0-nullsafety.1 *2.5.0-nullsafety.1 *2.5.0-nullsafety.1 2.5.0-nullsafety.3 characters *1.1.0-nullsafety.3 *1.1.0-nullsafety.3 *1.1.0-nullsafety.3 1.1.0-nullsafety.5 charcode *1.2.0-nullsafety.1 *1.2.0-nullsafety.1 *1.2.0-nullsafety.1 1.2.0-nullsafety.3 collection *1.15.0-nullsafety.3 *1.15.0-nullsafety.3 *1.15.0-nullsafety.3 1.15.0-nullsafety.5 js *0.6.3-nullsafety.1 *0.6.3-nullsafety.1 *0.6.3-nullsafety.1 0.6.3-nullsafety.3 matcher *0.12.10-nullsafety.1 *0.12.10-nullsafety.1 *0.12.10-nullsafety.1 0.12.10-nullsafety.3 meta *1.3.0-nullsafety.4 *1.3.0-nullsafety.4 *1.3.0-nullsafety.4 1.3.0-nullsafety.6 path *1.8.0-nullsafety.1 *1.8.0-nullsafety.1 *1.8.0-nullsafety.1 1.8.0-nullsafety.3 pedantic *1.10.0-nullsafety.2 *1.10.0-nullsafety.2 *1.10.0-nullsafety.2 1.10.0-nullsafety.3 source_span *1.8.0-nullsafety.2 *1.8.0-nullsafety.2 *1.8.0-nullsafety.2 1.8.0-nullsafety.4 stack_trace *1.10.0-nullsafety.2 *1.10.0-nullsafety.2 *1.10.0-nullsafety.2 1.10.0-nullsafety.6 string_scanner *1.1.0-nullsafety.1 *1.1.0-nullsafety.1 *1.1.0-nullsafety.1 1.1.0-nullsafety.3 term_glyph *1.2.0-nullsafety.1 *1.2.0-nullsafety.1 *1.2.0-nullsafety.1 1.2.0-nullsafety.3 typed_data *1.3.0-nullsafety.3 *1.3.0-nullsafety.3 *1.3.0-nullsafety.3 1.3.0-nullsafety.5 vector_math *2.1.0-nullsafety.3 *2.1.0-nullsafety.3 *2.1.0-nullsafety.3 2.1.0-nullsafety.5 transitive dev_dependencies boolean_selector *2.1.0-nullsafety.1 *2.1.0-nullsafety.1 *2.1.0-nullsafety.1 2.1.0-nullsafety.3 clock *1.1.0-nullsafety.1 *1.1.0-nullsafety.1 *1.1.0-nullsafety.1 1.1.0-nullsafety.3 fake_async *1.2.0-nullsafety.1 *1.2.0-nullsafety.1 *1.2.0-nullsafety.1 1.2.0-nullsafety.3 file *6.0.0-nullsafety.2 *6.0.0-nullsafety.2 *6.0.0-nullsafety.2 6.0.0-nullsafety.4 platform *3.0.0-nullsafety.2 *3.0.0-nullsafety.2 *3.0.0-nullsafety.2 3.0.0-nullsafety.4 pool *1.5.0-nullsafety.2 *1.5.0-nullsafety.2 *1.5.0-nullsafety.2 1.5.0-nullsafety.3 process *4.0.0-nullsafety.2 *4.0.0-nullsafety.2 *4.0.0-nullsafety.2 4.0.0-nullsafety.4 source_map_stack_trace *2.1.0-nullsafety.3 *2.1.0-nullsafety.3 *2.1.0-nullsafety.3 2.1.0-nullsafety.4 source_maps *0.10.10-nullsafety.2 *0.10.10-nullsafety.2 *0.10.10-nullsafety.2 0.10.10-nullsafety.3 stream_channel *2.1.0-nullsafety.1 *2.1.0-nullsafety.1 *2.1.0-nullsafety.1 2.1.0-nullsafety.3 test_api *0.2.19-nullsafety.2 *0.2.19-nullsafety.2 *0.2.19-nullsafety.2 0.2.19-nullsafety.6 test_core *0.3.12-nullsafety.5 *0.3.12-nullsafety.5 *0.3.12-nullsafety.5 0.3.12-nullsafety.9 usage *3.4.1 *3.4.1 *3.4.1 3.4.2 vm_service_client *0.2.6+2 *0.2.6+2 *0.2.6+2 0.2.6+3 Dependencies are all constrained to the latest resolvable versions. Newer versions, while available, are not mutually compatible.
I can't get it to work on MacOS using any of the two workarounds above, when running
|
ok nevermind I just forgot to restart the terminal window after changing the path variable... |
Since this is still an issue, I am curious, when this will be fixed? |
I am also curious when the PRs are happening? |
I have this in my
But unfortunately getting the error:
|
flutter pub get
fails after upgrading Flutter to latest beta version - Flutter 1.22.0-12.1.pre • channel betaThe text was updated successfully, but these errors were encountered: