LoginSignup
14
7

More than 3 years have passed since last update.

Visual Studio CodeのCould not create temporary directory: アクセス権がありませんのエラー解決

Posted at

vscode起動時に毎回このエラーが出てくるようになりました。

Could not create temporary directory: アクセス権がありません

未翻訳の場合は下記のように表示されるようです。

Could not create temporary directory: Permission denied

vscodeのバージョン更新ができなくなってしまっている模様。
設定ボタンから更新の確認をしようとしても同様のエラーが表示されます。

調べてみるとcom.microsoft.VSCode.ShipItというディレクトリの権限が関係しているようで、ターミナルで下記を行うと解決しました。

sudo chown $USER ~/Library/Caches/com.microsoft.VSCode.ShipIt

補足

macOS上で起きるエラーのようです。

参考

14
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
7