Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

@types/vscode ^x.xx greater than engines.vscode ^x.xx

When I run vsce

vsce publish

I get the following error:

@types/vscode ^1.62.0 greater than engines.vscode ^1.48.0

Consider upgrade engines.vscode or use an older @types/vscode version

I have the following dependencies in my package.json:

"devDependencies": {
    "@types/vscode": "^1.62.0",
    "vsce": "^2.5.0"
}

How do I update engines.vscode?

Related: How do I update my vscode extension's engine requirement

like image 300
KyleMit Avatar asked Sep 13 '25 02:09

KyleMit


1 Answers

According to publishing docs section on Visual Studio Code compatibility

When authoring an extension, you will need to describe what is the extension's compatibility to Visual Studio Code itself. This can be done via the engines.vscode field inside package.json:

{
  "engines": {
    "vscode": "^1.62.0"
  }
}
like image 183
KyleMit Avatar answered Sep 15 '25 14:09

KyleMit