when I package a theia plugin use "vsce package", have error "Manifest missing field: engines.vscode", how can I package the plugin to vsix #8561
Answered
by
vince-fugnitto
ReachForAStar
asked this question in
General
-
It's the helloworld plugin,package.json is this {
"name": "helloword",
"publisher": "theia",
"keywords": [
"theia-plugin"
],
"version": "0.0.1",
"license": "none",
"files": [
"src"
],
"activationEvents": [
"*"
],
"devDependencies": {
"@theia/plugin": "next",
"@theia/plugin-packager": "0.0.1-1594417672",
"rimraf": "2.6.2",
"typescript": "3.5.3",
"typescript-formatter": "7.2.2"
},
"scripts": {
"prepare": "yarn run clean && yarn run build",
"clean": "rimraf lib",
"format-code": "tsfmt -r",
"watch": "tsc -watch",
"compile": "tsc",
"build": "yarn run format-code && yarn run compile && theia-plugin pack"
},
"engines": {
"theiaPlugin": "next"
},
"theiaPlugin": {
"backend": "lib/helloword-backend.js"
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
vince-fugnitto
Sep 25, 2020
Replies: 1 comment 2 replies
-
@ReachForAStar thank you for the discussion, the error message clearly states that an "engines": {
"vscode": "^1.40.0"
}, |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ReachForAStar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ReachForAStar thank you for the discussion, the error message clearly states that an
engines.vscode
field is missing from yourpackage.json
, for example: