You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

VS Code源代码控制未同步Git变更(MacOS Ventura)求助

VS Code 文件变更不显示且文件监视器报错(MacOS Ventura)

环境信息

  • 操作系统:MacOS Ventura 13.0.1
  • VS Code版本:1.74.3(Universal)

问题现象

  • 修改文件后,源代码控制面板未显示任何变更
  • 通知中心弹出错误提示:
    VS Code通知错误
  • 查看VS Code开发者日志,发现重复出现以下错误:
2023-01-24 20:03:13.166 [error] [File Watcher (parcel)] Unexpected error: No such file or directory (EUNKNOWN) (path: /Users/UserName/Desktop/folder)
2023-01-24 20:03:13.167 [error] [File Watcher (universal)] restarting watcher after error: No such file or directory
2023-01-24 20:03:13.918 [error] [File Watcher (parcel)] Unexpected error: No such file or directory (EUNKNOWN) (path: /Users/UserName/Desktop/folder)
2023-01-24 20:03:13.919 [error] [File Watcher (universal)] restarting watcher after error: No such file or directory

已尝试的无效操作

  • 卸载VS Code并删除$HOME/Library/Application Support/Code和~/.vscode文件夹,问题仍未解决

内容的提问来源于stack exchange,提问作者dealwap

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.03 08:40:29