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

changed archive version to 3.6.1 #365

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Conversation

Tom-ne
Copy link
Contributor

@Tom-ne Tom-ne commented Aug 10, 2024

bumped archive version to 3.6.1 for compatibility with newest flutter version

@FauconSpartiate
Copy link
Contributor

@Tom-ne Why do you need this explicit upgrade? The 3.6.1 version is already included in the previous constraint.

https://dart.dev/tools/pub/dependencies#caret-syntax

@Tom-ne
Copy link
Contributor Author

Tom-ne commented Aug 10, 2024

I need this explicit upgrade because when trying the run a project with the packages using the latest flutter version, there is an error.

/C:/Users/yyyy/AppData/Local/Pub/Cache/hosted/pub.dev/archive-3.4.9/lib/src/bzip2/bzip2.dart:5:7: Error: Method not found: 'UnmodifiableUint8ListView'.
UnmodifiableUint8ListView(Uint8List(0));

@FauconSpartiate
Copy link
Contributor

@Tom-ne run flutter pub upgrade in your terminal

@Tom-ne
Copy link
Contributor Author

Tom-ne commented Aug 10, 2024

after running flutter upgrade in the latest version:

Launching lib/main.dart on Chrome in debug mode...
../../../.pub-cache/hosted/pub.dev/archive-3.4.9/lib/src/bzip2/bzip2.dart:5:7: Error: Method not found: 'UnmodifiableUint8ListView'.
      UnmodifiableUint8ListView(Uint8List(0));
      ^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/archive-3.4.9/lib/src/bzip2/bzip2.dart:7:7: Error: Method not found: 'UnmodifiableUint32ListView'.
      UnmodifiableUint32ListView(Uint32List(0));
      ^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/archive-3.4.9/lib/src/bzip2/bzip2.dart:9:7: Error: Method not found: 'UnmodifiableInt32ListView'.
      UnmodifiableInt32ListView(Int32List(0));
      ^^^^^^^^^^^^^^^^^^^^^^^^^
Failed to compile application.

Exited (1).

@alfatlaloc
Copy link

I've tried all fixed but none of them work, the problem is the archive version of this repo, that happens in the stable channel, pls merge this pr :( 🙏

@FauconSpartiate
Copy link
Contributor

@justkawal

@ViniciusSossela
Copy link

ViniciusSossela commented Aug 15, 2024

As a workaround:

dependency_overrides:
  archive: ^3.6.1

Please, merge it!

@jumacDev
Copy link

@justkawal

@alfatlaloc
Copy link

@justkawal we need you :(

@justkawal justkawal merged commit 00e9ff0 into justkawal:main Aug 20, 2024
1 check passed
@justkawal
Copy link
Owner

justkawal commented Aug 20, 2024

Approved and published, I'm really really sorry for the delay and trouble....
Most of the time, I'm trying to up-skill and finding a tech-job as an immigrant....

I hope you all understand...., Sorry....

@alfatlaloc
Copy link

@justkawal thanks! if you need some hands you can tell us, i would like to contribute

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

Successfully merging this pull request may close these issues.

6 participants