[머릿말]
이 글을 찾은 분들은 플러터 초기 개발 환경을 구축하고 마지막에 flutter doctor 명령어를 통해 확인을 하던 도중 문제를 겪었을 것이다...
[문제]
[원인]
Flutter에는 이미 Dart 패키지가 포함되어있기 때문에 또 다른 버전의 Dart는 굳이 필요하지 않다. 따라서 터미널에서 brew list 명령어를 입력했을 때 dart가 있으면 위와 같은 경고가 발생한다.
[해결 방법]
해결 방법은 간단하다. 아래 명령어를 통해 dart를 삭제해주면 된다.
brew uninstall dart
[결과]
* 참고
How to fix this Flutter Doctor "Warning: `dart` on your path resolves to " macos?
I'm getting this warning after using "Flutter Doctor" command after the installation of Dart using brew tap dart-lang/dart on MacOS Big Sur Flutter (Channel stable, 3.7.0, on macOS 11.7.2
stackoverflow.com
'[Frame Work] > [Flutter]' 카테고리의 다른 글
[Flutter][Troubleshooting] :: 아이폰과 연결 안되는 문제 해결 방법 (0) | 2024.04.25 |
---|---|
[Flutter][Troubleshooting] :: 시뮬레이터 실행 시 뜨는 오류(Logging Error: Failed to initialize logging system...) (0) | 2024.04.25 |
[MAC][Flutter] :: 플러터 초기 개발 환경 구축 방법 (0) | 2024.04.24 |