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

Update js #818

Open
AlaJaber97 opened this issue Nov 5, 2024 · 1 comment
Open

Update js #818

AlaJaber97 opened this issue Nov 5, 2024 · 1 comment

Comments

@AlaJaber97
Copy link

AlaJaber97 commented Nov 5, 2024

Try pub get for this dep:

flutter_secure_storage: ^9.2.2
flutter_sound: ^9.16.3

Because no versions of flutter_secure_storage match >9.2.2 <10.0.0 and flutter_secure_storage 9.2.2 depends on flutter_secure_storage_web ^1.2.1, flutter_secure_storage ^9.2.2 requires flutter_secure_storage_web ^1.2.1.
And because no versions of flutter_secure_storage_web match >1.2.1 <2.0.0 and flutter_secure_storage_web 1.2.1 depends on js ^0.6.3, flutter_secure_storage ^9.2.2 requires js ^0.6.3.
And because flutter_sound >=9.16.3 depends on flutter_sound_web 9.16.3 which depends on js ^0.7.1, flutter_secure_storage ^9.2.2 is incompatible with flutter_sound >=9.16.3.
So, because iepes_app depends on both flutter_sound ^9.16.3 and flutter_secure_storage ^9.2.2, version solving failed.

You can try one of the following suggestions to make the pubspec resolve:

  • Consider downgrading your constraint on flutter_secure_storage: flutter pub add flutter_secure_storage:^4.2.1
  • Consider downgrading your constraint on flutter_sound: flutter pub add flutter_sound:^9.6.0
@selimb86
Copy link

selimb86 commented Nov 12, 2024

I found that there is a develop branch which updated the requirements for the web version but it is not published yet.

There are so many other packages blocked by this, in my example its powersync v1.9.X

That's why I forked it and changed the versions temporary until they update the package.

Here is how I am currently doing

  # flutter_secure_storage: ^9.2.2
  flutter_secure_storage:
    git:
        url: https://github.com/selimb86/flutter_secure_storage.git
        path: flutter_secure_storage
        ref: develop

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