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

Stencil Bundle Error in Cornerstone 6.12.0 #1151

Open
balasuresha opened this issue Dec 28, 2023 · 2 comments
Open

Stencil Bundle Error in Cornerstone 6.12.0 #1151

balasuresha opened this issue Dec 28, 2023 · 2 comments

Comments

@balasuresha
Copy link

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

@jairo-bc
Copy link
Contributor

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

@balasuresh-ab
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants