flutter를 이용해서 firebase를 설치할때면 " $HOME/.pub-cache/bin, which is not on your path. " 이런 에러를 자주 마주치게 된다.
Warning: Pub installs executables into $HOME/.pub-cache/bin, which is not on your path.
You can fix that by adding this to your shell's config file (.bashrc, .bash_profile, etc.):
export PATH="$PATH":"$HOME/.pub-cache/bin"
해결방법은 써있는것처럼 .bashrc파일이나 .bash_profile, .zshrc 파일에 [ export PATH="$PATH":"$HOME/.pub-cache/bin" ] 내용을 추가해주면 된다.
터미널에 "$vi ~/.zshrc"를 입력해서 수정해주면 된다.
그래도 안되면... 터미널을 껏다 키거나 안드로이드 스튜디오를 껏다키면 된다 ^^;;
'스터디 > Flutter+Dart' 카테고리의 다른 글
Flutter/Dart 랜덤 (0) | 2022.08.30 |
---|---|
Flutter APK 만들기 명령어 (debug, release) (0) | 2022.08.30 |
[Flutter] Webview에서 JS로 Flutter앱의 기능 실행하기 (0) | 2022.07.15 |
Flutter 디버그 모드 / 릴리즈 모드 구분하기 / 디버깅 안될때 (0) | 2022.07.14 |
Flutter로 Windows App(윈도우 앱) 만들기 (0) | 2021.07.09 |
댓글