Skip to content

fails to install on macos and latest flutter sdk #93

Description

@moham96
flutter pub global activate flutterpi_tool
Downloading packages... . (1.7s)
+ _fe_analyzer_shared 95.0.0 (104.0.0 available)
+ analyzer 10.1.0 (14.0.0 available)
+ archive 3.6.1 (4.0.9 available)
+ args 2.7.0
+ async 2.13.1
+ boolean_selector 2.1.2
+ browser_launcher 1.1.3
+ built_collection 5.1.1
+ built_value 8.12.5 (8.12.6 available)
+ checked_yaml 2.0.4
+ cli_config 0.2.0
+ clock 1.1.2
+ code_assets 1.0.0 (1.2.1 available)
+ code_builder 4.11.1
+ collection 1.19.1
+ completion 1.0.2
+ convert 3.1.2
+ coverage 1.15.0 (1.15.1 available)
+ crypto 3.0.7
+ csslib 1.0.2
+ dap 1.4.0
+ dart_service_protocol_shared 0.0.3
+ dart_style 3.1.7 (3.1.9 available)
+ data_assets 0.19.6 (0.20.0 available)
+ dds 5.3.0
+ dds_service_extensions 2.1.0
+ devtools_shared 12.1.0 (13.0.1 available)
+ dtd 4.0.0
+ dwds 26.2.5 (27.1.2 available)
+ extension_discovery 2.1.0
+ fake_async 1.3.3
+ ffi 2.2.0
+ file 7.0.1
+ fixnum 1.1.1
+ flutter_template_images 5.0.0 (5.0.1 available)
+ flutter_tools 0.0.0 from sdk flutter
+ flutterpi_tool 0.11.0
+ frontend_server_client 4.0.0
+ github 9.25.1
+ glob 2.1.3
+ graphs 2.3.2
+ hooks 1.0.2 (2.0.2 available)
+ hooks_runner 1.1.1 (1.5.0 available)
+ html 0.15.6
+ http 1.6.0
+ http_multi_server 3.2.2
+ http_parser 4.1.2
+ intl 0.20.2
+ io 1.0.5
+ json_annotation 4.12.0
+ json_rpc_2 4.1.0
+ logging 1.3.0
+ matcher 0.12.19 (0.12.20 available)
+ meta 1.18.0 (1.18.3 available)
+ mime 2.0.0
+ multicast_dns 0.3.3 (0.3.3+1 available)
+ mustache_template 2.0.4 (2.0.5 available)
+ native_stack_traces 0.6.1
+ package_config 2.2.0 (3.0.0 available)
+ path 1.9.1
+ petitparser 7.0.2
+ platform 3.1.6
+ pool 1.5.2
+ process 5.0.5
+ pub_semver 2.2.0
+ pubspec_parse 1.5.0
+ record_use 0.6.0
+ shelf 1.4.2
+ shelf_packages_handler 3.0.2
+ shelf_proxy 1.0.4 (1.0.5 available)
+ shelf_static 1.1.3
+ shelf_web_socket 3.0.0
+ source_map_stack_trace 2.1.2
+ source_maps 0.10.13
+ source_span 1.10.2
+ sprintf 7.0.0
+ sse 4.1.8 (4.2.0 available)
+ stack_trace 1.12.1
+ standard_message_codec 0.0.1+4 (0.0.1+5 available)
+ stream_channel 2.1.4
+ string_scanner 1.4.1
+ sync_http 0.3.1
+ term_glyph 1.2.2
+ test_api 0.7.11 (0.7.12 available)
+ test_core 0.6.17 (0.6.18 available)
+ typed_data 1.4.0
+ unified_analytics 8.0.14 (8.0.15 available)
+ usage 4.1.1
+ uuid 4.5.3
+ vm_service 15.0.2 (15.2.0 available)
+ vm_service_interface 2.0.1
+ vm_snapshot_analysis 0.7.6
+ watcher 1.2.1
+ web 1.1.1
+ web_socket 1.0.1
+ web_socket_channel 3.0.3
+ webdriver 3.1.0
+ webkit_inspection_protocol 1.2.1
+ xml 6.6.1 (7.0.1 available)
+ yaml 3.1.3
+ yaml_edit 2.2.4
Building package executables... (7.2s)
Failed to build flutterpi_tool:flutterpi_tool:
../../../../../.pub-cache/hosted/pub.dev/flutterpi_tool-0.11.0/lib/src/authenticating_artifact_updater.dart:43:7: Error: The non-abstract class 'AuthenticatingArtifactUpdater' is missing implementations for these members:
 - ArtifactUpdater.formatProgressMessage
 - ArtifactUpdater.resetProgressContext
 - ArtifactUpdater.setProgressContext
Try to either
 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.
class AuthenticatingArtifactUpdater implements ArtifactUpdater {
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../../dev/flutter-sdk/packages/flutter_tools/lib/src/cache.dart:1225:10: Context: 'ArtifactUpdater.formatProgressMessage' is defined here.
  String formatProgressMessage(String artifactName) {
         ^^^^^^^^^^^^^^^^^^^^^
../../../../../dev/flutter-sdk/packages/flutter_tools/lib/src/cache.dart:1174:8: Context: 'ArtifactUpdater.resetProgressContext' is defined here.
  void resetProgressContext() {
       ^^^^^^^^^^^^^^^^^^^^
../../../../../dev/flutter-sdk/packages/flutter_tools/lib/src/cache.dart:1162:8: Context: 'ArtifactUpdater.setProgressContext' is defined here.
  void setProgressContext({
       ^^^^^^^^^^^^^^^^^^
../../../../../.pub-cache/hosted/pub.dev/flutterpi_tool-0.11.0/lib/src/more_os_utils.dart:83:20: Error: The type 'HostPlatform' is not exhaustively matched by the switch cases since it doesn't match 'HostPlatform.linux_riscv64'.
 - 'HostPlatform' is from 'package:flutter_tools/src/base/os.dart' ('../../../../../dev/flutter-sdk/packages/flutter_tools/lib/src/base/os.dart').
Try adding a wildcard pattern or cases that match 'HostPlatform.linux_riscv64'.
    return switch (hostPlatform) {
                   ^
Failed to update packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions