Shopify / cli

Build apps, themes, and hydrogen storefronts for Shopify
https://shopify.dev
MIT License
424 stars 126 forks source link

[Bug]: Error: Command failed with exit code 23: bundle install #1754

Closed osama2kabdullah closed 1 year ago

osama2kabdullah commented 1 year ago

Please confirm that you have:

In which of these areas are you experiencing a problem?

Theme

Expected behavior

It should run a preview mode in port http://127.0.0.1:9292

Actual behavior

Error happens. This image-

shopify-error

Verbose output

osama@debian:~/works/shopify-dev/OsamaTheme$ shopify theme dev --verbose

>> 2023-04-03T16:01:05.023Z: Running command theme dev
  shopify:theme:dev init version: @oclif/core@2.1.4 argv: [ '--verbose' ] +0ms
2023-04-03T16:01:05.037Z: Ensuring that the user is authenticated with the Theme API with the following scopes:
[]

2023-04-03T16:01:05.037Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store ghorer-bajar.myshopify.com:
[]

2023-04-03T16:01:05.038Z: Getting session store...
2023-04-03T16:01:05.040Z: Validating existing session against the scopes:
[
  "openid",
  "https://api.shopify.com/auth/shop.admin.graphql",
  "https://api.shopify.com/auth/shop.admin.themes",
  "https://api.shopify.com/auth/partners.collaborator-relationships.readonly",
  "https://api.shopify.com/auth/shop.storefront-renderer.devtools",
  "https://api.shopify.com/auth/partners.app.cli.access"
]
For applications:
{
  "adminApi": {
    "scopes": [],
    "storeFqdn": "ghorer-bajar.myshopify.com"
  }
}

2023-04-03T16:01:05.041Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2023-04-03T16:01:05.041Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.44.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2023-04-03T16:01:05.562Z: Request to https://accounts.shopify.com/oauth/introspection completed in 512 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"bc5b55501008e4807ad427ff5788fc69"
 - x-request-id: c323e1b8-ed85-488c-8b98-e83e8a81103a

2023-04-03T16:01:05.573Z: The identity token is valid: true
2023-04-03T16:01:05.574Z: 
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2023-04-03T16:01:05.575Z: The current session is valid but needs refresh. Refreshing...
2023-04-03T16:01:05.577Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_1f488c93b9f65d31fed413d4bbe947a2cc8e559a81b73ea6d3a2907d5d8a2eda&refresh_token=atkn_a79428d8a5827b537f2a208dbb67dde9b3f19dd377990e9d7404e43a271f436c&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3
With request headers:
 - User-Agent: Shopify CLI; v=3.44.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2023-04-03T16:01:06.175Z: Request to https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_1f488c93b9f65d31fed413d4bbe947a2cc8e559a81b73ea6d3a2907d5d8a2eda&refresh_token=atkn_a79428d8a5827b537f2a208dbb67dde9b3f19dd377990e9d7404e43a271f436c&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3 completed in 594 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"9dd2c05d4b8969f045211dd5b53e06bc"
 - x-request-id: d0173dd8-073e-4277-80fa-8c2259e41a29

2023-04-03T16:01:06.181Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=271e16d403dfa18082ffb3d197bd2b5f4479c3fc32736d69296829cbb28d41a6&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.app.cli.access&subject_token=atkn_9c65ecf566f565d573d60d2f29a9475f2c6cc6f18e7a094ca8c72c8fb166a4f8
With request headers:
 - User-Agent: Shopify CLI; v=3.44.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2023-04-03T16:01:06.181Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=ee139b3d-5861-4d45-b387-1bc3ada7811c&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.storefront-renderer.devtools&subject_token=atkn_9c65ecf566f565d573d60d2f29a9475f2c6cc6f18e7a094ca8c72c8fb166a4f8
With request headers:
 - User-Agent: Shopify CLI; v=3.44.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2023-04-03T16:01:06.685Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=ee139b3d-5861-4d45-b387-1bc3ada7811c&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.storefront-renderer.devtools&subject_token=atkn_9c65ecf566f565d573d60d2f29a9475f2c6cc6f18e7a094ca8c72c8fb166a4f8 completed in 494 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"1ba1c7a1c696a5e750f907855f0473cb"
 - x-request-id: 3bed3c91-30b8-4127-af4a-12127918098f

2023-04-03T16:01:11.699Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=271e16d403dfa18082ffb3d197bd2b5f4479c3fc32736d69296829cbb28d41a6&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.app.cli.access&subject_token=atkn_9c65ecf566f565d573d60d2f29a9475f2c6cc6f18e7a094ca8c72c8fb166a4f8 completed in 5512 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"b3fa9944275e8eebe7969592c1388b77"
 - x-request-id: 9fc811b6-5819-4cd6-a83d-48ceabfd9ba9

2023-04-03T16:01:11.701Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.graphql+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.themes+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly&subject_token=atkn_9c65ecf566f565d573d60d2f29a9475f2c6cc6f18e7a094ca8c72c8fb166a4f8&destination=https%3A%2F%2Fghorer-bajar.myshopify.com%2Fadmin
With request headers:
 - User-Agent: Shopify CLI; v=3.44.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2023-04-03T16:01:12.189Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.graphql+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.themes+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly&subject_token=atkn_9c65ecf566f565d573d60d2f29a9475f2c6cc6f18e7a094ca8c72c8fb166a4f8&destination=https%3A%2F%2Fghorer-bajar.myshopify.com%2Fadmin completed in 487 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"1de6465092357796e9dadc4d7ab2d81c"
 - x-request-id: 643a03ac-e191-4a32-bbc4-e25ffe5df3c0

2023-04-03T16:01:12.193Z: Setting session store...
2023-04-03T16:01:12.198Z: Getting development theme...
2023-04-03T16:01:13.063Z: Request to https://ghorer-bajar.myshopify.com/admin/api/unstable/themes/147389710648.json?fields=id completed in 853 ms
With response headers:
 - content-type: application/json; charset=utf-8
 - x-request-id: c32091ea-90a8-498d-b489-8db22a149dbb

2023-04-03T16:01:13.072Z: Ensuring that the user is authenticated with the Storefront API with the following scopes:
[]

2023-04-03T16:01:13.073Z: Getting session store...
2023-04-03T16:01:13.076Z: Validating existing session against the scopes:
[
  "openid",
  "https://api.shopify.com/auth/shop.admin.graphql",
  "https://api.shopify.com/auth/shop.admin.themes",
  "https://api.shopify.com/auth/partners.collaborator-relationships.readonly",
  "https://api.shopify.com/auth/shop.storefront-renderer.devtools",
  "https://api.shopify.com/auth/partners.app.cli.access"
]
For applications:
{
  "storefrontRendererApi": {
    "scopes": []
  }
}

2023-04-03T16:01:13.077Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2023-04-03T16:01:13.077Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.44.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2023-04-03T16:01:13.104Z: Failed to report usage analytics: Couldn't find a a package.json traversing directories from /home/osama/works/shopify-dev/OsamaTheme
2023-04-03T16:01:13.104Z: Completed command theme dev
2023-04-03T16:01:13.527Z: Request to https://accounts.shopify.com/oauth/introspection completed in 444 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"1adc4e559d50f85611339d2313d07244"
 - x-request-id: 23796ed7-2b44-41c4-9464-a146d3f0505b

2023-04-03T16:01:13.528Z: The identity token is valid: true
2023-04-03T16:01:13.529Z: 
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2023-04-03T16:01:13.540Z: 
Running system process:
  · Command: ruby -v
  · Working directory: /home/osama/works/shopify-dev/OsamaTheme

2023-04-03T16:01:13.553Z: 
Running system process:
  · Command: bundle -v
  · Working directory: /home/osama/works/shopify-dev/OsamaTheme

2023-04-03T16:01:13.692Z: Reading the content of file at /usr/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/Gemfile...
2023-04-03T16:01:13.699Z: 
Running system process:
  · Command: bundle install
  · Working directory: /usr/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby

Error: Command failed with exit code 23: bundle install
Bundler::PermissionError: There was an error while trying to write to `/usr/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/Gemfile.lock`. It is likely that you need to grant write permissions for that path.
/home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/shared_helpers.rb:105:in `rescue in filesystem_access'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/shared_helpers.rb:102:in `filesystem_access'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/definition.rb:326:in `lock'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/installer.rb:264:in `lock'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/installer.rb:93:in `block in run'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/process_lock.rb:12:in `block in lock'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/process_lock.rb:9:in `open'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/process_lock.rb:9:in `lock'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/installer.rb:71:in `run'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/installer.rb:23:in `install'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/cli/install.rb:62:in `run'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/cli.rb:261:in `block in install'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/settings.rb:131:in `temporary'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/cli.rb:260:in `install'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/cli.rb:34:in `dispatch'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/cli.rb:28:in `start'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/exe/bundle:45:in `block in <top (required)>'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/gems/bundler-2.4.10/exe/bundle:33:in `<top (required)>'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/bin/bundle:23:in `load'
  /home/osama/.rvm/gems/ruby-3.0.0@latest/bin/bundle:23:in `<main>'
Running `bundle install` with bundler 2.4.10
Found changes from the lockfile, re-resolving dependencies because the dependencies in your gemfile changed, you added a new platform to your gemfile
HTTP GET https://index.rubygems.org/versions
HTTP 206 Partial Content https://index.rubygems.org/versions
Fetching gem metadata from https://rubygems.org/
Looking up gems ["bugsnag", "listen", "theme-check", "pry-byebug", "byebug", "rubocop-shopify", "rubocop-minitest", "rubocop-rake", "iniparse", "colorize", "octokit", "bundler", "rake", "minitest", "mocha", "minitest-reporters", "minitest-fail-fast", "fakefs", "webmock", "timecop", "rack", "cucumber"]
Looking up gems ["pry", "httparty", "multi_json", "json", "concurrent-ruby", "rubocop", "activesupport", "liquid", "nokogumbo", "nokogiri", "parser", "columnize", "debugger-linecache", "slop", "rb-readline", "rb-fchange", "rb-fsevent", "rb-inotify", "rb-kqueue", "celluloid", "celluloid-io", "ruby_dep", "extlib", "metaclass", "ruby2_keywords", "ansi", "ruby-progressbar", "builder", "powerbar", "addressable", "faraday", "faraday_middleware", "hashie", "multi_xml", "rash", "netrc", "sawyer", "crack", "hashdiff", "hoe", "diff-lcs", "polyglot", "term-ansicolor", "treetop", "rspec", "json_pure", "gherkin", "multi_test", "cucumber-core", "gherkin3", "cucumber-wire", "event-bus", "cucumber-expressions", "cucumber-formatter-dots", "cucumber-gherkin", "cucumber-html-formatter", "cucumber-cucumber-expressions", "cucumber-messages", "sys-uname", "cucumber-create-meta", "mime-types", "cucumber-ci-environment"]
Looking up gems ["ruby_parser", "method_source", "coderay", "win32console", "yard", "spoon", "functional-ruby", "ref", "jnunemaker-crack", "mini_mime", "i18n", "memcache-client", "tzinfo", "thread_safe", "zeitwerk", "sexp_processor", "ast", "weakling", "mini_portile", "mini_portile2", "pkg-config", "racc", "rainbow", "backports", "powerpack", "astrolabe", "tins", "unicode-display_width", "parallel", "jaro_winkler", "psych", "rexml", "rubocop-ast", "regexp_parser", "win32-api", "ffi", "ruby_core_source", "debugger-ruby_core_source", "nio4r", "dotenv", "nenv", "rspec-logsplit", "timers", "facter", "celluloid-essentials", "celluloid-extras", "celluloid-fsm", "celluloid-pool", "celluloid-supervision", "english", "public_suffix", "multipart-post", "faraday-net_http", "faraday-excon", "faraday-net_http_persistent", "faraday-em_http", "faraday-em_synchrony", "faraday-httpclient", "faraday-patron", "faraday-rack", "faraday-multipart", "faraday-retry", "oauth2", "roauth", "uri_template", "yajl-ruby", "safe_yaml", "rubyforge", "RubyInline", "gemcutter", "spruz", "facets", "rspec-core", "rspec-expectations", "rspec-mocks", "trollop", "c21e", "os", "cucumber-tag_expressions", "cucumber-tag-expressions", "google-protobuf", "protobuf-cucumber", "mime-types-data"]
Looking up gems ["ParseTree", "erubis", "webrick", "ZenTest", "net-ftp", "atomic", "jar-dependencies", "stringio", "sync", "test-unit", "strscan", "dotenv-deployment", "archive-tar-minitar", "CFPropertyList", "sys-admin", "win32-dir", "windows-api", "windows-pr", "win32-security", "hocon", "thor", "celluloid-gems", "coveralls", "hitimes", "net-http-persistent", "excon", "httpclient", "patron", "faraday-middleware", "httpauth", "jwt", "rash_alt", "version_gem", "snaky_hash", "rspec-support", "curses", "net-scp", "middleware"]
Looking up gems ["SexpProcessor", "abstract", "ruby-maven", "net-protocol", "time", "power_assert", "minitar", "minitar-cli", "libxml-ruby", "ffi-win32-extensions", "configuration", "mkrf", "rest-client", "simplecov", "connection_pool", "net-ssh"]
Looking up gems ["maven-tools", "ruby-maven-libs", "date", "pattern-match", "io-wait", "timeout", "rdoc", "http-cookie", "http-accept", "simplecov-html", "docile", "lockfile", "simplecov_json_formatter", "needle", "jruby-pageant", "bcrypt_pbkdf", "rbnacl", "rbnacl-libsodium"]
Looking up gems ["virtus", "domain_name", "sqlite3"]
Looking up gems ["descendants_tracker", "axiom-types", "coercible", "equalizer", "unf"]
Looking up gems ["adamantium", "unf_ext", "ice_nine"]
Looking up gems ["memoizable"]
Resolving dependencies...
Using rake 12.3.3
0:  rake (12.3.3) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/rake-12.3.3.gemspec
Using ansi 1.5.0
1:  ansi (1.5.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/ansi-1.5.0.gemspec
Using ast 2.4.2
1:  ast (2.4.2) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/ast-2.4.2.gemspec
Using concurrent-ruby 1.2.2
Using bundler 2.4.10
Using public_suffix 5.0.1
1:  concurrent-ruby (1.2.2) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/concurrent-ruby-1.2.2.gemspec
Using builder 3.2.4
Using byebug 11.1.3
0:  public_suffix (5.0.1) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/public_suffix-5.0.1.gemspec
Using coderay 1.1.3
3:  bundler (2.4.10) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/bundler-2.4.10.gemspec
2:  builder (3.2.4) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/builder-3.2.4.gemspec
Using colorize 0.8.1
1:  byebug (11.1.3) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/byebug-11.1.3.gemspec
Using rexml 3.2.5
Using cucumber-messages 17.1.1
2:  rexml (3.2.5) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/rexml-3.2.5.gemspec
1:  cucumber-messages (17.1.1) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/cucumber-messages-17.1.1.gemspec
3:  colorize (0.8.1) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/colorize-0.8.1.gemspec
Using cucumber-tag-expressions 4.1.0
Using ffi 1.15.5
Using cucumber-cucumber-expressions 14.0.0
3:  cucumber-cucumber-expressions (14.0.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/cucumber-cucumber-expressions-14.0.0.gemspec
Using diff-lcs 1.5.0
1:  cucumber-tag-expressions (4.1.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/cucumber-tag-expressions-4.1.0.gemspec
3:  diff-lcs (1.5.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/diff-lcs-1.5.0.gemspec
Using mime-types-data 3.2023.0218.1
Using multi_test 0.1.2
0:  coderay (1.1.3) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/coderay-1.1.3.gemspec
Using fakefs 2.4.0
0:  fakefs (2.4.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/fakefs-2.4.0.gemspec
Using faraday-net_http 3.0.2
0:  faraday-net_http (3.0.2) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/faraday-net_http-3.0.2.gemspec
Using ruby2_keywords 0.0.5
0:  ruby2_keywords (0.0.5) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/ruby2_keywords-0.0.5.gemspec
Using hashdiff 1.0.1
2:  ffi (1.15.5) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/ffi-1.15.5.gemspec
Using iniparse 1.5.0
1:  mime-types-data (3.2023.0218.1) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/mime-types-data-3.2023.0218.1.gemspec
3:  multi_test (0.1.2) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/multi_test-0.1.2.gemspec
Using json 2.6.3
0:  hashdiff (1.0.1) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/hashdiff-1.0.1.gemspec
Using liquid 5.4.0
3:  liquid (5.4.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/liquid-5.4.0.gemspec
Using rb-fsevent 0.11.2
Using method_source 1.0.0
2:  iniparse (1.5.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/iniparse-1.5.0.gemspec
1:  json (2.6.3) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/json-2.6.3.gemspec
Using minitest 5.18.0
2:  minitest (5.18.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/minitest-5.18.0.gemspec
Using ruby-progressbar 1.13.0
Using racc 1.6.2
3:  method_source (1.0.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/method_source-1.0.0.gemspec
2:  racc (1.6.2) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/racc-1.6.2.gemspec
1:  ruby-progressbar (1.13.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/ruby-progressbar-1.13.0.gemspec
Using parallel 1.22.1
Using rack 3.0.7
Using rainbow 3.1.1
3:  parallel (1.22.1) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/parallel-1.22.1.gemspec
2:  rack (3.0.7) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/rack-3.0.7.gemspec
Using regexp_parser 2.7.0
Using unicode-display_width 2.4.2
2:  unicode-display_width (2.4.2) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/unicode-display_width-2.4.2.gemspec
Using timecop 0.9.6
0:  rb-fsevent (0.11.2) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/rb-fsevent-0.11.2.gemspec
2:  timecop (0.9.6) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/timecop-0.9.6.gemspec
Using parser 3.2.2.0
3:  regexp_parser (2.7.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/regexp_parser-2.7.0.gemspec
Using bugsnag 6.25.2
1:  rainbow (3.1.1) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/rainbow-3.1.1.gemspec
Using addressable 2.8.2
Using cucumber-gherkin 22.0.0
1:  addressable (2.8.2) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/addressable-2.8.2.gemspec
Using cucumber-html-formatter 17.0.0
3:  bugsnag (6.25.2) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/bugsnag-6.25.2.gemspec
Using crack 0.4.5
0:  parser (3.2.2.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/parser-3.2.2.0.gemspec
Using faraday 2.7.4
2:  cucumber-gherkin (22.0.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/cucumber-gherkin-22.0.0.gemspec
Using mocha 2.0.2
1:  cucumber-html-formatter (17.0.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/cucumber-html-formatter-17.0.0.gemspec
Using sys-uname 1.2.2
3:  crack (0.4.5) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/crack-0.4.5.gemspec
2:  mocha (2.0.2) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/mocha-2.0.2.gemspec
Using rb-inotify 0.10.1
1:  sys-uname (1.2.2) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/sys-uname-1.2.2.gemspec
Using mime-types 3.4.1
Using minitest-fail-fast 0.1.0
0:  faraday (2.7.4) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/faraday-2.7.4.gemspec
Using pry 0.14.2
3:  rb-inotify (0.10.1) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/rb-inotify-0.10.1.gemspec
Using nokogiri 1.14.2 (x86_64-linux)
1:  minitest-fail-fast (0.1.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/minitest-fail-fast-0.1.0.gemspec
Using minitest-reporters 1.6.0
2:  mime-types (3.4.1) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/mime-types-3.4.1.gemspec
0:  pry (0.14.2) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/pry-0.14.2.gemspec
Using rubocop-ast 1.28.0
Using cucumber-core 10.1.1
0:  cucumber-core (10.1.1) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/cucumber-core-10.1.1.gemspec
3:  nokogiri (1.14.2) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/nokogiri-1.14.2-x86_64-linux.gemspec
Using webmock 3.18.1
Using cucumber-create-meta 6.0.4
2:  rubocop-ast (1.28.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/rubocop-ast-1.28.0.gemspec
Using sawyer 0.9.2
1:  minitest-reporters (1.6.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/minitest-reporters-1.6.0.gemspec
Using listen 3.7.1
3:  webmock (3.18.1) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/webmock-3.18.1.gemspec
Using pry-byebug 3.10.1
3:  pry-byebug (3.10.1) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/pry-byebug-3.10.1.gemspec
Using theme-check 1.14.0
2:  sawyer (0.9.2) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/sawyer-0.9.2.gemspec
Using cucumber-wire 6.2.1
0:  cucumber-create-meta (6.0.4) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/cucumber-create-meta-6.0.4.gemspec
3:  theme-check (1.14.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/theme-check-1.14.0.gemspec
Using octokit 4.25.1
Using rubocop 1.49.0
3:  octokit (4.25.1) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/octokit-4.25.1.gemspec
0:  rubocop (1.49.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/rubocop-1.49.0.gemspec
1:  listen (3.7.1) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/listen-3.7.1.gemspec
Using rubocop-minitest 0.29.0
Using rubocop-rake 0.6.0
Using rubocop-shopify 2.12.0
3:  rubocop-minitest (0.29.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/rubocop-minitest-0.29.0.gemspec
2:  cucumber-wire (6.2.1) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/cucumber-wire-6.2.1.gemspec
0:  rubocop-rake (0.6.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/rubocop-rake-0.6.0.gemspec
Using cucumber 7.1.0
1:  rubocop-shopify (2.12.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/rubocop-shopify-2.12.0.gemspec
3:  cucumber (7.1.0) from /home/osama/.rvm/gems/ruby-3.0.0@latest/specifications/cucumber-7.1.0.gemspec
    at makeError (file:///usr/lib/node_modules/@shopify/theme/node_modules/execa/lib/error.js:59:11)
    at handlePromise (file:///usr/lib/node_modules/@shopify/theme/node_modules/execa/index.js:119:26)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async exec (file:///usr/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/dist/public/node/system.js:54:9)
    at async bundleInstallLocalShopifyCLI (file:///usr/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/dist/public/node/ruby.js:217:5)
    at async installCLIDependencies (file:///usr/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/dist/public/node/ruby.js:130:9)
    at async execCLI2 (file:///usr/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/dist/public/node/ruby.js:29:5)

Reproduction steps

  1. Not sure how to reproduce it.
  2. I just follow this Shopify theme customization documentation. - https://shopify.dev/docs/themes/getting-started/customize

Operating System

Debian GNU/Linux 11 (bullseye) x86_64

Shopify CLI version (check your project's package.json if you're not sure)

3.44.1

Shell

bash

Node version (run node -v if you're not sure)

v19.8.1

What language and version are you using in your application?

This is a theme. Not sure which language it usage. but ruby 3.0.0 and node v19.8.1.

Arkham commented 1 year ago

hi @osama2kabdullah, thanks for reporting this. Could you try with 3.45.0?

osama2kabdullah commented 1 year ago

hi @osama2kabdullah, thanks for reporting this. Could you try with 3.45.0?

Hey. The problame is solved. I am using Linux bash. so eavry time I need the permission for write changes. When I run sudo shopify theme dev It works.

syedsimanta03 commented 9 months ago

Why Shopify CLI not working at all?