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

[Bug]: shopify theme dev error in linux #3762

Open
2 tasks done
amaantheone opened this issue Apr 19, 2024 · 2 comments
Open
2 tasks done

[Bug]: shopify theme dev error in linux #3762

amaantheone opened this issue Apr 19, 2024 · 2 comments
Labels
Area: @shopify/theme @shopify/theme package issues Type: Bug Something isn't working

Comments

@amaantheone
Copy link

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Theme

Expected behavior

Run the theme in development mode as expected

Actual behavior

Erroring out when running the command
image

Verbose output

2024-04-19T17:55:26.733Z: Running command theme dev
2024-04-19T17:55:26.786Z: Ensuring that the user is authenticated with the Theme API with the following scopes:
[]

2024-04-19T17:55:26.787Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store qrsy.myshopify.com:
[]

2024-04-19T17:55:26.787Z: Getting session store...
2024-04-19T17:55:26.791Z: 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",
  "https://api.shopify.com/auth/destinations.readonly"
]
For applications:
{
  "adminApi": {
    "scopes": [],
    "storeFqdn": "qrsy.myshopify.com"
  }
}

2024-04-19T17:55:26.792Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-04-19T17:55:26.793Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2024-04-19T17:55:27.813Z: Request to https://accounts.shopify.com/oauth/introspection completed in 1000 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/"58ae7ebeb409563f5df41e5737cc2ef7"
 - x-request-id: 51db4758-13db-452a-a43f-7ca9b29de860-1713549326
    
2024-04-19T17:55:27.826Z: The identity token is valid: true
2024-04-19T17:55:27.828Z: 
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false
  
2024-04-19T17:55:27.828Z: The current session is valid but needs refresh. Refreshing...
2024-04-19T17:55:27.832Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_CjQIyN6KsQYQ6JaLsQZSJggBEhDkXxXh0H9ECLk-eUrAEEtdGhD-2LEHDLNG0o-9SCBeZ3L7EkBcUlbDMP2Eokj3OkDC-OL8mcTVrIUCnHeHeprYQX_PwEAm6YNnylyIM7XrNoX3jg-mXeOifmLBNvDPWnbsjl0B&refresh_token=atkn_CiEIyN6KsQYQyPiosgaiARIKEP7YsQcMs0bSj71IIF5ncvsSQHYk2oFg6w4Z7KIDhQPodiPSBwBVkAfFLNZpOegFqCw9lBFMJin7sNCz7mUv2DPhpLT3VseCxeGwd5x_WtwUag0&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3
With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2024-04-19T17:55:28.540Z: Request to https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_CjQIyN6KsQYQ6JaLsQZSJggBEhDkXxXh0H9ECLk-eUrAEEtdGhD-2LEHDLNG0o-9SCBeZ3L7EkBcUlbDMP2Eokj3OkDC-OL8mcTVrIUCnHeHeprYQX_PwEAm6YNnylyIM7XrNoX3jg-mXeOifmLBNvDPWnbsjl0B&refresh_token=atkn_CiEIyN6KsQYQyPiosgaiARIKEP7YsQcMs0bSj71IIF5ncvsSQHYk2oFg6w4Z7KIDhQPodiPSBwBVkAfFLNZpOegFqCw9lBFMJin7sNCz7mUv2DPhpLT3VseCxeGwd5x_WtwUag0&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3 completed in 703 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/"c35a37df0cbd58323aeb09de33518c28"
 - x-request-id: 1c872220-ff84-4ea0-8538-331c589072d9-1713549327
    
2024-04-19T17:55:28.551Z: 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=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.app.cli.access&subject_token=****
With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2024-04-19T17:55:28.552Z: 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=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.storefront-renderer.devtools&subject_token=****
With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2024-04-19T17:55:28.552Z: 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=32ff8ee5-82b8-4d93-9f8a-c6997cefb7dc&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fdestinations.readonly&subject_token=****
With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2024-04-19T17:55:28.553Z: 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=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=****&destination=https%3A%2F%2Fqrsy.myshopify.com%2Fadmin
With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2024-04-19T17:55:29.148Z: 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=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.storefront-renderer.devtools&subject_token=**** completed in 586 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/"ef62687a54267aeebaecd016ab6b4f49"
 - x-request-id: 4aa29d10-284e-4326-a729-75caa58deee2-1713549327
    
2024-04-19T17:55:29.156Z: 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=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.app.cli.access&subject_token=**** completed in 598 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/"d05ea5cd6750e2f93e4363e8d6ef73ec"
 - x-request-id: bdbf69d8-4494-4be5-9e2d-3a3e01d941f3-1713549327
    
2024-04-19T17:55:29.163Z: 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=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=****&destination=https%3A%2F%2Fqrsy.myshopify.com%2Fadmin 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/"9b93d30c4fa63743b14cebe6bad5b562"
 - x-request-id: 2857df27-c3da-4de4-8950-959fe70804a6-1713549327
    
2024-04-19T17:55:29.170Z: 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=32ff8ee5-82b8-4d93-9f8a-c6997cefb7dc&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fdestinations.readonly&subject_token=**** completed in 605 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/"d716320b263c96de3a3e7ef14c278f8a"
 - x-request-id: 8c56d00e-1a6c-45ea-ba3f-ae6f2146d74b-1713549327
    
2024-04-19T17:55:29.178Z: Setting session store...
2024-04-19T17:55:29.225Z: Ensuring that the user is authenticated with the Storefront API with the following scopes:
[]

2024-04-19T17:55:29.226Z: Getting session store...
2024-04-19T17:55:29.229Z: 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",
  "https://api.shopify.com/auth/destinations.readonly"
]
For applications:
{
  "storefrontRendererApi": {
    "scopes": []
  }
}

2024-04-19T17:55:29.230Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-04-19T17:55:29.231Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.59.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2024-04-19T17:55:29.677Z: Request to https://accounts.shopify.com/oauth/introspection completed in 440 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/"894a9ca13f00825cb96e8139f847eed6"
 - x-request-id: 4fc6230d-eb2a-4ddd-83f5-8f703e57a506-1713549328
    
2024-04-19T17:55:29.681Z: The identity token is valid: true
2024-04-19T17:55:29.681Z: 
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false
  
2024-04-19T17:55:29.708Z: 
Running system process:
  · Command: ruby -v
  · Working directory: /home/calmsekaam/qrsy

2024-04-19T17:55:29.755Z: 
Running system process:
  · Command: bundle -v
  · Working directory: /home/calmsekaam/qrsy

2024-04-19T17:55:30.006Z: Reading the content of file at ../.nvm/versions/node/v20.12.2/lib/node_modules/@shopify/cli/dist/assets/cli-ruby/Gemfile...
2024-04-19T17:55:30.010Z: 
Running system process:
  · Command: bundle install
  · Working directory: /home/calmsekaam/.nvm/versions/node/v20.12.2/lib/node_modules/@shopify/cli/dist/assets/cli-ruby

2024-04-19T17:55:30.320Z: 
Running system process:
  · Command: bundle exec ruby /home/calmsekaam/.nvm/versions/node/v20.12.2/lib/node_modules/@shopify/cli/dist/assets/cli-ruby/bin/shopify theme token --admin atkn_Cp8DCJDgirEGELCYi7EGYpADCAESEIJXhsH3_kzBoS6cjalZVk0aqAFodHRwczovL2FwaS5zaG9waWZ5LmNvbS9hdXRoL3BhcnRuZXJzLmNvbGxhYm9yYXRvci1yZWxhdGlvbnNoaXBzLnJlYWRvbmx5IGh0dHBzOi8vYXBpLnNob3BpZnkuY29tL2F1dGgvc2hvcC5hZG1pbi5ncmFwaHFsIGh0dHBzOi8vYXBpLnNob3BpZnkuY29tL2F1dGgvc2hvcC5hZG1pbi50aGVtZXMgDSinUzIQdrUaNHJ9T_6nlZvGplAMNjokODQyYWYzOWUtOTc1Ny00NTYyLTg2MGUtMTEwMmM3OWE0MDY3QgdBY2NvdW50ShCFnFoCCJ9GmbQF1ihO6xhDUlN7InN1YiI6ImZiZGIyNjQ5LWUzMjctNDkwNy04ZjY3LTkwOGQyNGNmZDdlMyIsImlzcyI6Imh0dHBzOi8vYWNjb3VudHMuc2hvcGlmeS5jb20ifWIQtZUACzjGQby1UFf4HzGEBGoQbbNz_Y4GSuemmf25aDmdehJARyBqKRRHUDY69pelrmki4tt6zAIuiexbdFuHoPc3OP3rnnfRod1W8qy7urnb6d_qnejTma02YFHNtcFWtKQ2DQ --sfr atkn_CqMCCJDgirEGELCYi7EGYpQCCAESEJmseVf7HkAZiJ3zm4ptSzAaPmh0dHBzOi8vYXBpLnNob3BpZnkuY29tL2F1dGgvc2hvcC5zdG9yZWZyb250LXJlbmRlcmVyLmRldnRvb2xzINhSKKdTOiQ4NDJhZjM5ZS05NzU3LTQ1NjItODYwZS0xMTAyYzc5YTQwNjdCB0FjY291bnRKEIWcWgIIn0aZtAXWKE7rGENSU3sic3ViIjoiZmJkYjI2NDktZTMyNy00OTA3LThmNjctOTA4ZDI0Y2ZkN2UzIiwiaXNzIjoiaHR0cHM6Ly9hY2NvdW50cy5zaG9waWZ5LmNvbSJ9YhC1lQALOMZBvLVQV_gfMYQEahBts3P9jgZK56aZ_bloOZ16EkCwLurUxdCmC8_JCuTpTx2Ep3xkTNRTV4c2gFLKmLGfCa8Uwrf5aqBKozI_vB0fnopL818YUID8fYzjgonowegC
  · Working directory: /home/calmsekaam/qrsy

2024-04-19T17:55:30.784Z: Getting development theme...
2024-04-19T17:55:31.266Z: Request to https://qrsy.myshopify.com/admin/api/unstable/themes.json completed in 479 ms
With response headers:
 - content-type: application/json; charset=utf-8
 - x-request-id: 86d82940-c3b0-448a-8d4b-503cb1432327-1713549330
    
╭─ error ────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                    │
│  Cannot read properties of undefined (reading 'toString')                                          │
│                                                                                                    │
│  To investigate the issue, examine this stack trace:                                               │
│    at create (home/calmsekaam/.nvm/versions/node/v20.12.2/lib/node_modules/@shopify/cli/dist/inde  │
│    x.js:195941)                                                                                    │
│    at processTicksAndRejections (node:internal/process/task_queues:95)                             │
│    at findOrCreate (home/calmsekaam/.nvm/versions/node/v20.12.2/lib/node_modules/@shopify/cli/dis  │
│    t/index.js:195914)                                                                              │
│    at run (home/calmsekaam/.nvm/versions/node/v20.12.2/lib/node_modules/@shopify/cli/dist/index.j  │
│    s:204557)                                                                                       │
│    at _run (home/calmsekaam/.nvm/versions/node/v20.12.2/lib/node_modules/@shopify/cli/dist/chunk-  │
│    3MMF34G4.js:212317)                                                                             │
│    at runCommand (home/calmsekaam/.nvm/versions/node/v20.12.2/lib/node_modules/@shopify/cli/dist/  │
│    chunk-3MMF34G4.js:210764)                                                                       │
│    at run (home/calmsekaam/.nvm/versions/node/v20.12.2/lib/node_modules/@shopify/cli/dist/chunk-3  │
│    MMF34G4.js:212426)                                                                              │
│    at async runCLI (home/calmsekaam/.nvm/versions/node/v20.12.2/lib/node_modules/@shopify/cli/dis  │
│    t/index.js:194855)                                                                              │
│    at async runShopifyCLI (home/calmsekaam/.nvm/versions/node/v20.12.2/lib/node_modules/@shopify/  │
│    cli/dist/index.js:207961)                                                                       │
│                                                                                                    │
╰────────────────────────────────────────────────────────────────────────────────────────────────────╯

2024-04-19T17:55:31.463Z: 
Running system process:
  · Command: ruby -v
  · Working directory: /home/calmsekaam/qrsy

2024-04-19T17:55:31.836Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 362 ms
With response headers:
 - x-request-id: 9bf1e600-be79-469f-a114-171d0a849b46
    
2024-04-19T17:55:31.837Z: Analytics event sent: {
  "command": "theme dev",
  "time_start": 1713549326734,
  "time_end": 1713549331449,
  "total_time": 4715,
  "success": false,
  "cli_version": "3.59.0",
  "ruby_version": "3.0.2",
  "node_version": "20.12.2",
  "is_employee": false,
  "uname": "linux amd64",
  "env_ci": false,
  "env_plugin_installed_any_custom": false,
  "env_plugin_installed_shopify": "[\"@shopify/cli\"]",
  "env_shell": "zsh",
  "env_device_id": "bd1fd0a91cb4fef806c9134ee653cc717d87b3fe",
  "env_cloud": "localhost",
  "env_package_manager": "unknown",
  "env_is_global": true,
  "cmd_all_timing_network_ms": 3584,
  "cmd_all_timing_prompts_ms": 0,
  "cmd_all_launcher": "unknown",
  "cmd_all_topic": "theme",
  "cmd_all_plugin": "@shopify/cli",
  "cmd_all_force": false,
  "cmd_all_verbose": true,
  "cmd_all_path_override": true,
  "cmd_all_path_override_hash": "0683d3c7594870301c4fbba3e7cc5eaa659365e2",
  "cmd_all_timing_active_ms": 1130,
  "cmd_all_exit": "unexpected_error",
  "args": "--store qrsy --verbose",
  "error_message": "Cannot read properties of undefined (reading 'toString')",
  "env_plugin_installed_all": "[\"@shopify/cli\"]",
  "metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2024-04-19T17:55:31.844Z: Reporting unhandled error to Bugsnag: Cannot read properties of undefined (reading 'toString')
    TypeError: Cannot read properties of undefined (reading 'toString')

Reproduction steps

  1. install latest version of cli
  2. shopify theme dev --store=store-slug

Operating System

Windows 11

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

3.59.0

Shell

bash

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

v20.12.2

What language and version are you using in your application?

No response

@amaantheone amaantheone added the Type: Bug Something isn't working label Apr 19, 2024
@aydinvivik
Copy link

I'm having the same problem today (macOS), I couldn't get the theme dev to work even though I installed it from both npm and homebrew.

 error ───────────────────────────────────────────────────────────────────────╮
│                                                                               │
│  Cannot read properties of undefined (reading 'toString')                     │
│                                                                               │
│  To investigate the issue, examine this stack trace:                          │
│    at create (usr/local/lib/node_modules/@shopify/cli/dist/index.js:195941)   │
│    at processTicksAndRejections (node:internal/process/task_queues:95)        │
│    at findOrCreate                                                            │
│    (usr/local/lib/node_modules/@shopify/cli/dist/index.js:195914)             │
│    at run (usr/local/lib/node_modules/@shopify/cli/dist/index.js:204557)      │
│    at _run                                                                    │
│    (usr/local/lib/node_modules/@shopify/cli/dist/chunk-3MMF34G4.js:212317)    │
│    at runCommand                                                              │
│    (usr/local/lib/node_modules/@shopify/cli/dist/chunk-3MMF34G4.js:210764)    │
│    at run                                                                     │
│    (usr/local/lib/node_modules/@shopify/cli/dist/chunk-3MMF34G4.js:212426)    │
│    at async runCLI                                                            │
│    (usr/local/lib/node_modules/@shopify/cli/dist/index.js:194855)             │
│    at async runShopifyCLI                                                     │
│    (usr/local/lib/node_modules/@shopify/cli/dist/index.js:207961)             │
│                                                                               │
╰───────────────────────────────────────────────────────────────────────────────╯

    TypeError: Cannot read properties of undefined (reading 'toString')

@karreiro karreiro added the Area: @shopify/theme @shopify/theme package issues label Apr 22, 2024
@mgmanzella
Copy link
Contributor

👋 thank you for reporting this issue, @amaantheone from what i can see on our end, the store you've used (qrsy.myshopify.com) does not exist. can you try shopify theme dev with a known shopify store and let us know if you're still experiencing this issue?

@aydinvivik can you re run theme dev with verbose and share the output of your console?

thank you both!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: @shopify/theme @shopify/theme package issues Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants