-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting extension package is malformed/corrupted
when publishing new version of extension.
#153
Comments
I couldn't build your project. Here's what I got after
|
Huh, that's strange. What version of node and npm are you using? Here's a full log of cloning, installing, and packaging the polymer plugin using the configuration mentioned above (node v7.5.0 etc): https://gist.github.com/rictic/3b617e71d4bb434eed0f8fa3cf14cdbe Regarding that specific error, the dependencies seem to be correctly specified in package.json files: |
Huh. However, when I ran |
I had the same problem: I wanted to publish a new version of my extension vs-deploy by executing vsce publish I got a similar message:
After I did a fresh clone of my repository (and executed the same "publish command") it works now. Is there a way to get more information of why publishing of an extension fails? |
@joaomoreno Not sure but we do see a spike in those failures lately. We're investigating, will get back to you soon. |
Hi @rictic @mkloubert , we analyzed this and found that the vsix packages being uploaded were inadvertently greater than 20 MB (which is the current limit for packages ) ; however, due to a bug, they were being reported as a different error. This also explains the behavior with the clean repo. We will get the error-reporting fixed. Thanks for reporting, and sorry for the inconvenience. |
Thanks @amitramesan @rictic @mkloubert There is an open item to support larger extensions microsoft/vscode#18146 but it's still ongoing. Meanwhile you'll have to find a way to trim down those dependencies to get your VSIX under 20MB. |
Things I've tried:
vsce package
then installing the .vsix file, confirming that it has the new functionality in v0.3.1, as well as the updated changelog and other metadata.vsce logout polymer
thenvsce login polymer
I'm trying to publish this project at master (90046d2): https://github.com/Polymer/vscode-plugin
The text was updated successfully, but these errors were encountered: