Flutter on linux ignores the DART_VM_OPTIONS environment variable, meaning it is impossible to use Flutter on linux behind a corporate proxy #113594
Labels
dependency: dart
Dart team may need to help us
P2
Important issues not at the top of the work list
platform-linux
Building on or for Linux specifically
r: duplicate
Issue is closed as a duplicate of an existing issue
team-tool
Owned by Flutter Tool team
tool
Affects the "flutter" command-line tool. See also t: labels.
triaged-tool
Triaged by Flutter Tool team
Steps to Reproduce
flutter doctor
, even this can be an ordeal since flutter does not respectDART_VM_OPTIONS
flutter build web
/prod/eqtech/web/flutter/bin/cache/dart-sdk/bin/dart __deprecated_pub --verbose get --no-precompile
which clearly does not contain the--root-certs-file=/path/to/ca.pem
environment variable.dart --root-certs-file=/path/to/ca.pem pub get
does work meaning that Flutter correctly passing the environment variable would be sufficient to get it working.Sadly even if you
pub get
using dart and download all the dependencies, runningflutter build
causes it to use pub again and then it fails, meaning it is impossible to build using Flutter on linux behind a corporate proxy.I'd consider this a very high priority issue, since it means it's impossible for any companies with linux machines used by developers or as build servers who also have a proxy to use Flutter whatsoever.
Logs
Logs
The text was updated successfully, but these errors were encountered: