flutter-pi
flutter-pi copied to clipboard
Member not found: 'windows_arm64'
Try flutter pub global activate flutterpi_tool and take next error:
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
flutter --version
Flutter 3.19.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ba39319843 (3 months ago) • 2024-03-07 15:22:21 -0600
Engine • revision 2e4ba9c6fb
Tools • Dart 3.3.1 • DevTools 2.31.1
flutter pub global activate flutterpi_tool
+ _fe_analyzer_shared 65.0.0 (70.0.0 available)
+ analyzer 6.3.0 (6.6.0 available)
+ archive 3.3.2 (3.6.1 available)
+ args 2.4.2 (2.5.0 available)
+ async 2.11.0
+ boolean_selector 2.1.1
+ browser_launcher 1.1.1
+ built_collection 5.1.1
+ built_value 8.8.1 (8.9.2 available)
+ cli_config 0.1.2 (0.2.0 available)
+ clock 1.1.1
+ collection 1.18.0 (1.19.0 available)
+ completion 1.0.1
+ convert 3.1.1
+ coverage 1.7.2 (1.8.0 available)
+ crypto 3.0.3
+ csslib 1.0.0
+ dap 1.1.0 (1.2.0 available)
+ dds 3.1.0+1 (4.2.3 available)
+ dds_service_extensions 1.6.2 (2.0.0 available)
+ devtools_shared 6.0.3 (10.0.1 available)
+ dwds 23.0.0+1 (24.0.0 available)
+ extension_discovery 2.0.0
+ fake_async 1.3.1
+ file 7.0.0
+ fixnum 1.1.0
+ flutter_template_images 4.2.0 (4.2.1 available)
+ flutter_tools 0.0.0 from sdk flutter
+ flutterpi_tool 0.4.0
+ frontend_server_client 3.2.0 (4.0.0 available)
+ github 9.24.0
+ glob 2.1.2
+ graphs 2.3.1
+ html 0.15.4
+ http 0.13.6 (1.2.1 available)
+ http_multi_server 3.2.1
+ http_parser 4.0.2
+ intl 0.18.1 (0.19.0 available)
+ io 1.0.4
+ js 0.6.7 (0.7.1 available)
+ json_annotation 4.9.0
+ json_rpc_2 3.0.2
+ logging 1.2.0
+ matcher 0.12.16+1
+ meta 1.11.0 (1.15.0 available)
+ mime 1.0.4 (1.0.5 available)
+ multicast_dns 0.3.2+6
+ mustache_template 2.0.0
+ native_assets_builder 0.3.0 (0.7.0 available)
+ native_assets_cli 0.3.2 (0.6.0 available)
+ native_stack_traces 0.5.6 (0.5.7 available)
+ package_config 2.1.0
+ path 1.9.0
+ petitparser 6.0.2
+ platform 3.1.4 (3.1.5 available)
+ pool 1.5.1
+ process 5.0.2
+ pub_semver 2.1.4
+ shelf 1.4.1
+ shelf_packages_handler 3.0.2
+ shelf_proxy 1.0.4
+ shelf_static 1.1.2
+ shelf_web_socket 1.0.4 (2.0.0 available)
+ source_map_stack_trace 2.1.1
+ source_maps 0.10.12
+ source_span 1.10.0
+ sse 4.1.4 (4.1.5 available)
+ stack_trace 1.11.1
+ standard_message_codec 0.0.1+4
+ stream_channel 2.1.2
+ string_scanner 1.2.0
+ sync_http 0.3.1
+ term_glyph 1.2.1
+ test_api 0.6.1 (0.7.2 available)
+ test_core 0.5.9 (0.6.4 available)
+ typed_data 1.3.2
+ unified_analytics 5.8.0+1 (6.1.1 available)
+ usage 4.1.1
+ uuid 3.0.7 (4.4.0 available)
+ vm_service 13.0.0 (14.2.3 available)
+ vm_service_interface 1.0.0 (1.1.0 available)
+ vm_snapshot_analysis 0.7.6
+ watcher 1.1.0
+ web 0.4.0 (0.5.1 available)
+ web_socket_channel 2.4.1 (3.0.0 available)
+ webdriver 3.0.3
+ webkit_inspection_protocol 1.2.1
+ xml 6.5.0
+ yaml 3.1.2
+ yaml_edit 2.1.1 (2.2.1 available)
Building package executables... (8.4s)
Failed to build flutterpi_tool:flutterpi_tool:
.pub-cache/hosted/pub.dev/flutterpi_tool-0.4.0/lib/src/cache.dart:303:20: Error: Member not found: 'windows_arm64'.
HostPlatform.windows_arm64 => 'Windows-ARM64',
^^^^^^^^^^^^^
.pub-cache/hosted/pub.dev/flutterpi_tool-0.4.0/lib/src/cache.dart:858:16: Error: The method 'getDirectorySize' isn't defined for the class 'OperatingSystemUtils'.
- 'OperatingSystemUtils' is from 'package:flutter_tools/src/base/os.dart' ('development/flutter/packages/flutter_tools/lib/src/base/os.dart').
Try correcting the name to the name of an existing method, or defining a method named 'getDirectorySize'.
return _os.getDirectorySize(directory);