Shopify / cli

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

[Bug]: Local Dev Server Broken but Theme Editor and Preview URLs are working; Dev Server needs better error messaging #3985

Closed mitchuman closed 3 months ago

mitchuman commented 5 months ago

Please confirm that you have:

In which of these areas are you experiencing a problem?

Theme

Expected behavior

Show helpful error messages when the following page appears; either in the browser console or the CLI output

Actual behavior

Just the generic "There was a problem loading this website" message when a server error occurs.

I typically would find an error in the Theme CLI output, but in this particular case there is no output—as if the server was running without any issues.

For context, the local Theme Editor and the preview link show the store correctly. Only on the local dev server (127.0.0.1:9292) does the error occur.

Verbose output

shopify theme dev --store kwik-hang-curtains --verbose
2024-06-05T18:23:21.216Z: Running command theme dev
2024-06-05T18:23:21.224Z: Ensuring that the user is authenticated with the Theme API with the following scopes:
[]

2024-06-05T18:23:21.224Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store kwik-hang-curtains.myshopify.com:
[]

2024-06-05T18:23:21.224Z: Getting session store...
2024-06-05T18:23:21.225Z: 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",
  "https://api.shopify.com/auth/organization.apps.manage"
]
For applications:
{
  "adminApi": {
    "scopes": [],
    "storeFqdn": "kwik-hang-curtains.myshopify.com"
  }
}

2024-06-05T18:23:21.226Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-06-05T18:23:21.226Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.61.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-06-05T18:23:21.409Z: Request to https://accounts.shopify.com/oauth/introspection completed in 180 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/"4e6c3a8e5ec0dd0ed0124075e4aea9de"
 - x-request-id: 6f2aa894-9b54-40a3-9853-86714b4b8332-1717611801

2024-06-05T18:23:21.412Z: The identity token is valid: true
2024-06-05T18:23:21.413Z:
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2024-06-05T18:23:21.413Z: The current session is valid but needs refresh. Refreshing...
2024-06-05T18:23:21.414Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_CjQI8tmCswYQkpKDswZSJggBEhBFzqSDDbVJI5IKrhqpEDPyGhBSn4eJpo1NM4Y37QWBp1-jEkBHn74j387l1PuKbr01zbbVHWuSqkdLrjmtHcFQqPmCptSgmHz-OlDNjixH2ob3AbXJbCOpwBxowE0YvEGnEoEA&refresh_token=atkn_CiEI8tmCswYQ8vOgtAaiARIKEFKfh4mmjU0zhjftBYGnX6MSQPvqjKEo8i8aUOL-XYptSlbdVSSfLGO3Ff0pjLy5DYcHXaTWt0fpiFUTvzFqU20zs4xVWYrCxqmZvczUWmMrOQI&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3
With request headers:
 - User-Agent: Shopify CLI; v=3.61.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-06-05T18:23:21.657Z: Request to https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_CjQI8tmCswYQkpKDswZSJggBEhBFzqSDDbVJI5IKrhqpEDPyGhBSn4eJpo1NM4Y37QWBp1-jEkBHn74j387l1PuKbr01zbbVHWuSqkdLrjmtHcFQqPmCptSgmHz-OlDNjixH2ob3AbXJbCOpwBxowE0YvEGnEoEA&refresh_token=atkn_CiEI8tmCswYQ8vOgtAaiARIKEFKfh4mmjU0zhjftBYGnX6MSQPvqjKEo8i8aUOL-XYptSlbdVSSfLGO3Ff0pjLy5DYcHXaTWt0fpiFUTvzFqU20zs4xVWYrCxqmZvczUWmMrOQI&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3 completed in 241 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/"2e9d85b06d468a79d72ee65b8d285ee7"
 - x-request-id: 34409fc0-fec7-4f04-bed8-026163b25fb5-1717611801

2024-06-05T18:23:21.662Z: 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.61.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-06-05T18:23:21.662Z: 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.61.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-06-05T18:23:21.663Z: 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.61.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-06-05T18:23:21.663Z: 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%2Fkwik-hang-curtains.myshopify.com%2Fadmin
With request headers:
 - User-Agent: Shopify CLI; v=3.61.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-06-05T18:23:21.865Z: 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 196 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/"d8cb02897c39ac91b26e9720fd0c5603"
 - x-request-id: cabe0efb-8820-4030-bc4b-853ac4aef28a-1717611801

2024-06-05T18:23:21.871Z: 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 204 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/"b15d8a67fd752364d5a9c5719ec21cd6"
 - x-request-id: 932f6824-0bf0-4bf0-a5ef-96fff11d756f-1717611801

2024-06-05T18:23:21.875Z: 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 209 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/"17dee770fcc52847a363fd4d0aa3c8e8"
 - x-request-id: 825c249c-b476-4a6c-888f-b2a613e5a94d-1717611801

2024-06-05T18:23:21.946Z: 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%2Fkwik-hang-curtains.myshopify.com%2Fadmin completed in 276 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/"912e74917180e94f089b6331b4828403"
 - x-request-id: 2522917f-dde5-42b7-9645-880374def17d-1717611801

2024-06-05T18:23:21.949Z: Setting session store...
2024-06-05T18:23:21.958Z: Ensuring that the user is authenticated with the Storefront API with the following scopes:
[]

2024-06-05T18:23:21.959Z: Getting session store...
2024-06-05T18:23:21.961Z: 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",
  "https://api.shopify.com/auth/organization.apps.manage"
]
For applications:
{
  "storefrontRendererApi": {
    "scopes": []
  }
}

2024-06-05T18:23:21.961Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-06-05T18:23:21.962Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.61.0
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-06-05T18:23:22.160Z: Request to https://accounts.shopify.com/oauth/introspection completed in 197 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/"16f0fd0fbccefe2455c5cb6e7ca8f1b4"
 - x-request-id: eb0b8188-150f-4414-b78a-39ff98648c0f-1717611802

2024-06-05T18:23:22.164Z: The identity token is valid: true
2024-06-05T18:23:22.164Z:
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2024-06-05T18:23:22.175Z:
Running system process:
  · Command: ruby -v
  · Working directory: /Users/mitchell/Developer/KH/kwikhang

2024-06-05T18:23:22.193Z:
Running system process:
  · Command: bundle -v
  · Working directory: /Users/mitchell/Developer/KH/kwikhang

2024-06-05T18:23:22.296Z: Reading the content of file at /Users/mitchell/.nvm/versions/node/v18.15.0/lib/node_modules/@shopify/cli/dist/assets/cli-ruby/Gemfile...
2024-06-05T18:23:22.298Z:
Running system process:
  · Command: bundle install
  · Working directory: /Users/mitchell/.nvm/versions/node/v18.15.0/lib/node_modules/@shopify/cli/dist/assets/cli-ruby

2024-06-05T18:23:22.448Z:
Running system process:
  · Command: bundle exec ruby /Users/mitchell/.nvm/versions/node/v18.15.0/lib/node_modules/@shopify/cli/dist/assets/cli-ruby/bin/shopify theme token --admin atkn_Cp8DCJnagrMGELmSg7MGYpADCAESEKh9YhQ0SEOtvIhAr66awH4aqAFodHRwczovL2FwaS5zaG9waWZ5LmNvbS9hdXRoL3BhcnRuZXJzLmNvbGxhYm9yYXRvci1yZWxhdGlvbnNoaXBzLnJlYWRvbmx5IGh0dHBzOi8vYXBpLnNob3BpZnkuY29tL2F1dGgvc2hvcC5hZG1pbi5ncmFwaHFsIGh0dHBzOi8vYXBpLnNob3BpZnkuY29tL2F1dGgvc2hvcC5hZG1pbi50aGVtZXMgDSinUzIQk9Gl8JHTSxa1frfXDh9wXzokYzRkNzZlNzAtYTlkOC00NmI5LWJhZjktMWQ3MGViNjgxY2UxQgdBY2NvdW50ShDFJ8gwRo1Fs4CwP3ic4f2QUlN7InN1YiI6ImZiZGIyNjQ5LWUzMjctNDkwNy04ZjY3LTkwOGQyNGNmZDdlMyIsImlzcyI6Imh0dHBzOi8vYWNjb3VudHMuc2hvcGlmeS5jb20ifWIQnbsS948STOm5otERVZ8I72oQwirN7XGjRwmSd7qC6FJOkhJAEDrcaS6zvRSbANmVg_Al4UqYnA4_NQqoxQZEru4HbSYUh47dj0c5UkPGa78fxmABns1e2pOs8w8XEVuf5QNKCg --sfr atkn_CqMCCJnagrMGELmSg7MGYpQCCAESEGL7aJTikUPYqvdj7JsllN8aPmh0dHBzOi8vYXBpLnNob3BpZnkuY29tL2F1dGgvc2hvcC5zdG9yZWZyb250LXJlbmRlcmVyLmRldnRvb2xzINhSKKdTOiRjNGQ3NmU3MC1hOWQ4LTQ2YjktYmFmOS0xZDcwZWI2ODFjZTFCB0FjY291bnRKEMUnyDBGjUWzgLA_eJzh_ZBSU3sic3ViIjoiZmJkYjI2NDktZTMyNy00OTA3LThmNjctOTA4ZDI0Y2ZkN2UzIiwiaXNzIjoiaHR0cHM6Ly9hY2NvdW50cy5zaG9waWZ5LmNvbSJ9YhCduxL3jxJM6bmi0RFVnwjvahDCKs3tcaNHCZJ3uoLoUk6SEkBg-yvdBFVOr_7alP7irhIkFP3i220I9Tx2e8a3hVKGOm0HUnF4Dgns1k9kenjXmruk4ssnfos1jmeA6iYxzAAG
  · Working directory: /Users/mitchell/Developer/KH/kwikhang

2024-06-05T18:23:22.757Z: Getting development theme...
2024-06-05T18:23:22.990Z: Request to https://kwik-hang-curtains.myshopify.com/admin/api/unstable/themes/160808599575.json?fields=id%2Cname%2Crole%2Cprocessing completed in 230 ms
With response headers:
 - content-type: application/json; charset=utf-8
 - x-request-id: 0a40fa40-e9bd-4b62-8767-740a087d67c3-1717611802

╭─ success ─────────────────────────────────────────────────────────────────────╮
│                                                                               │
│  Preview your theme                                                           │
│    • http://127.0.0.1:9292 [1]                                                │
│                                                                               │
│  Next steps                                                                   │
│    • Customize your theme at the theme editor [2]                             │
│    • Share your theme preview [3] (https://kwik-hang-curtains.myshopify.com/  │
│      ?preview_theme_id=160808599575)                                          │
│                                                                               │
╰───────────────────────────────────────────────────────────────────────────────╯
[1] http://127.0.0.1:9292
[2] https://kwik-hang-curtains.myshopify.com/admin/themes/160808599575/editor
[3] https://kwik-hang-curtains.myshopify.com/?preview_theme_id=160808599575

2024-06-05T18:23:23.045Z:
Running system process:
  · Command: ruby -v
  · Working directory: /Users/mitchell/Developer/KH/kwikhang

2024-06-05T18:23:23.053Z:
Running system process:
  · Command: bundle -v
  · Working directory: /Users/mitchell/Developer/KH/kwikhang

2024-06-05T18:23:23.125Z: Reading the content of file at /Users/mitchell/.nvm/versions/node/v18.15.0/lib/node_modules/@shopify/cli/dist/assets/cli-ruby/Gemfile...
2024-06-05T18:23:23.126Z:
Running system process:
  · Command: bundle install
  · Working directory: /Users/mitchell/.nvm/versions/node/v18.15.0/lib/node_modules/@shopify/cli/dist/assets/cli-ruby

2024-06-05T18:23:23.254Z:
Running system process:
  · Command: bundle exec ruby /Users/mitchell/.nvm/versions/node/v18.15.0/lib/node_modules/@shopify/cli/dist/assets/cli-ruby/bin/shopify theme serve /Users/mitchell/Developer/KH/kwikhang --live-reload hot-reload --theme 160808599575 --overwrite-json undefined
  · Working directory: /Users/mitchell/Developer/KH/kwikhang

DEBUG GET https://kwik-hang-curtains.myshopify.com/admin/api/unstable/themes.json with request_id: be52821d-62a5-48e3-ade5-7b474a3f830e-1717611803
* Syncing theme #160808599575 on kwik-hang-curtains.myshopify.com
DEBUG GET https://kwik-hang-curtains.myshopify.com/admin/api/unstable/themes/160808599575/assets.json with request_id: 04639b9d-5b5c-43b6-9ba3-18b4e493312e-1717611804
DEBUG ignore node_modules/@alloc/quick-lru/package.json
DEBUG ignore node_modules/@jridgewell/gen-mapping/package.json
DEBUG ignore node_modules/@jridgewell/resolve-uri/package.json
DEBUG ignore node_modules/@jridgewell/set-array/package.json
DEBUG ignore node_modules/@jridgewell/sourcemap-codec/package.json
DEBUG ignore node_modules/@jridgewell/trace-mapping/package.json
DEBUG ignore node_modules/@nodelib/fs.scandir/package.json
DEBUG ignore node_modules/@nodelib/fs.stat/package.json
DEBUG ignore node_modules/@nodelib/fs.walk/package.json
DEBUG ignore node_modules/any-promise/package.json
DEBUG ignore node_modules/anymatch/package.json
DEBUG ignore node_modules/arg/package.json
DEBUG ignore node_modules/autoprefixer/package.json
DEBUG ignore node_modules/balanced-match/package.json
DEBUG ignore node_modules/binary-extensions/binary-extensions.json
DEBUG ignore node_modules/binary-extensions/package.json
DEBUG ignore node_modules/brace-expansion/package.json
DEBUG ignore node_modules/braces/package.json
DEBUG ignore node_modules/browserslist/package.json
DEBUG ignore node_modules/camelcase-css/package.json
DEBUG ignore node_modules/caniuse-lite/package.json
DEBUG ignore node_modules/chokidar/package.json
DEBUG ignore node_modules/concat-map/package.json
DEBUG ignore node_modules/cssesc/package.json
DEBUG ignore node_modules/didyoumean/package.json
DEBUG ignore node_modules/dlv/package.json
DEBUG ignore node_modules/dom7/package.json
DEBUG ignore node_modules/electron-to-chromium/chromium-versions.json
DEBUG ignore node_modules/electron-to-chromium/full-chromium-versions.json
DEBUG ignore node_modules/electron-to-chromium/full-versions.json
DEBUG ignore node_modules/electron-to-chromium/package.json
DEBUG ignore node_modules/electron-to-chromium/versions.json
DEBUG ignore node_modules/esbuild/package.json
DEBUG ignore node_modules/escalade/package.json
DEBUG ignore node_modules/fast-glob/package.json
DEBUG ignore node_modules/fastq/package.json
DEBUG ignore node_modules/fastq/test/tsconfig.json
DEBUG ignore node_modules/fill-range/package.json
DEBUG ignore node_modules/fraction.js/package.json
DEBUG ignore node_modules/fs.realpath/package.json
DEBUG ignore node_modules/fsevents/package.json
DEBUG ignore node_modules/function-bind/package.json
DEBUG ignore node_modules/glob/package.json
DEBUG ignore node_modules/glob-parent/package.json
DEBUG ignore node_modules/hasown/package.json
DEBUG ignore node_modules/hasown/tsconfig.json
DEBUG ignore node_modules/inflight/package.json
DEBUG ignore node_modules/inherits/package.json
DEBUG ignore node_modules/is-binary-path/package.json
DEBUG ignore node_modules/is-core-module/core.json
DEBUG ignore node_modules/is-core-module/package.json
DEBUG ignore node_modules/is-extglob/package.json
DEBUG ignore node_modules/is-glob/package.json
DEBUG ignore node_modules/is-number/package.json
DEBUG ignore node_modules/jiti/package.json
DEBUG ignore node_modules/lilconfig/package.json
DEBUG ignore node_modules/lines-and-columns/package.json
DEBUG ignore node_modules/merge2/package.json
DEBUG ignore node_modules/micromatch/package.json
DEBUG ignore node_modules/minimatch/package.json
DEBUG ignore node_modules/mz/package.json
DEBUG ignore node_modules/nanoid/async/package.json
DEBUG ignore node_modules/nanoid/non-secure/package.json
DEBUG ignore node_modules/nanoid/package.json
DEBUG ignore node_modules/nanoid/url-alphabet/package.json
DEBUG ignore node_modules/node-releases/data/processed/envs.json
DEBUG ignore node_modules/node-releases/data/release-schedule/release-schedule.json
DEBUG ignore node_modules/node-releases/package.json
DEBUG ignore node_modules/normalize-path/package.json
DEBUG ignore node_modules/normalize-range/package.json
DEBUG ignore node_modules/object-assign/package.json
DEBUG ignore node_modules/object-hash/package.json
DEBUG ignore node_modules/once/package.json
DEBUG ignore node_modules/path-is-absolute/package.json
DEBUG ignore node_modules/path-parse/package.json
DEBUG ignore node_modules/picocolors/package.json
DEBUG ignore node_modules/picomatch/package.json
DEBUG ignore node_modules/pirates/package.json
DEBUG ignore node_modules/postcss/package.json
DEBUG ignore node_modules/postcss-import/package.json
DEBUG ignore node_modules/postcss-js/package.json
DEBUG ignore node_modules/postcss-load-config/node_modules/yaml/browser/package.json
DEBUG ignore node_modules/postcss-load-config/node_modules/yaml/package.json
DEBUG ignore node_modules/postcss-load-config/package.json
DEBUG ignore node_modules/postcss-nested/package.json
DEBUG ignore node_modules/postcss-selector-parser/package.json
DEBUG ignore node_modules/postcss-value-parser/package.json
DEBUG ignore node_modules/queue-microtask/package.json
DEBUG ignore node_modules/read-cache/node_modules/pify/package.json
DEBUG ignore node_modules/read-cache/package.json
DEBUG ignore node_modules/readdirp/package.json
DEBUG ignore node_modules/resolve/lib/core.json
DEBUG ignore node_modules/resolve/package.json
DEBUG ignore node_modules/resolve/test/module_dir/zmodules/bbb/package.json
DEBUG ignore node_modules/resolve/test/resolver/baz/package.json
DEBUG ignore node_modules/resolve/test/resolver/browser_field/package.json
DEBUG ignore node_modules/resolve/test/resolver/dot_main/package.json
DEBUG ignore node_modules/resolve/test/resolver/dot_slash_main/package.json
DEBUG ignore node_modules/resolve/test/resolver/false_main/package.json
DEBUG ignore node_modules/resolve/test/resolver/incorrect_main/package.json
DEBUG ignore node_modules/resolve/test/resolver/invalid_main/package.json
DEBUG ignore node_modules/resolve/test/resolver/multirepo/lerna.json
DEBUG ignore node_modules/resolve/test/resolver/multirepo/package.json
DEBUG ignore node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json
DEBUG ignore node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json
DEBUG ignore node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json
DEBUG ignore node_modules/resolve/test/resolver/symlinked/package/package.json
DEBUG ignore node_modules/reusify/package.json
DEBUG ignore node_modules/run-parallel/package.json
DEBUG ignore node_modules/source-map-js/package.json
DEBUG ignore node_modules/ssr-window/package.json
DEBUG ignore node_modules/sucrase/node_modules/commander/package.json
DEBUG ignore node_modules/sucrase/package.json
DEBUG ignore node_modules/supports-preserve-symlinks-flag/package.json
DEBUG ignore node_modules/swiper/angular/package.json
DEBUG ignore node_modules/swiper/package.json
DEBUG ignore node_modules/tailwindcss/node_modules/glob-parent/package.json
DEBUG ignore node_modules/tailwindcss/package.json
DEBUG ignore node_modules/thenify/package.json
DEBUG ignore node_modules/thenify-all/package.json
DEBUG ignore node_modules/to-regex-range/package.json
DEBUG ignore node_modules/ts-interface-checker/package.json
DEBUG ignore node_modules/update-browserslist-db/package.json
DEBUG ignore node_modules/util-deprecate/package.json
DEBUG ignore node_modules/wrappy/package.json
DEBUG ignore package-lock.json
DEBUG ignore package.json
DEBUG ignore src/js/theme.js.liquid
DEBUG [BulkJob #1920] job request: size=1, bytesize=19395                                                             50%
DEBUG PUT https://kwik-hang-curtains.myshopify.com/admin/api/unstable/themes/160808599575/assets/bulk.json with request_id: d56b5cc7-ec6f-4d82-af0a-a7fe23ca88c3-1717611804
DEBUG [BulkJob #1920] bulk rest_request time: 325.187ms
DEBUG [BulkJob #1920] job response: http_status=207
DEBUG [BulkJob #1920] bulk item success (item=templates/page.lp-ppc.json)
DEBUG [Bulk] shutdown, remaining_items=0                                                                              100%
DEBUG [BulkJob #1940] job request: size=1, bytesize=42555
DEBUG PUT https://kwik-hang-curtains.myshopify.com/admin/api/unstable/themes/160808599575/assets/bulk.json with request_id: ef7076ee-f186-4f20-8a78-bec663c21ac3-1717611805
DEBUG [BulkJob #1940] bulk rest_request time: 1227.538ms
DEBUG [BulkJob #1940] job response: http_status=207
DEBUG [BulkJob #1940] bulk item success (item=config/settings_data.json)
DEBUG [Bulk] shutdown, remaining_items=0                                                                              100%
                                                                                                                      100%
[2024-06-05 11:23:26] INFO  WEBrick 1.7.0
[2024-06-05 11:23:26] INFO  ruby 3.0.0 (2020-12-25) [arm64-darwin23]
[2024-06-05 11:23:26] INFO  WEBrick::HTTPServer#start: pid=79540 port=9292

Reproduction steps

  1. Run dev server
    shopify theme dev --store kwik-hang-curtains
  2. Open the local dev port (http://127.0.0.1:9292)
    • Error occurs here
  3. Open local Theme Editor
    • no error here; the page loads normally

U2NyZWVuc2hvdCAyMDI0LTA2LTA1IGF0IDEwLjI2LjM34oCvQU0ucG5n

Screenshot 2024-06-05 at 11 25 53 AM

Operating System

macOS Sonoma 14.5

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

3.61.0

Shell

zsh

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

v18.15.0

What language and version are you using in your application?

Liquid

github-actions[bot] commented 4 months ago

This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.

P.S. You can learn more about why we stale issues here.