Skip to content
Discussion options

You must be logged in to vote

Seems here some small nuance with shell stuff.

1). This script line:

if [[ -z $FLUTTER_ROOT ]]; then # not defined
  DART=dart

$FLUTTER_ROOT is not present in user environment. So variable DART became just "dart".

Dart installed, it has path, permissions etc:

$ which dart
/home/sergey/flutter/bin/dart
$ ls -la /home/sergey/flutter/bin/dart
-rwxrwxr-x 1 sergey sergey 2145 May  3  2024 /home/sergey/flutter/bin/dart

2). Also:

$ env | grep flutter
PATH=/home/sergey/flutter/bin:/home/sergey/.cargo/bin:/home/sergey/.local/bin:/home/sergey/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin

So, correct place for searching path is d…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@temeddix
Comment options

@sergey-serov
Comment options

@temeddix
Comment options

@sergey-serov
Comment options

Answer selected by temeddix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants