gpt4 book ai didi

javascript - 如何在发布我的自定义 vscode 扩展时修复 "Access Denied to perform this action: View user permissions on a resource"

转载 作者:行者123 更新时间:2023-12-04 01:02:03 28 4
gpt4 key购买 nike

我已经编写了一个 vs-code 扩展并且我成功地打包了它,但是我在发布它时被一个错误打败了。

$ vsce 发布
...
...
访问被拒绝:Srikanth Bhamidipalli 需要对资源/Srikanth 的以下权限才能执行此操作:查看资源的用户权限

我希望它应该发布。

最佳答案

当我的出版商名称与我的 package.json 中的出版商不匹配时,我发生了这种情况。文件。

我使用网络浏览器在线创建了我的发布者,发布者 ID 是 PetrHudeek。与 vsce ,我使用我的个人访问 token 登录到该发布者的帐户,但我的 package.json文件有 hudecekpetr作为出版商。

确保键的值 publisher在您的 package.json 中与您的在线发布者 ID 匹配(URL 中 https://marketplace.visualstudio.com/manage/publishers/ 之后的字符串)。

关于javascript - 如何在发布我的自定义 vscode 扩展时修复 "Access Denied to perform this action: View user permissions on a resource",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58118616/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com