-
Notifications
You must be signed in to change notification settings - Fork 200
Description
Error Message:
error: Promise rejection: Error: Property 'builds[0].bundle' is not any of [subschema 0],[subschema 1]
error: Error: Property 'builds[0].bundle' is not any of [subschema 0],[subschema 1]
at Function.validateOptions (/usr/local/lib/node_modules/polymer-cli/node_modules/polymer-project-config/lib/index.js:265:19)
at Function.loadOptionsFromFile (/usr/local/lib/node_modules/polymer-cli/node_modules/polymer-project-config/lib/index.js:226:25)
at new PolymerCli (/usr/local/lib/node_modules/polymer-cli/lib/polymer-cli.js:105:56)
at Object. (/usr/local/lib/node_modules/polymer-cli/lib/run.js:37:17)
at Generator.next ()
at /usr/local/lib/node_modules/polymer-cli/lib/run.js:20:71
at new Promise ()
at __awaiter (/usr/local/lib/node_modules/polymer-cli/lib/run.js:16:12)
at /usr/local/lib/node_modules/polymer-cli/lib/run.js:35:8
at Object. (/usr/local/lib/node_modules/polymer-cli/lib/run.js:52:4)
Steps for Reproduction:
- Install polymer-cli -> npm i -g polymer-cli
- polymer init -> select polymer 2 application then hit enter a couple times
- Edit polymer.json and insert ->
{
"lint": {
"rules": [
"polymer-2"
]
},
"builds": [
{
"name": "asdf",
"bundle": {
"stripComments": "true"
}
}
]
} - run polymer build and get the error above
I'm using node v 12.13.0, polymer cli 1.9.11