flutter doctor 커멘드 입력시 첫번째 "Flutter" 부분에서 경고문 발생
! Warning: `dart` on your path resolves to
/opt/homebrew/Cellar/dart/3.0.4/libexec/bin/dart, which is not inside your
current Flutter SDK checkout at /Users/ryan/flutter. Consider adding
/Users/ryan/flutter/bin to the front of your path.
사실 간단한 이유이다.
Flutter는 자체적으로 Dart 언어를 제공한다.
따라서 중복될 필요가 없기 때문에 기존의 Dart를 삭제해야 경고문을 없앨 수 있다. (경고문은 참을 수 없다)
나는 brew를 이용해서 Dart를 설치한 적이 있다.
즉, brew에서 다트만 지워주면 된다.
brew uninstall dart
혹시 다른 방법으로 설치해서 Dart의 위치를 확인하고 싶다면
which dart