启动时的 EACCES 错误 [英] EACCES Error on Startup

查看:38
本文介绍了启动时的 EACCES 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从升级到 VSCode 1.5.1(从 1.4 开始)后,每当启动 VSCode 时,我都会收到一条错误消息,指出连接 EACCES 191.238.172.191:443".我已经关闭了各种记录的隐私设置并在我的防火墙中阻止了 VSCode(因为我的互联网通常很慢而且很贵).该 URL 似乎指向巴西的 Microsoft.有什么办法可以阻止 VSCode 1.5.1 尝试打电话回家吗?

Since upgrading to VSCode 1.5.1 (from 1.4), I get an error message saying "connect EACCES 191.238.172.191:443" whenever starting VSCode. I've turned off the various documented privacy settings and blocked VSCode in my firewall (because my internet is usually slow and expensive). That URL seems to point to Microsoft, Brazil. Is there any way to stop VSCode 1.5.1 from trying to phone home?

推荐答案

  1.  代码 --verbose

[main 2020-03-18T15:26:02.655Z] 错误:连接 EACCES/Users/nasa/Library/Application Support/Code/1.43.0-main.sock在 PipeConnectWrap.afterConnect [as oncomplete] (net.js:1056:14)[主要 2020-03-18T15:26:02.657Z] Lifecycle#kill()

[main 2020-03-18T15:26:02.655Z] Error: connect EACCES /Users/nasa/Library/Application Support/Code/1.43.0-main.sock at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1056:14) [main 2020-03-18T15:26:02.657Z] Lifecycle#kill()

  1.  cd ~/Library/ApplicationSupport/code

  1.  cd ~/Library/ApplicationSupport/code

 sudo chmod -R 777 1.43.0-main.sock

 sudo chmod -R 777 1.43.0-main.sock

这篇关于启动时的 EACCES 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆