-
Notifications
You must be signed in to change notification settings - Fork 210
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
--yarn
can not work correctly after 1.81.0
#494
Comments
I don't use yarn and I received the following error:
These are the only packages I have globally:
|
In addition to @roydukkey comments. A fresh project with no |
|
Does |
@felipecrs It did not, as I am using azure build pipeline. rather I am not sure what changes/task I need to change in azure pipeline. My extension scripts are
|
I can confirm the bug, I tried to debug but I was not able to. For users facing this issue, I recommend to downgrade vsce: {
"devDependencies": {
"vsce": "1.80.0"
}
} |
Okay, I found the issue. The commander always sets the /cc @rbuckton @joaomoreno |
Submitted a PR. This behavior was fixed in commander 3.0.0. |
adding |
For sure, it's not a solution, just a workaround until the issue gets fixed. However, I believe the best workaround so far is to downgrade the |
Oof, sorry about that. Releasing a new version asap. |
Sorry for the breakage everyone. v1.81.1 is cooking right now with the fix and should be out in a few minutes. |
2 changes: 1. adapted the nodejs version to "nodejs-lts" which will use the latest LTS version configured in Jenkins 2. added parameter "--no-yarn" to the vsce call which enforces that yarn is NOT used (workaround for issue microsoft/vscode-vsce#494 introduced in vsce 1.81.0)
2 changes: 1. adapted the nodejs version to "nodejs-lts" which will use the latest LTS version configured in Jenkins 2. added parameter "--no-yarn" to the vsce call which enforces that yarn is NOT used (workaround for issue microsoft/vscode-vsce#494 introduced in vsce 1.81.0)
Thank you very much. @felipecrs |
If project has
yarn.lock
file,vsce
will useyarn
automatically. However, when using--yarn
flag, it will fall back tonpm
The text was updated successfully, but these errors were encountered: