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

Can't install on M1 #233

Open
fennelhans opened this issue Jun 6, 2022 · 5 comments
Open

Can't install on M1 #233

fennelhans opened this issue Jun 6, 2022 · 5 comments

Comments

@fennelhans
Copy link

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
@Medformatik
Copy link

I have exactly the same problem on a Windows 11 computer, so the problem seems to be Flutter rather than the processor.

@rodydavis
Copy link

Is there a workaround? Maybe needs to get updated to Flutter 3?

@benjamincombes
Copy link

Same here on a Intel MacBook Pro

@KennyChan94P
Copy link

@rodydavis im using Flutter 3.0.5 to be exact, and im facing the same issue too (Error: Member not found: 'packageRoot'.) on m1 Macbook.

@itsthetaste
Copy link

I'm on flutter 2.10.5, Mac M1 and i have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants