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

[BUG] Installation fails on Flutter 3.24.0, with Windows & choco. #760

Closed
4 tasks done
ymmtyuhei opened this issue Aug 16, 2024 · 3 comments
Closed
4 tasks done

[BUG] Installation fails on Flutter 3.24.0, with Windows & choco. #760

ymmtyuhei opened this issue Aug 16, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@ymmtyuhei
Copy link

ymmtyuhei commented Aug 16, 2024

Before creating a bug report please make check the following

  • You have read our FAQ
  • If you have used flutter. Please install correctly, run pub cache repair. Close the terminal and try again.
  • If you are on Windows. Make sure you are running the terminal as administrator or with developer permissions.
  • Run fvm doctor if possible and add the output to the issue.

Describe the bug
Installation fails on Flutter 3.24.0, with Windows & choco.
Downgrading to Flutter 3.22.3 and was successful in installing it.

To Reproduce

  • Install flutter 3.24.0 following the instructions on flutter.dev

https://docs.flutter.dev/get-started/install/windows/desktop
https://storage.googleapis.com/flutter_infra_release/releases/stable/windows/flutter_windows_3.24.0-stable.zip

  1. extract archive
  PS C:\> Expand-Archive `
      –Path $env:USERPROFILE\Downloads\flutter_windows_3.24.0-stable.zip `
      -Destination $env:USERPROFILE\dev\
  1. add path
 %USERPROFILE%\dev\flutter
  1. install fvm
choco install fvm

The following error should happen

...
AppData/Local/Pub/Cache/hosted/pub.dev/win32-5.3.0/lib/src/guid.dart:32:9: Error: Type 'UnmodifiableUint8ListView' not found.
  final UnmodifiableUint8ListView bytes;
...
Error: AOT compilation failed
Bad state: Generating AOT kernel dill failed!

Expected behavior
Successful installation of fvm

Logs
Error during fvm installation

Desktop (please complete the following information):

  • OS: Windows 11
  • FVM Version : 3.1.7
  • If Windows: PSVersion 5.1.22621.3958

Additional context

Downgrading to Flutter 3.22.3 and was successful in installing it.

Could the following issues be related?
dart-lang/sdk#45115
jonataslaw/get_cli#263

https://github.com/leoafarias/fvm/blob/main/pubspec.lock#L828-L835

@ymmtyuhei ymmtyuhei added the bug Something isn't working label Aug 16, 2024
@nsnans
Copy link

nsnans commented Aug 19, 2024

look like

image

@nsnans
Copy link

nsnans commented Aug 19, 2024

@ymmtyuhei

Do you know how to fix it?

@nsnans
Copy link

nsnans commented Aug 19, 2024

Additional context

Downgrading to Flutter 3.22.3 and was successful in installing it.

Thank you. I can install it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants