Skip to content

[Blocking] UnmodifiableUint8ListView Error as per latest flutter version (cannot update directly pineacl-0.5.1) #105

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
cs145442 opened this issue Aug 8, 2024 · 3 comments

Comments

@cs145442
Copy link

cs145442 commented Aug 8, 2024

As you can observe, with the latest flutter version, I'm unable to include dartSSH2 latest version due to internal changes. Could we take this up on priority as it's blocking my development. Thank you.

Attached is the screenshot with the error.
Also attached screenshot as I cannot update directly pineacl as its specific version is provided as dependency.

../../../../.pub-cache/hosted/pub.dev/pinenacl-0.5.1/lib/api/api.dart:90:12: Error: Method not found: 'UnmodifiableUint8ListView'. return UnmodifiableUint8ListView(Uint8List.fromList(data.toList())); ^^^^^^^^^^^^^^^^^^^^^^^^^ Target kernel_snapshot_program failed: Exception

Resolving dependencies... (5.6s) Because my_app depends on dartssh2 ^2.8.2 which depends on pinenacl ^0.5.0, pinenacl ^0.5.0 is required. So, because my_app depends on pinenacl ^0.6.0, version solving failed.

image

image

@IoTServ
Copy link

IoTServ commented Aug 14, 2024

Perhaps you can temporarily use dartssh2_plus

@maxhis
Copy link

maxhis commented Aug 25, 2024

A workaround is to override dependency:

dependencies:
  dartssh2: ^2.8.2

dependency_overrides:
  pinenacl: ^0.6.0

@vicajilau
Copy link
Collaborator

This has been resolved on #106

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants