尝试使用 Shopify connect 连接 Shopify 应用会引发错误

Trying to connect the Shopify app using Shopify connect is throwing an error

我已经在我的 windows 10 中成功安装了 Ruby 并且还在我的 OS 中安装了 shopify CLI 但是当我尝试使用

连接我的应用程序时
shopify connect

它抛出了一些问题 error.I 我无法弄清楚问题所在。这是我尝试使用 Shopify CLI 命令连接到 shopify 应用时抛出的错误。

[Note] You cannot use gems with Shopify App CLI.
[LoadError] cannot load such file -- webrick
       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-app-cli/blob/master/.github/CONTRIBUTING.md

[Note] You cannot use gems with Shopify App CLI.
[LoadError] cannot load such file -- webrick
       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-app-cli/blob/master/.github/CONTRIBUTING.md

C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/bin/shopify:9:in `require': cannot load such file -- webrick (LoadError)
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/bin/shopify:9:in `require'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/oauth.rb:9:in `<top (required)>'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/bin/shopify:9:in `require'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/bin/shopify:9:in `require'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/partners_api.rb:87:in `authenticate'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/partners_api.rb:81:in `block in access_token'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/db.rb:87:in `get'
        from C:/Ruby30-x64/lib/ruby/3.0.0/forwardable.rb:238:in `get'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/partners_api.rb:80:in `access_token'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/partners_api.rb:74:in `api_client'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/partners_api.rb:49:in `block in query'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/partners_api.rb:63:in `authenticated_req'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/partners_api.rb:48:in `query'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/partners_api/organizations.rb:22:in `fetch_with_app'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/tasks/ensure_env.rb:28:in `fetch_org'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/tasks/ensure_env.rb:17:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/task.rb:7:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/commands/connect.rb:44:in `default_connect'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/project_types/node/commands/connect.rb:10:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/sub_command.rb:12:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/commands/connect.rb:28:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/command.rb:25:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/commands/connect.rb:9:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:in `block (2 levels) in call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:in `block (2 levels) in with_logging'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:in `with_id'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:in `block in with_logging'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/vendor/deps/cli-ui/lib/cli/ui.rb:172:in `log_output_to'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:in `with_logging'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:in `block in call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:in `block (2 levels) in with_traps'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:51:in `twrap'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:in `block in with_traps'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:51:in `twrap'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:in `with_traps'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/core/executor.rb:15:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/core/entry_point.rb:43:in `block in call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/core/monorail.rb:32:in `log'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/lib/shopify-cli/core/entry_point.rb:42:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/bin/shopify:33:in `block in <main>'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:in `handle_abort'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-1.5.0/bin/shopify:32:in `<main>'

RubyJekyll 论坛上讨论的类似问题也提出了相同的解决方案。 Link