Skip to content

Can't install on M1 #233

@fennelhans

Description

@fennelhans

Can't seem to get this installed and working on an M1 Mac.

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.3.1 21E258 darwin-arm, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.67.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!
flutter pub global activate screenshots
Resolving dependencies...
+ archive 2.0.13 (3.3.0 available)
+ args 1.6.0 (2.3.1 available)
+ charcode 1.3.1
+ collection 1.16.0
+ convert 2.1.1 (3.0.2 available)
+ crypto 2.1.5 (3.0.2 available)
+ file 5.2.1 (6.1.2 available)
+ intl 0.16.1 (0.17.0 available)
+ meta 1.8.0
+ path 1.8.2
+ platform 2.2.1 (3.1.0 available)
+ process 3.0.13 (4.2.4 available)
+ pub_cache 0.2.3 (0.3.1 available)
+ pub_semver 1.4.4 (2.1.1 available)
+ resource 2.1.7
+ screenshots 2.1.1
+ source_span 1.9.0
+ string_scanner 1.1.1
+ term_glyph 1.2.0
+ tool_base 1.9.5+3
+ tool_mobile 1.9.5+1
+ typed_data 1.3.1
+ yaml 2.2.1 (3.1.1 available)
Building package executables...
Failed to build screenshots:main:
../../../../.pub-cache/hosted/pub.dartlang.org/platform-2.2.1/lib/src/interface/local_platform.dart:45:41: Error: Member not found: 'packageRoot'.
  String get packageRoot => io.Platform.packageRoot;
                                        ^^^^^^^^^^^
pub finished with exit code 1

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