Skip to content

flutter run -d server fails when Chrome not present #40814

@domesticmouse

Description

@domesticmouse

I'm in the process of attempting to run Flutter tooling alongside the VS Code in the Cloud product code-server. I can install the flutter tooling, change to master, upgrade, and set the config to enable web, but then attempting to run just the server fails.

$ flutter doctor --verbose
[✓] Flutter (Channel master, v1.10.4-pre.72, on Linux, locale en_US.UTF-8)
    • Flutter version 1.10.4-pre.72 at /home/coder/flutter
    • Framework revision 4c724b9b7d (2 hours ago), 2019-09-18 21:48:41 -0400
    • Engine revision 7f7250f476
    • Dart version 2.6.0 (build 2.6.0-dev.1.0 cb80ea7ba9)

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, set ANDROID_HOME to that location.
      You may also want to add it to your PATH environment variable.


[✗] Chrome - develop for the web (Cannot find chrome executable at google-chrome)
    ! CHROME_EXECUTABLE not set

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).

[✓] Connected device (2 available)
    • Chrome • chrome • web-javascript • unknown (unsupported)
    • Server • web    • web-javascript • Flutter Tools

! Doctor found issues in 3 categories.
$ flutter config
Configure Flutter settings.

[Elided help output - bjm]

Settings:
  enable-web: true

Analytics reporting is currently enabled.
$ flutter run -d server
Unable to locate a development device; please run 'flutter doctor' for information about installing additional components.

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-webWeb applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions