vscode安装插件时报错

Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See this link for more information.

解决方式:

执行以下命令之后重启vscode就可以了

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

xattr -dr com.apple.quarantine /Users/bear/Downloads/Visual\ Studio\ Code.app

// 换成自己电脑的vscode安装的路径

 

猜你喜欢

转载自www.cnblogs.com/lskzj/p/10952413.html
今日推荐