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

Unexpected token '╭', "╭─ info ──"... is not valid JSON #51

Closed
octipus opened this issue Nov 26, 2024 · 3 comments
Closed

Unexpected token '╭', "╭─ info ──"... is not valid JSON #51

octipus opened this issue Nov 26, 2024 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@octipus
Copy link

octipus commented Nov 26, 2024

Theme check action started to fail as of this morning which appears to be caused by index.js file.
However, i cannot find the ╭─ info ── mentioned in the error, anywhere in the index.js file.
This workflow has not been changed in the past 8 months.

Image

@octipus
Copy link
Author

octipus commented Nov 26, 2024

So it appears that the theme-check-action, by default, runs using the lates Shopify CLI which was causing this issue.
We have fixed this by specifying an previous version of the CLI in the action flag

Image

@charlienaud
Copy link

Same here, I had to downgrade to an older version

It is related to the new notification system introduced in the latest @shopify/cli version.
More details here

@aswamy
Copy link

aswamy commented Nov 26, 2024

I believe this is already fixed on the main CLI branch. The next CLI release should fix this.

Shopify/cli#4910

@aswamy aswamy added the duplicate This issue or pull request already exists label Nov 26, 2024
@aswamy aswamy closed this as completed Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants