解决 Cursor 不能安装插件(failed to fetch)的报错

6,970 阅读1分钟

问题

在使用 Cursor 安装插件的过程中,发现搜索插件会出现

Error while fetching extensions failed to fetch

无法安装插件影响使用。

解决办法

  1. 在 Cursor 界面通过 F1 快捷键(或者 Command + Shift + P)打开命令弹窗,搜索 Developer: Toggle Developer Tools并打开 Network panel

image.png 2. 在 Cursor 插件列表重新搜索插件,查看请求发送的地址是不是 https://marketplace.cursorapi.com,如果是的话继续往下看

  1. 打开 Cursor 应用程序的「显示包内容」

image.png 4. 修改 Contents/Resources/app/product.json

  1. https://marketplace.cursorapi.com 替换为 https://marketplace.visualstudio.com

image.png 6. 重新启动 Cursor,无视 macOS 安全信息或者在系统设置-隐私与安全性允许打开