Skip to content
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

polymer build bundle option causes error #3469

Open
DarkSideOfMo0n opened this issue Nov 8, 2019 · 1 comment
Open

polymer build bundle option causes error #3469

DarkSideOfMo0n opened this issue Nov 8, 2019 · 1 comment
Labels

Comments

@DarkSideOfMo0n
Copy link

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:

  1. Install polymer-cli -> npm i -g polymer-cli
  2. polymer init -> select polymer 2 application then hit enter a couple times
  3. Edit polymer.json and insert ->
    {
    "lint": {
    "rules": [
    "polymer-2"
    ]
    },
    "builds": [
    {
    "name": "asdf",
    "bundle": {
    "stripComments": "true"
    }
    }
    ]
    }
  4. run polymer build and get the error above

I'm using node v 12.13.0, polymer cli 1.9.11

@stale
Copy link

stale bot commented Nov 7, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant