-
Notifications
You must be signed in to change notification settings - Fork 28.9k
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
The engine "vscode" appears to be invalid #91009
Comments
Thank you Andrii, this worked to remove the warnings. Thanks!
…On Wed, Feb 19, 2020 at 10:38 AM Andrii Dieiev ***@***.***> wrote:
In this case it's useless warning and can be ignored.
Unfortunately - only way to hide error specifically for vscode - only all
errors about engine yarn install --ignore-engines
<https://classic.yarnpkg.com/en/docs/cli/install/#toc-yarn-install-ignore-engines>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#91009?email_source=notifications&email_token=ABJ6BWZIIMPNQ5U5KCQXMADRDV4DPA5CNFSM4KX6LAA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMI67BY#issuecomment-588377991>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJ6BWZPZA5IYEN3CNQH7YTRDV4DPANCNFSM4KX6LAAQ>
.
|
Not sure if |
I think Andrii's workaround is the only way to get rid of this warning. (I'm just ignoring the warning) |
Sorry, removed initial answer, because only later noticed that yarn wasn't launched directly and I wasn't sure if option can be passes. Original answer below:
|
This seems to be a yarn feature. |
I have the following section in my package.json:
"engines": {
"vscode": "^1.33.0"
},
When I run "npm vsce package --yarn" I get the following warning:
The engine "vscode" appears to be invalid
If I remove engines.vscode, I get the error:
Error installing vscode.d.ts: Missing VSCode engine declaration in package.json
The yarn version I am using is v1.15.2
How can I get rid of this error?
The text was updated successfully, but these errors were encountered: