JaeYeopHan / tip-archive

📦 Archiving various development tips. If you watch this repository, you can get issues related to the newly registered development tip from the GitHub feed.
https://www.facebook.com/Jbee.dev/
246 stars 8 forks source link

VSCode Error: Could not create temporary directory! #57

Open JaeYeopHan opened 5 years ago

JaeYeopHan commented 5 years ago

Description

언제부터인가 VSCode가 자동 업데이트 되지 않았음. 늘 뜨던 에러지만 사용하는 문제 없어서 바쁘니까 무시했는데 그 에러가 원인이었다.

Could not create temporary directory!

Solution

자동 업데이트를 관리하는 com.microsoft.VSCode.ShipIt라는 캐시 파일을 날려준다.

$ cd ~/Library/Caches
$ sudo rm -Rf ~/Library/Caches/com.microsoft.VSCode.ShipIt