ardera / flutter-pi

A light-weight Flutter Engine Embedder for Raspberry Pi that runs without X.
MIT License
1.48k stars 153 forks source link

Failed to build flutterpi_tool #389

Closed MihirGrand closed 2 months ago

MihirGrand commented 2 months ago

I ran the command flutter pub global activate flutterpi_tool but I get the following error

Failed to build flutterpi_tool:flutterpi_tool: .pub-cache/hosted/pub.dev/flutterpi_tool-0.3.0/lib/src/cache.dart:297:20: Error: The type 'HostPlatform' is not exhaustively matched by the switch cases since it doesn't match 'HostPlatform.windows_arm64'.

Trying this on Ubuntu through WSL

ardera commented 2 months ago

flutterpi_tool is only supported for flutter stable right now, can you make sure you're on stable?

MihirGrand commented 2 months ago

I wasn't on stable, I was on main 😅 It works now. Thanks!