Closed Sunsiha closed 2 years ago
Hi @Sunsiha - It looks like your app depends on file_picker v4.6.1, which depends on ffi v1.x.x. The latest version of amplify flutter depends on ffi v2.x.x. The issue you are seeing is that Pub cannot find a version of ffi that satisfies both version constraints.
You can resolve it by upgrading the version of file_picker to version 5.0.0 or higher, which depends on ffi v2.x.x.
Hi @Jordan-Nelson I have upgraded file_picker: ^5.0.1 to this. But still getting
Because html_editor_enhanced >=2.5.0 depends on file_picker ^4.6.0 and **** depends on file_picker ^5.0.0, html_editor_enhanced >=2.5.0 is forbidden.
So, because **** depends on html_editor_enhanced ^2.5.0, version solving failed.
pub get failed (1; So, because **** depends on html_editor_enhanced ^2.5.0, version solving failed.)
html_editor_enhanced am using the latest version html_editor_enhanced: ^2.5.0
. Still conflict is there with this amplify version. Many plugins are conflicted with this latest version of amplify.
@Jordan-Nelson Am trying to replace the plugins affected. Will let you know after that.
There is an open issue in html_editor_enhanced asking for the version of file_picker to be bumped to the latest version. See https://github.com/tneotia/html-editor-enhanced/issues/295.
It looks like there is an open PR as well.
You can temporarily override the dependency from html_editor_enhanced. See https://dart.dev/tools/pub/dependencies#dependency-overrides
@Jordan-Nelson Yeah I have upgraded those plugins which I got conflict.
open_filex:
git:
url: https://github.com/GoldenSoju/open_file.git
html_editor_enhanced:
git:
url: https://github.com/ksilz/html-editor-enhanced
file_picker: ^5.0.0
All done. Working fine now. But will be raising new issues soon with token may be. Will let you know. We can close this ticket.
Thanks!
Description
Hello, I was using amplify 0.6.1 version.
Now I wanted to switch my application to web. So I was trying this pre released version;
But am not able to get pub. It's throwing an error with other plugins;
I tried the following steps to solve;
When am switching to 0.6.1 version it's not throwing any error.
Categories
Steps to Reproduce
No response
Screenshots
No response
Platforms
Android Device/Emulator API Level
No response
Environment
Dependencies
Device
N/A
OS
N/A
CLI Version
7.6.4
Additional Context
Already my application is live. So can't replace plugins. Should I go with this plugin or need to go with other amazon_cognito_identity_dart_2: ^3.0.0. Since it's very urgent requirement. Thanks.