I got this error on Mac OS 10.14 VSCode with following error messageCould not create temporary directory: Permission denied
Solutions
cd ~/Library/Caches
sudo chown -R <username>:staff *
Problem solved 😀
References:
https://github.com/Microsoft/vscode/issues/63869
Photo by Francesco Ungaro on Unsplash