Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

OSX Connection to server got closed. Server will not be restarted. #53

Closed
azamanaza opened this issue Sep 30, 2021 · 2 comments
Closed

Comments

@azamanaza
Copy link

azamanaza commented Sep 30, 2021

Description

I get an error when I run the shopify liquid extension on vscode (see output below).
Running theme-check on a folder works fine.

OS

Bigsur 11.3.1

Version

OQAS-ADMINs-MacBook-Pro:~ mcola$ shopify version
2.5.0

Which

OQAS-ADMINs-MacBook-Pro:~ mcola$ which theme-check-language-server
/Users/mcola/.rvm/gems/ruby-2.7.2/bin/theme-check-language-server
OQAS-ADMINs-MacBook-Pro:~ mcola$ which shopify
/usr/local/bin/shopify
OQAS-ADMINs-MacBook-Pro:~ mcola$ which theme-check
/Users/mcola/.rvm/gems/ruby-2.7.2/bin/theme-check
OQAS-ADMINs-MacBook-Pro:~ mcola$ which ruby
/Users/mcola/.rvm/rubies/ruby-2.7.2/bin/ruby
OQAS-ADMINs-MacBook-Pro:~ mcola$ which gem
/Users/mcola/.rvm/rubies/ruby-2.7.2/bin/gem

Output

Note] You cannot use gems with Shopify CLI.
[LoadError] cannot load such file -- theme_check
       They are disabled.
       Please don't modify the CLI locally.
       If you would like to contribute to the CLI project, please refer to
       https://github.com/Shopify/shopify-cli/blob/main/.github/CONTRIBUTING.md

[Note] You cannot use gems with Shopify CLI.
[LoadError] cannot load such file -- theme_check
       They are disabled.
       Please don't modify the CLI locally.
       If you would like to contribute to the CLI project, please refer to
       https://github.com/Shopify/shopify-cli/blob/main/.github/CONTRIBUTING.md

<internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- theme_check (LoadError)
	from <internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:9:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/project_types/theme/commands/language_server.rb:2:in `<top (required)>'
	from <internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:9:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/command.rb:35:in `const_get'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/command.rb:35:in `block in subcommand'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:87:in `resolve_class'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:70:in `resolve_global_command'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:64:in `resolve_command'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:41:in `lookup_command'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/command.rb:15:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:in `block (2 levels) in call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:in `block (2 levels) in with_logging'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:in `with_id'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:in `block in with_logging'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-ui/lib/cli/ui.rb:176:in `log_output_to'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:in `with_logging'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:in `block in call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:in `block (2 levels) in with_traps'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:in `block in with_traps'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:in `with_traps'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/executor.rb:15:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/entry_point.rb:24:in `block in call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/monorail.rb:20:in `log'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/entry_point.rb:23:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:33:in `block in <main>'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:in `handle_abort'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:32:in `<main>'
[Info  - 12:11:21 PM] Connection to server got closed. Server will restart.
[Note] You cannot use gems with Shopify CLI.
[LoadError] cannot load such file -- theme_check
       They are disabled.
       Please don't modify the CLI locally.
       If you would like to contribute to the CLI project, please refer to
       https://github.com/Shopify/shopify-cli/blob/main/.github/CONTRIBUTING.md

[Note] You cannot use gems with Shopify CLI.
[LoadError] cannot load such file -- theme_check
       They are disabled.
       Please don't modify the CLI locally.
       If you would like to contribute to the CLI project, please refer to
       https://github.com/Shopify/shopify-cli/blob/main/.github/CONTRIBUTING.md

<internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- theme_check (LoadError)
	from <internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:9:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/project_types/theme/commands/language_server.rb:2:in `<top (required)>'
	from <internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:9:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/command.rb:35:in `const_get'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/command.rb:35:in `block in subcommand'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:87:in `resolve_class'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:70:in `resolve_global_command'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:64:in `resolve_command'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:41:in `lookup_command'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/command.rb:15:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:in `block (2 levels) in call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:in `block (2 levels) in with_logging'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:in `with_id'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:in `block in with_logging'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-ui/lib/cli/ui.rb:176:in `log_output_to'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:in `with_logging'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:in `block in call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:in `block (2 levels) in with_traps'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:in `block in with_traps'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:in `with_traps'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/executor.rb:15:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/entry_point.rb:24:in `block in call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/monorail.rb:20:in `log'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/entry_point.rb:23:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:33:in `block in <main>'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:in `handle_abort'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:32:in `<main>'
[Info  - 12:11:22 PM] Connection to server got closed. Server will restart.
[Note] You cannot use gems with Shopify CLI.
[LoadError] cannot load such file -- theme_check
       They are disabled.
       Please don't modify the CLI locally.
       If you would like to contribute to the CLI project, please refer to
       https://github.com/Shopify/shopify-cli/blob/main/.github/CONTRIBUTING.md

[Note] You cannot use gems with Shopify CLI.
[LoadError] cannot load such file -- theme_check
       They are disabled.
       Please don't modify the CLI locally.
       If you would like to contribute to the CLI project, please refer to
       https://github.com/Shopify/shopify-cli/blob/main/.github/CONTRIBUTING.md

<internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- theme_check (LoadError)
	from <internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:9:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/project_types/theme/commands/language_server.rb:2:in `<top (required)>'
	from <internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:9:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/command.rb:35:in `const_get'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/command.rb:35:in `block in subcommand'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:87:in `resolve_class'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:70:in `resolve_global_command'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:64:in `resolve_command'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:41:in `lookup_command'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/command.rb:15:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:in `block (2 levels) in call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:in `block (2 levels) in with_logging'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:in `with_id'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:in `block in with_logging'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-ui/lib/cli/ui.rb:176:in `log_output_to'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:in `with_logging'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:in `block in call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:in `block (2 levels) in with_traps'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:in `block in with_traps'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:in `with_traps'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/executor.rb:15:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/entry_point.rb:24:in `block in call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/monorail.rb:20:in `log'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/entry_point.rb:23:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:33:in `block in <main>'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:in `handle_abort'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:32:in `<main>'
[Info  - 12:11:22 PM] Connection to server got closed. Server will restart.
[Note] You cannot use gems with Shopify CLI.
[LoadError] cannot load such file -- theme_check
       They are disabled.
       Please don't modify the CLI locally.
       If you would like to contribute to the CLI project, please refer to
       https://github.com/Shopify/shopify-cli/blob/main/.github/CONTRIBUTING.md

[Note] You cannot use gems with Shopify CLI.
[LoadError] cannot load such file -- theme_check
       They are disabled.
       Please don't modify the CLI locally.
       If you would like to contribute to the CLI project, please refer to
       https://github.com/Shopify/shopify-cli/blob/main/.github/CONTRIBUTING.md

<internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- theme_check (LoadError)
	from <internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:9:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/project_types/theme/commands/language_server.rb:2:in `<top (required)>'
	from <internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:9:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/command.rb:35:in `const_get'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/command.rb:35:in `block in subcommand'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:87:in `resolve_class'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:70:in `resolve_global_command'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:64:in `resolve_command'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:41:in `lookup_command'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/command.rb:15:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:in `block (2 levels) in call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:in `block (2 levels) in with_logging'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:in `with_id'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:in `block in with_logging'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-ui/lib/cli/ui.rb:176:in `log_output_to'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:in `with_logging'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:in `block in call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:in `block (2 levels) in with_traps'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:in `block in with_traps'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:in `with_traps'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/executor.rb:15:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/entry_point.rb:24:in `block in call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/monorail.rb:20:in `log'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/entry_point.rb:23:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:33:in `block in <main>'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:in `handle_abort'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:32:in `<main>'
[Info  - 12:11:22 PM] Connection to server got closed. Server will restart.
[Note] You cannot use gems with Shopify CLI.
[LoadError] cannot load such file -- theme_check
       They are disabled.
       Please don't modify the CLI locally.
       If you would like to contribute to the CLI project, please refer to
       https://github.com/Shopify/shopify-cli/blob/main/.github/CONTRIBUTING.md

[Note] You cannot use gems with Shopify CLI.
[LoadError] cannot load such file -- theme_check
       They are disabled.
       Please don't modify the CLI locally.
       If you would like to contribute to the CLI project, please refer to
       https://github.com/Shopify/shopify-cli/blob/main/.github/CONTRIBUTING.md

<internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- theme_check (LoadError)
	from <internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:9:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/project_types/theme/commands/language_server.rb:2:in `<top (required)>'
	from <internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/Users/mcola/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:9:in `require'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/command.rb:35:in `const_get'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/command.rb:35:in `block in subcommand'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:87:in `resolve_class'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:70:in `resolve_global_command'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:64:in `resolve_command'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb:41:in `lookup_command'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/command.rb:15:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:in `block (2 levels) in call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:in `block (2 levels) in with_logging'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:in `with_id'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:in `block in with_logging'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-ui/lib/cli/ui.rb:176:in `log_output_to'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:in `with_logging'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:in `block in call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:in `block (2 levels) in with_traps'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:in `block in with_traps'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:in `with_traps'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/executor.rb:15:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/entry_point.rb:24:in `block in call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/monorail.rb:20:in `log'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/lib/shopify_cli/core/entry_point.rb:23:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:33:in `block in <main>'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:in `handle_abort'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:in `call'
	from /Users/mcola/.rvm/gems/ruby-3.0.0@latest/gems/shopify-cli-2.5.0/bin/shopify:32:in `<main>'
[Error - 12:11:23 PM] Connection to server got closed. Server will not be restarted.
@vfonic
Copy link

vfonic commented Dec 29, 2021

Hey @azamanaza!

I've had the same issue. The solution for me was to gem uninstall older versions of shopify_api gem. Older versions of this gem included shopify executable which is interfering with shopify-cli. Hope that helps!

@jamesmengo
Copy link
Contributor

👋🏻 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

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

No branches or pull requests

3 participants