Skip to content

Unsupported operation: Platform._operatingSystem #69

@pro-akbar

Description

@pro-akbar

Error:

Got object store box in database cachedimageskeys.
Got object store box in database cachedimages.
DartError: Unsupported operation: Platform._operatingSystem
dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 307:3 throw
errors.dart:307
dart-sdk/lib/_internal/js_dev_runtime/private/profile.dart 117:39 _operatingSystem
profile.dart:117
dart-sdk/lib/io/platform_impl.dart 56:40 get operatingSystem
platform_impl.dart:56
dart-sdk/lib/io/platform.dart 83:44 get operatingSystem
platform.dart:83
dart-sdk/lib/_internal/js_dev_runtime/private/profile.dart 117:39 get
profile.dart:117
dart-sdk/lib/io/platform.dart 146:48 get isMacOS
platform.dart:146
dart-sdk/lib/_internal/js_dev_runtime/private/profile.dart 117:39 get
profile.dart:117
packages/barakah_umrah/main.dart 20:28
main.dart:20
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 622:19
async_patch.dart:622
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 647:23
async_patch.dart:647
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 593:31
async_patch.dart:593
dart-sdk/lib/async/zone.dart 1849:54 runUnary
zone.dart:1849
dart-sdk/lib/async/future_impl.dart 208:18 handleValue
future_impl.dart:208
dart-sdk/lib/async/future_impl.dart 932:44 handleValueCallback
future_impl.dart:932
dart-sdk/lib/async/future_impl.dart 961:13 _propagateToListeners
future_impl.dart:961
dart-sdk/lib/async/future_impl.dart 712:5 [_completeWithValue]
future_impl.dart:712
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 503:7 complete
async_patch.dart:503
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 570:12 _asyncReturn
async_patch.dart:570
packages/fast_cached_network_image/src/fast_cached_image.dart 434:3
fast_cached_image.dart:434
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 622:19
async_patch.dart:622
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 647:23
async_patch.dart:647
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 593:31
async_patch.dart:593
dart-sdk/lib/async/zone.dart 1849:54 runUnary
zone.dart:1849
dart-sdk/lib/async/future_impl.dart 208:18 handleValue
future_impl.dart:208
dart-sdk/lib/async/future_impl.dart 932:44 handleValueCallback
future_impl.dart:932
dart-sdk/lib/async/future_impl.dart 961:13 _propagateToListeners
future_impl.dart:961
dart-sdk/lib/async/future_impl.dart 712:5 [_completeWithValue]
future_impl.dart:712
dart-sdk/lib/async/future_impl.dart 792:7 callback
future_impl.dart:792
dart-sdk/lib/async/schedule_microtask.dart 40:11 _microtaskLoop
schedule_microtask.dart:40
dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop
schedule_microtask.dart:49
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 186:7

Flutter Doctor
[✓] Flutter (Channel stable, 3.29.0, on macOS 15.3.1 24D70 darwin-arm64, locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/to/macos-android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.97.2)
[✓] Connected device (3 available)
! Error: Browsing on the local area network for iPhone 11 Pro Max. Ensure the device is unlocked and attached
with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

Platform: Web

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