I have written a vs-code extension and I packaged it successfully, but I had beaten by an error while publishing it.
$ vsce publish ... ... Access Denied: Srikanth Bhamidipalli needs the following permission(s) on the resource /Srikanth to perform this action: View user permissions on a resource
I expect it should publish.
This happened to me when the name of my publisher didn't match the publisher in my package.json
file.
I created my publisher online using my web browser and the publisher ID was PetrHudeek. With vsce
, I logged in using my personal access token to an account with that publisher, but my package.json
file had hudecekpetr
as the publisher.
Make sure that the value of the key publisher
in your package.json matches your publisher ID online (the string after https://marketplace.visualstudio.com/manage/publishers/
in the URL).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With