[Bug]: Can't pull theme anymore #4470
Labels
Area: @shopify/theme
@shopify/theme package issues
#gsd:40767
Fortify local development experience for Liquid themes
important
second highest severity for theme related bug
Type: Bug
Something isn't working
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
I should pull theme from a store.
Actual behavior
It crash when I try that when I'm at around 17%.
Verbose output
2024-09-18T19:48:28.760Z: Running command theme pull
2024-09-18T19:48:28.770Z: Ensuring that the user is authenticated with the Theme API with the following scopes:
[]
2024-09-18T19:48:28.770Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store shopsunology.myshopify.com:
[]
2024-09-18T19:48:28.770Z: Getting session store...
2024-09-18T19:48:28.772Z: 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": "shopsunology.myshopify.com"
}
}
2024-09-18T19:48:28.772Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-09-18T19:48:28.772Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
2024-09-18T19:48:29.009Z: Request to https://accounts.shopify.com/oauth/introspection completed in 237 ms
With response headers:
2024-09-18T19:48:29.014Z: The identity token is valid: true
2024-09-18T19:48:29.014Z:
The validation of the token for application/identity completed with the following results:
2024-09-18T19:48:29.015Z: Getting development theme...
2024-09-18T19:48:29.177Z: Request to https://shopsunology.myshopify.com/admin/api/unstable/themes.json?fields=id%2Cname%2Crole%2Cprocessing completed in 160 ms
With response headers:
2024-09-18T19:48:29.259Z: Reading the content of file at templates/customers/register.pro.liquid...
2024-09-18T19:48:29.259Z: Reading the content of file at templates/customers/register.json...
2024-09-18T19:48:29.259Z: Reading the content of file at templates/customers/reset_password.json...
2024-09-18T19:48:29.423Z: Request to https://shopsunology.myshopify.com/admin/api/unstable/themes/172708823385/assets.json?fields=key%2Cchecksum completed in 233 ms
With response headers:
2024-09-18T19:48:29.534Z: Ignoring theme file assets/manifest.json via .shopifyignore...
2024-09-18T19:48:29.790Z: Request to https://shopsunology.myshopify.com/admin/api/unstable/themes/172708823385/assets.json?asset%5Bkey%5D=assets%2Fjoin0us.scss completed in 144 ms
With response headers:
╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ Cannot read properties of undefined (reading 'length') │
│ │
│ To investigate the issue, examine this stack trace: │
│ at buildThemeAsset (Users/thomasblanchard/.nvm/versions/node/v20.17.0/li │
│ b/node_modules/@shopify/cli/dist/index.js:145173) │
│ at fetchThemeAsset (Users/thomasblanchard/.nvm/versions/node/v20.17.0/li │
│ b/node_modules/@shopify/cli/dist/index.js:145207) │
│ at processTicksAndRejections (node:internal/process/task_queues:95) │
│ at async downloadFile (Users/thomasblanchard/.nvm/versions/node/v20.17.0 │
│ /lib/node_modules/@shopify/cli/dist/index.js:149722) │
│ at async runTask2 (Users/thomasblanchard/.nvm/versions/node/v20.17.0/lib │
│ /node_modules/@shopify/cli/dist/chunk-7QTS6ZWN.js:31139) │
│ at (Users/thomasblanchard/.nvm/versions/node/v20.17.0/lib/node_modules/@ │
│ shopify/cli/dist/chunk-7QTS6ZWN.js:31153) │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
2024-09-18T19:48:29.809Z:
Running system process:
· Command: npm prefix
· Working directory: /Users/thomasblanchard/Sites/sunology-eshop
2024-09-18T19:48:29.908Z: Obtaining the dependency manager in directory /Users/thomasblanchard/Sites/sunology-eshop...
2024-09-18T19:48:29.994Z:
Running system process:
· Command: ruby -v
· Working directory: /Users/thomasblanchard/Sites/sunology-eshop
2024-09-18T19:48:30.197Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 186 ms
With response headers:
2024-09-18T19:48:30.197Z: Analytics event sent: {
"command": "theme pull",
"time_start": 1726688908761,
"time_end": 1726688909805,
"total_time": 1044,
"success": false,
"cli_version": "3.67.0",
"ruby_version": "2.6.10",
"node_version": "20.17.0",
"is_employee": false,
"uname": "darwin arm64",
"env_ci": false,
"env_plugin_installed_any_custom": false,
"env_plugin_installed_shopify": "["@shopify/cli"]",
"env_shell": "zsh",
"env_device_id": "f561d6a93e4f365a78d6f17582f99696b881c631",
"env_cloud": "localhost",
"env_package_manager": "yarn",
"env_is_global": true,
"cmd_app_warning_api_key_deprecation_displayed": false,
"cmd_all_timing_network_ms": 775,
"cmd_all_timing_prompts_ms": 0,
"cmd_all_launcher": "unknown",
"cmd_all_topic": "theme",
"cmd_all_plugin": "@shopify/theme",
"cmd_all_force": false,
"cmd_all_verbose": true,
"cmd_all_path_override": true,
"cmd_all_path_override_hash": "d5c865c2280a0b41050b0a6d12c7f72fc8520c5c",
"cmd_all_timing_active_ms": 268,
"cmd_all_exit": "unexpected_error",
"args": "-l --verbose",
"error_message": "Cannot read properties of undefined (reading 'length')",
"env_plugin_installed_all": "["@shopify/cli"]",
"metadata": "{"extraPublic":{},"extraSensitive":{}}"
}
2024-09-18T19:48:30.206Z: Reporting unhandled error to Bugsnag: Cannot read properties of undefined (reading 'length')
2024-09-18T19:48:30.348Z:
Running system process:
· Command: npm prefix
· Working directory: /Users/thomasblanchard/Sites/sunology-eshop
2024-09-18T19:48:30.429Z: Obtaining the dependency manager in directory /Users/thomasblanchard/Sites/sunology-eshop...
Reproduction steps
shopify theme pull -l
Operating System
Mac OS Sonoma 14.5
Shopify CLI version (check your project's
package.json
if you're not sure)3.67.0
Shell
zsh
Node version (run
node -v
if you're not sure)v20.17.0
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: