-
Notifications
You must be signed in to change notification settings - Fork 19
Issue: Theme Check Language Server Crashes #107
Comments
Yikes. That's not a pretty stack trace... Did you try with From what I can see, the trace shows signs of the shopify-cli 3 vendored ruby and I'd like to confirm if it's because of that or a Gives me yet another reason to try to get rid of the ruby dependency 😅 |
This part is concerning:
Looks like there's a conflict in somewhere that makes it so the build is trying to link M1 and non M1 mac files. |
@charlespwd I was able to replicate this with a fresh install of shopify-cli. I found this thread but got nowhere disabling shared libs. Running
Ruby 3.2.0 and 3.1.0 gave me the same error:
What worked:
Then confirming:
Setting default:
shopify-cli and theme-check now work. Looking into it further, it seems to be an issue with
|
Im getting a similar issue and here is my output. I've tried the steps mentioned above but got no luck.
|
I'm almost 100% sure this is because of the Shopify CLI3 vendored ruby shenanigans. What I'd recommend: Install theme-check separately and then use the language server provided by that instead of the one provided by the Shopify CLI.
|
I was also told I could use this for now. Adding |
Just confirming, I got same issue but following @charlespwd comment above made it work. |
👋🏻 This repo has been moved to https://github.com/Shopify/theme-tools If this is still an issue, please open a new issue there with the tag area:theme-check-vscode |
Hi. I am trying out the extension to test the prettier plugin integration but having issues when it starts. The theme check language server attempts to initialise but crashes multiple times. It looks like this within vscode:
I have attempted to reinstall the shopify-cli and ruby without any luck.
Shopify CLI version is 3.26.0 (installed through Homebrew).
ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [arm64-darwin21]
Do you have any idea what might be the issue? Also let me know if you need more information.
The output log is the following:
The text was updated successfully, but these errors were encountered: