根本原因是因为cursor 商店源不对 可以更换下面的商店源
1.在cursor 目录中找到product.json文件(位置在C:\用户名\cursor\resources\app\product.json)
2.将下面的商店源进行更换可以直接复制下面的代码进行更换。
"extensionsGallery": {
"galleryId": "cursor",
"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
"itemUrl": "https://marketplace.visualstudio.com/items",
"resourceUrlTemplate": "https://marketplace.visualstudio.com/{publisher}/{name}/{version}/{path}",
"controlUrl": "https://api2.cursor.sh/extensions-control",
"extensionUrlTemplate": "https://www.vscode-unpkg.net/_gallery/{publisher}/{name}/latest",
"recommendationsUrl": "",
"nlsBaseUrl": "",
"publisherUrl": ""
},
3.重启cursor即可正常安装插件了。