본문 바로가기
728x90
반응형

에러 메세지

Your flutter checkout has local changes that would be erased by upgrading. If you want to keep these changes, it is recommended that you stash them via "git stash" or else commit thechanges to a local branch. If it is okay to remove local changes, then re-run this command with "--force". 

flutter upgrade를 터미널에 입력했을 때 위에 글과 같이 오류가 발생했다면 코드 수정 때 IDE 부분에서 에러가 났을 경우가 대부분이다. 

flutter upgrade --force

를 입력하면 에러가 난 부분을 수정해주면서 flutter를 업그레이드할 수 있다. 

 

728x90
반응형