stencil-cli icon indicating copy to clipboard operation
stencil-cli copied to clipboard

Stencil Bundle Error in Cornerstone 6.12.0

Open balasuresha opened this issue 1 year ago • 2 comments

Recently, I downloaded the latest cornerstone theme 6.12.0 from github (https://github.com/bigcommerce/cornerstone/releases/tag/6.12.0). After installing the required dependency packages using npm install command.

Then, I try to bundle the theme using stencil bundle command - stencil bundle

After this, I'm getting below error

Error: Your theme's schema.json has errors: schema[6].settings[25].type should be equal to one of the allowed values

Screenshot 2023-12-28 183453

node : 14.19.1 npm : 6.14.6 stencil : 4.0.0

balasuresha avatar Dec 28 '23 13:12 balasuresha

Hi @balasuresha, you're on older version of stencil cli, which is not compatible with the latest version of the cornerstone. I recommend first to update node version and then stencil cli

jairo-bc avatar Dec 28 '23 15:12 jairo-bc

@jairo-bc I found the issue. But, not able to identify the solution. In the schema.json file "type": "sort", is throwing this error. Instead of sort, if I change to any type stencil bundle is happening.

image

balasuresh-ab avatar Jan 04 '24 05:01 balasuresh-ab