You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ npx vsce ls
INFO Detected presence of yarn.lock. Using 'yarn' instead of 'npm' (to override this pass '--no-yarn' on the command line).
ERROR Command failed: yarn list --prod --json
There is no list in yarn 2 and if you try to pass --no-yarn to vsce, you endup with the other problems and failures.
As a temporary workaround I could replace replace vsce ls with zipinfo -1 *.vsix to perform the listing but that would not work if other tools/libraries are calling vsce ls themselves. It is still broken.
Yarn v2 is more than two years old and v1 is no longer supported, so that does not really counts as a "feature". Code rots, and apparently vsce is not immune to it.
Sorry, I seen original OP closing it. In fact is not a full duplicate, that one is specific, we might have other broken things related to general compatibility with yarn v2.
There is no
list
in yarn 2 and if you try to pass--no-yarn
to vsce, you endup with the other problems and failures.As a temporary workaround I could replace replace
vsce ls
withzipinfo -1 *.vsix
to perform the listing but that would not work if other tools/libraries are callingvsce ls
themselves. It is still broken.Yarn v2 is more than two years old and v1 is no longer supported, so that does not really counts as a "feature". Code rots, and apparently
vsce
is not immune to it.Related: #517
The text was updated successfully, but these errors were encountered: