오류 메세지
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"
dart pub global activate rename
bundle id를 변경하던 와중 오류가 발생했습니다. 이 오류를 해결해봅시다.
해결방법
open ~/.zshrc
터미널에서 위와같이 입력해줍니다.
export PATH="$PATH":"$HOME/.pub-cache/bin"
맨 밑줄에 이렇게 입력하고 저장해줍니다.
source ~/.zshrc
이렇게 입력해서 변경된 내용을 적용시켜줍니다.
끝!
'Language > Flutter' 카테고리의 다른 글
[Flutter][iOS] generatedpluginregistrant.m module not found 해결방법 (0) | 2024.12.06 |
---|---|
[Flutter] 도넛차트를 만들어보자 (0) | 2024.11.27 |
[Flutter] ConstrainedBox vs SizedBox - 크기 제약의 이해 (0) | 2024.11.25 |
[Flutter] 부모 위젯이 자식 위젯의 메소드호출하기 (0) | 2024.11.24 |
[Flutter] /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: AAPT: error: file failed to compile. 에러 해결방법 (0) | 2024.11.23 |