Shopify / cli

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

[Bug]: Local currency instead of shop currency when using local machine URL for theme development #3883

Closed franek8080 closed 5 months ago

franek8080 commented 5 months ago

Please confirm that you have:

In which of these areas are you experiencing a problem?

Theme

Expected behavior

The http://127.0.0.1:9292/ should serve currency set in Shopify CMS.

Actual behavior

The http://127.0.0.1:9292/ shows PLN (my local currency) instead of GBP (shop currency). The theme external link displays the currency correctly. Local link doesn't.

Verbose output

2024-05-10T10:54:32.050Z: Running command theme dev
  shopify:theme:dev init version: @oclif/core@3.19.6 argv: [ '--verbose' ] +0ms
2024-05-10T10:54:32.068Z: Ensuring that the user is authenticated with the Theme API with the following scopes:
[]

2024-05-10T10:54:32.069Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store 7dfd94.myshopify.com:
[]

2024-05-10T10:54:32.069Z: Getting session store...
2024-05-10T10:54:32.072Z: 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": "7dfd94.myshopify.com"
  }
}

2024-05-10T10:54:32.073Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-05-10T10:54:32.073Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.58.2
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2024-05-10T10:54:32.341Z: Request to https://accounts.shopify.com/oauth/introspection completed in 257 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/"3d349235ff0d048f9d3ac93a7dd63245"
 - x-request-id: d87793fd-cfbf-48a9-990b-4f99dfef9902-1715338472

2024-05-10T10:54:32.354Z: The identity token is valid: true
2024-05-10T10:54:32.355Z: 
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2024-05-10T10:54:32.355Z: The current session is valid but needs refresh. Refreshing...
2024-05-10T10:54:32.358Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_CjQIjuD3sQYQrpj4sQZSJggBEhCLxXn4jEpHvaYTKqfJXmV-GhCy-GyFlg5E2qYZpnOdmysKEkCMCQrv63_08q9_Onyj2qJI42Feu9FDIMxPieKk8Lk834VbUJghlIxGOoBMziXcXzt6lUICVck-bYw_uGWuwxUH&refresh_token=atkn_CiEIjuD3sQYQjvqVswaiARIKELL4bIWWDkTaphmmc52bKwoSQMDSeSA09wOyzBbI5vxnuWg9FUzSDaN1qHIJFpLBn_raXFUJ6vqp6DOqDcOTNfbqq-e4Jb_q-tXjPde3wYpO2AE&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3
With request headers:
 - User-Agent: Shopify CLI; v=3.58.2
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2024-05-10T10:54:32.647Z: Request to https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_CjQIjuD3sQYQrpj4sQZSJggBEhCLxXn4jEpHvaYTKqfJXmV-GhCy-GyFlg5E2qYZpnOdmysKEkCMCQrv63_08q9_Onyj2qJI42Feu9FDIMxPieKk8Lk834VbUJghlIxGOoBMziXcXzt6lUICVck-bYw_uGWuwxUH&refresh_token=atkn_CiEIjuD3sQYQjvqVswaiARIKELL4bIWWDkTaphmmc52bKwoSQMDSeSA09wOyzBbI5vxnuWg9FUzSDaN1qHIJFpLBn_raXFUJ6vqp6DOqDcOTNfbqq-e4Jb_q-tXjPde3wYpO2AE&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3 completed in 285 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/"7bf2ada03fd64b40d3d6439176ce8ceb"
 - x-request-id: a4ff3107-9b56-4db2-9b00-a5c976bdcc10-1715338472

2024-05-10T10:54:32.653Z: 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.58.2
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2024-05-10T10:54:32.653Z: 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.58.2
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2024-05-10T10:54:32.653Z: 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.58.2
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2024-05-10T10:54:32.654Z: 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%2F7dfd94.myshopify.com%2Fadmin
With request headers:
 - User-Agent: Shopify CLI; v=3.58.2
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2024-05-10T10:54:32.939Z: 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 280 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/"75f6e4a54a8cb4da84b972a7ca254048"
 - x-request-id: 27876bf2-aa46-4f6f-998d-6c0f2a533b44-1715338472

2024-05-10T10:54:32.955Z: 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 295 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/"9ce6f71090ef6d8bdffc4abdbccdd126"
 - x-request-id: 2d4ca777-c2a7-411b-80ba-b68751e2b1fd-1715338472

2024-05-10T10:54:33.350Z: 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%2F7dfd94.myshopify.com%2Fadmin completed in 687 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/"363e541bcd4f052d87a63cb26b5533ab"
 - x-request-id: be9e5f51-8f09-416a-a65c-24c564028e29-1715338472

2024-05-10T10:54:33.364Z: 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 707 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/"af096031452164438cdba2246f795ca5"
 - x-request-id: de4e998c-6553-4aa0-ad0c-e04e7665faf8-1715338472

2024-05-10T10:54:33.369Z: Setting session store...
2024-05-10T10:54:33.375Z: Ensuring that the user is authenticated with the Storefront API with the following scopes:
[]

2024-05-10T10:54:33.375Z: Getting session store...
2024-05-10T10:54:33.378Z: 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-05-10T10:54:33.379Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-05-10T10:54:33.380Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.58.2
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

2024-05-10T10:54:33.671Z: Request to https://accounts.shopify.com/oauth/introspection completed in 288 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/"1744eff508f3512d717932bcdd8d878f"
 - x-request-id: 23181a83-68bc-44a5-875b-0514b51478dc-1715338473

2024-05-10T10:54:33.675Z: The identity token is valid: true
2024-05-10T10:54:33.675Z: 
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2024-05-10T10:54:33.700Z: 
Running system process:
  · Command: ruby -v
  · Working directory: /var/www/html/2023/bodyjoys

2024-05-10T10:54:33.749Z: 
Running system process:
  · Command: bundle -v
  · Working directory: /var/www/html/2023/bodyjoys

2024-05-10T10:54:33.918Z: Reading the content of file at /home/franciszek/.nvm/versions/node/v18.20.1/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/Gemfile...
2024-05-10T10:54:33.920Z: 
Running system process:
  · Command: bundle install
  · Working directory: /home/franciszek/.nvm/versions/node/v18.20.1/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby

2024-05-10T10:54:34.221Z: 
Running system process:
  · Command: bundle exec ruby /home/franciszek/.nvm/versions/node/v18.20.1/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify theme token --admin atkn_Cp8DCOn597EGEImy-LEGYpADCAESEMZkv8fU7EJKjTnTs_ym79gaqAFodHRwczovL2FwaS5zaG9waWZ5LmNvbS9hdXRoL3BhcnRuZXJzLmNvbGxhYm9yYXRvci1yZWxhdGlvbnNoaXBzLnJlYWRvbmx5IGh0dHBzOi8vYXBpLnNob3BpZnkuY29tL2F1dGgvc2hvcC5hZG1pbi5ncmFwaHFsIGh0dHBzOi8vYXBpLnNob3BpZnkuY29tL2F1dGgvc2hvcC5hZG1pbi50aGVtZXMgDSinUzIQvSZKyk7NQl-g__78tL9gjzokZDg1Zjk5NjUtOGU4YS00NDA4LTkzMmYtYmYxOGNkMDJlYTgyQgdBY2NvdW50ShDtsA8KyA5FVIZ1JJt5ig1yUlN7InN1YiI6ImZiZGIyNjQ5LWUzMjctNDkwNy04ZjY3LTkwOGQyNGNmZDdlMyIsImlzcyI6Imh0dHBzOi8vYWNjb3VudHMuc2hvcGlmeS5jb20ifWIQTVU06ye6TguTL0GDg6p7T2oQtp0eomM8RuuUZhPiUX4kqhJArI8frf7AKA80ze7Ho2cYLL2zA8qmbZJe6fx4DohDZ4djlORy2rgTQwKP28MzfwAeBOPCvs9GWr568GuAkumfAg --sfr atkn_CqMCCOj597EGEIiy-LEGYpQCCAESEEarE_eH6Uwpk_0d9Aaq1K4aPmh0dHBzOi8vYXBpLnNob3BpZnkuY29tL2F1dGgvc2hvcC5zdG9yZWZyb250LXJlbmRlcmVyLmRldnRvb2xzINhSKKdTOiRkODVmOTk2NS04ZThhLTQ0MDgtOTMyZi1iZjE4Y2QwMmVhODJCB0FjY291bnRKEO2wDwrIDkVUhnUkm3mKDXJSU3sic3ViIjoiZmJkYjI2NDktZTMyNy00OTA3LThmNjctOTA4ZDI0Y2ZkN2UzIiwiaXNzIjoiaHR0cHM6Ly9hY2NvdW50cy5zaG9waWZ5LmNvbSJ9YhBNVTTrJ7pOC5MvQYODqntPahC2nR6iYzxG65RmE-JRfiSqEkBkSZWqGB7GIkETT_f1dSnjW9X8-drj426d8cVq_zlXBkfABsDKNmc01yGeBTF6A3df2SAdrcDhEklzIK8i3vYL
  · Working directory: /var/www/html/2023/bodyjoys

2024-05-10T10:54:34.682Z: Getting development theme...
2024-05-10T10:54:35.089Z: Request to https://7dfd94.myshopify.com/admin/api/unstable/themes/167419674917.json?fields=id%2Cname%2Crole%2Cprocessing completed in 405 ms
With response headers:
 - content-type: application/json; charset=utf-8
 - x-request-id: 7a04b3d2-158f-4c9c-843c-b528b375eb93-1715338474

╭─ success ────────────────────────────────────────────────────────────────────╮
│                                                                              │
│  Preview your theme                                                          │
│    • http://127.0.0.1:9292                                                   │
│                                                                              │
│  Next steps                                                                  │
│    • Customize your theme at the theme editor                                │
│    • Share your theme preview                                                │
│      (https://7dfd94.myshopify.com/?preview_theme_id=167419674917)           │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

2024-05-10T10:54:35.166Z: 
Running system process:
  · Command: ruby -v
  · Working directory: /var/www/html/2023/bodyjoys

2024-05-10T10:54:35.204Z: 
Running system process:
  · Command: bundle -v
  · Working directory: /var/www/html/2023/bodyjoys

2024-05-10T10:54:35.361Z: Reading the content of file at /home/franciszek/.nvm/versions/node/v18.20.1/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/Gemfile...
2024-05-10T10:54:35.363Z: 
Running system process:
  · Command: bundle install
  · Working directory: /home/franciszek/.nvm/versions/node/v18.20.1/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby

2024-05-10T10:54:35.639Z: 
Running system process:
  · Command: bundle exec ruby /home/franciszek/.nvm/versions/node/v18.20.1/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify theme serve /var/www/html/2023/bodyjoys --live-reload hot-reload --theme 167419674917 --overwrite-json undefined
  · Working directory: /var/www/html/2023/bodyjoys

DEBUG GET https://7dfd94.myshopify.com/admin/api/unstable/themes.json with request_id: de9a8b29-b037-4e58-a9ef-3346ba34c1a6-1715338476
* Syncing theme #167419674917 on 7dfd94.myshopify.com
DEBUG GET https://7dfd94.myshopify.com/admin/api/unstable/themes/167419674917/assets.json with request_id: 4e1aee76-7fa2-4305-8014-06ad67e84e79-1715338476
DEBUG ignore node_modules/@babel/code-frame/package.json
DEBUG ignore node_modules/@babel/helper-validator-identifier/package.json
DEBUG ignore node_modules/@babel/highlight/node_modules/ansi-styles/package.json
DEBUG ignore node_modules/@babel/highlight/node_modules/chalk/package.json
DEBUG ignore node_modules/@babel/highlight/node_modules/color-convert/package.json
DEBUG ignore node_modules/@babel/highlight/node_modules/color-name/package.json
DEBUG ignore node_modules/@babel/highlight/node_modules/has-flag/package.json
DEBUG ignore node_modules/@babel/highlight/node_modules/supports-color/package.json
DEBUG ignore node_modules/@babel/highlight/package.json
DEBUG ignore node_modules/@csstools/cascade-layer-name-parser/package.json
DEBUG ignore node_modules/@csstools/color-helpers/package.json
DEBUG ignore node_modules/@csstools/css-calc/package.json
DEBUG ignore node_modules/@csstools/css-color-parser/package.json
DEBUG ignore node_modules/@csstools/css-parser-algorithms/package.json
DEBUG ignore node_modules/@csstools/css-tokenizer/package.json
DEBUG ignore node_modules/@csstools/media-query-list-parser/package.json
DEBUG ignore node_modules/@csstools/postcss-cascade-layers/package.json
DEBUG ignore node_modules/@csstools/postcss-color-function/package.json
DEBUG ignore node_modules/@csstools/postcss-color-mix-function/package.json
DEBUG ignore node_modules/@csstools/postcss-font-format-keywords/package.json
DEBUG ignore node_modules/@csstools/postcss-gradients-interpolation-method/package.json
DEBUG ignore node_modules/@csstools/postcss-hwb-function/package.json
DEBUG ignore node_modules/@csstools/postcss-ic-unit/package.json
DEBUG ignore node_modules/@csstools/postcss-is-pseudo-class/package.json
DEBUG ignore node_modules/@csstools/postcss-logical-float-and-clear/package.json
DEBUG ignore node_modules/@csstools/postcss-logical-resize/package.json
DEBUG ignore node_modules/@csstools/postcss-logical-viewport-units/package.json
DEBUG ignore node_modules/@csstools/postcss-media-minmax/package.json
DEBUG ignore node_modules/@csstools/postcss-media-queries-aspect-ratio-number-values/package.json
DEBUG ignore node_modules/@csstools/postcss-nested-calc/package.json
DEBUG ignore node_modules/@csstools/postcss-normalize-display-values/package.json
DEBUG ignore node_modules/@csstools/postcss-oklab-function/package.json
DEBUG ignore node_modules/@csstools/postcss-progressive-custom-properties/package.json
DEBUG ignore node_modules/@csstools/postcss-relative-color-syntax/package.json
DEBUG ignore node_modules/@csstools/postcss-scope-pseudo-class/package.json
DEBUG ignore node_modules/@csstools/postcss-stepped-value-functions/package.json
DEBUG ignore node_modules/@csstools/postcss-text-decoration-shorthand/package.json
DEBUG ignore node_modules/@csstools/postcss-trigonometric-functions/package.json
DEBUG ignore node_modules/@csstools/postcss-unset-value/package.json
DEBUG ignore node_modules/@csstools/selector-specificity/package.json
DEBUG ignore node_modules/@esbuild/linux-x64/package.json
DEBUG ignore node_modules/@gar/promisify/package.json
DEBUG ignore node_modules/@npmcli/fs/package.json
DEBUG ignore node_modules/@npmcli/move-file/package.json
DEBUG ignore node_modules/@splidejs/splide/package.json
DEBUG ignore node_modules/@tootallnate/once/package.json
DEBUG ignore node_modules/@types/minimist/package.json
DEBUG ignore node_modules/@types/normalize-package-data/package.json
DEBUG ignore node_modules/abbrev/package.json
DEBUG ignore node_modules/agent-base/package.json
DEBUG ignore node_modules/agentkeepalive/package.json
DEBUG ignore node_modules/aggregate-error/package.json
DEBUG ignore node_modules/ansi-regex/package.json
DEBUG ignore node_modules/ansi-styles/package.json
DEBUG ignore node_modules/anymatch/package.json
DEBUG ignore node_modules/aproba/package.json
DEBUG ignore node_modules/are-we-there-yet/node_modules/readable-stream/package.json
DEBUG ignore node_modules/are-we-there-yet/node_modules/safe-buffer/package.json
DEBUG ignore node_modules/are-we-there-yet/node_modules/string_decoder/package.json
DEBUG ignore node_modules/are-we-there-yet/package.json
DEBUG ignore node_modules/arrify/package.json
DEBUG ignore node_modules/async-foreach/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/cacache/node_modules/brace-expansion/package.json
DEBUG ignore node_modules/cacache/node_modules/glob/package.json
DEBUG ignore node_modules/cacache/node_modules/lru-cache/package.json
DEBUG ignore node_modules/cacache/node_modules/minimatch/package.json
DEBUG ignore node_modules/cacache/node_modules/ssri/package.json
DEBUG ignore node_modules/cacache/package.json
DEBUG ignore node_modules/camelcase/package.json
DEBUG ignore node_modules/camelcase-keys/node_modules/map-obj/package.json
DEBUG ignore node_modules/camelcase-keys/package.json
DEBUG ignore node_modules/caniuse-lite/package.json
DEBUG ignore node_modules/chalk/package.json
DEBUG ignore node_modules/chokidar/package.json
DEBUG ignore node_modules/chownr/package.json
DEBUG ignore node_modules/clean-stack/package.json
DEBUG ignore node_modules/cliui/package.json
DEBUG ignore node_modules/color-convert/package.json
DEBUG ignore node_modules/color-name/package.json
DEBUG ignore node_modules/color-support/package.json
DEBUG ignore node_modules/concat-map/package.json
DEBUG ignore node_modules/console-control-strings/package.json
DEBUG ignore node_modules/core-util-is/package.json
DEBUG ignore node_modules/cross-spawn/package.json
DEBUG ignore node_modules/css-blank-pseudo/package.json
DEBUG ignore node_modules/css-has-pseudo/package.json
DEBUG ignore node_modules/css-prefers-color-scheme/package.json
DEBUG ignore node_modules/cssdb/cssdb.json
DEBUG ignore node_modules/cssdb/package.json
DEBUG ignore node_modules/cssesc/package.json
DEBUG ignore node_modules/debug/package.json
DEBUG ignore node_modules/decamelize/package.json
DEBUG ignore node_modules/decamelize-keys/package.json
DEBUG ignore node_modules/delegates/package.json
DEBUG ignore node_modules/depd/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/emoji-regex/package.json
DEBUG ignore node_modules/encoding/package.json
DEBUG ignore node_modules/env-paths/package.json
DEBUG ignore node_modules/err-code/bower.json
DEBUG ignore node_modules/err-code/package.json
DEBUG ignore node_modules/error-ex/package.json
DEBUG ignore node_modules/esbuild/package.json
DEBUG ignore node_modules/esbuild-sass-plugin/package.json
DEBUG ignore node_modules/escalade/package.json
DEBUG ignore node_modules/escape-string-regexp/package.json
DEBUG ignore node_modules/fetch-jsonp/package.json
DEBUG ignore node_modules/fill-range/package.json
DEBUG ignore node_modules/find-up/package.json
DEBUG ignore node_modules/fraction.js/package.json
DEBUG ignore node_modules/fs-minipass/package.json
DEBUG ignore node_modules/fs.realpath/package.json
DEBUG ignore node_modules/function-bind/package.json
DEBUG ignore node_modules/gauge/package.json
DEBUG ignore node_modules/gaze/package.json
DEBUG ignore node_modules/get-caller-file/package.json
DEBUG ignore node_modules/get-stdin/package.json
DEBUG ignore node_modules/glob/package.json
DEBUG ignore node_modules/glob-parent/package.json
DEBUG ignore node_modules/globule/node_modules/glob/node_modules/minimatch/package.json
DEBUG ignore node_modules/globule/node_modules/glob/package.json
DEBUG ignore node_modules/globule/node_modules/minimatch/package.json
DEBUG ignore node_modules/globule/package.json
DEBUG ignore node_modules/graceful-fs/package.json
DEBUG ignore node_modules/hard-rejection/package.json
DEBUG ignore node_modules/has/package.json
DEBUG ignore node_modules/has-flag/package.json
DEBUG ignore node_modules/has-unicode/package.json
DEBUG ignore node_modules/headroom.js/package.json
DEBUG ignore node_modules/hosted-git-info/package.json
DEBUG ignore node_modules/http-cache-semantics/package.json
DEBUG ignore node_modules/http-proxy-agent/package.json
DEBUG ignore node_modules/https-proxy-agent/package.json
DEBUG ignore node_modules/humanize-ms/node_modules/ms/package.json
DEBUG ignore node_modules/humanize-ms/package.json
DEBUG ignore node_modules/iconv-lite/encodings/tables/big5-added.json
DEBUG ignore node_modules/iconv-lite/encodings/tables/cp936.json
DEBUG ignore node_modules/iconv-lite/encodings/tables/cp949.json
DEBUG ignore node_modules/iconv-lite/encodings/tables/cp950.json
DEBUG ignore node_modules/iconv-lite/encodings/tables/eucjp.json
DEBUG ignore node_modules/iconv-lite/encodings/tables/gb18030-ranges.json
DEBUG ignore node_modules/iconv-lite/encodings/tables/gbk-added.json
DEBUG ignore node_modules/iconv-lite/encodings/tables/shiftjis.json
DEBUG ignore node_modules/iconv-lite/package.json
DEBUG ignore node_modules/immutable/package.json
DEBUG ignore node_modules/imurmurhash/package.json
DEBUG ignore node_modules/indent-string/package.json
DEBUG ignore node_modules/infer-owner/package.json
DEBUG ignore node_modules/inflight/package.json
DEBUG ignore node_modules/inherits/package.json
DEBUG ignore node_modules/ip/package.json
DEBUG ignore node_modules/is-arrayish/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-fullwidth-code-point/package.json
DEBUG ignore node_modules/is-glob/package.json
DEBUG ignore node_modules/is-lambda/package.json
DEBUG ignore node_modules/is-number/package.json
DEBUG ignore node_modules/is-plain-obj/package.json
DEBUG ignore node_modules/isarray/component.json
DEBUG ignore node_modules/isarray/package.json
DEBUG ignore node_modules/isexe/package.json
DEBUG ignore node_modules/js-base64/package.json
DEBUG ignore node_modules/js-tokens/package.json
DEBUG ignore node_modules/json-parse-even-better-errors/package.json
DEBUG ignore node_modules/kind-of/package.json
DEBUG ignore node_modules/lines-and-columns/package.json
DEBUG ignore node_modules/locate-path/package.json
DEBUG ignore node_modules/lodash/package.json
DEBUG ignore node_modules/lru-cache/package.json
DEBUG ignore node_modules/make-fetch-happen/node_modules/lru-cache/package.json
DEBUG ignore node_modules/make-fetch-happen/node_modules/ssri/package.json
DEBUG ignore node_modules/make-fetch-happen/package.json
DEBUG ignore node_modules/map-obj/package.json
DEBUG ignore node_modules/meow/package.json
DEBUG ignore node_modules/min-indent/package.json
DEBUG ignore node_modules/minimatch/package.json
DEBUG ignore node_modules/minimist-options/package.json
DEBUG ignore node_modules/minipass/package.json
DEBUG ignore node_modules/minipass-collect/package.json
DEBUG ignore node_modules/minipass-fetch/package.json
DEBUG ignore node_modules/minipass-flush/package.json
DEBUG ignore node_modules/minipass-pipeline/package.json
DEBUG ignore node_modules/minipass-sized/package-lock.json
DEBUG ignore node_modules/minipass-sized/package.json
DEBUG ignore node_modules/minizlib/package.json
DEBUG ignore node_modules/mkdirp/package.json
DEBUG ignore node_modules/ms/package.json
DEBUG ignore node_modules/nan/package.json
DEBUG ignore node_modules/nan/tools/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/negotiator/package.json
DEBUG ignore node_modules/node-gyp/node_modules/@npmcli/fs/package.json
DEBUG ignore node_modules/node-gyp/node_modules/@npmcli/move-file/package.json
DEBUG ignore node_modules/node-gyp/node_modules/@tootallnate/once/package.json
DEBUG ignore node_modules/node-gyp/node_modules/cacache/package.json
DEBUG ignore node_modules/node-gyp/node_modules/http-proxy-agent/package.json
DEBUG ignore node_modules/node-gyp/node_modules/make-fetch-happen/package.json
DEBUG ignore node_modules/node-gyp/node_modules/minipass-fetch/package.json
DEBUG ignore node_modules/node-gyp/node_modules/socks-proxy-agent/package.json
DEBUG ignore node_modules/node-gyp/node_modules/unique-filename/package.json
DEBUG ignore node_modules/node-gyp/node_modules/unique-slug/package.json
DEBUG ignore node_modules/node-gyp/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/node-sass/package.json
DEBUG ignore node_modules/nopt/package.json
DEBUG ignore node_modules/normalize-package-data/lib/typos.json
DEBUG ignore node_modules/normalize-package-data/lib/warning_messages.json
DEBUG ignore node_modules/normalize-package-data/package.json
DEBUG ignore node_modules/normalize-path/package.json
DEBUG ignore node_modules/normalize-range/package.json
DEBUG ignore node_modules/nouislider/package.json
DEBUG ignore node_modules/npmlog/package.json
DEBUG ignore node_modules/once/package.json
DEBUG ignore node_modules/p-limit/package.json
DEBUG ignore node_modules/p-locate/package.json
DEBUG ignore node_modules/p-map/package.json
DEBUG ignore node_modules/p-try/package.json
DEBUG ignore node_modules/parse-json/package.json
DEBUG ignore node_modules/path/package.json
DEBUG ignore node_modules/path-exists/package.json
DEBUG ignore node_modules/path-is-absolute/package.json
DEBUG ignore node_modules/path-key/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/postcss/package.json
DEBUG ignore node_modules/postcss-attribute-case-insensitive/package.json
DEBUG ignore node_modules/postcss-clamp/package.json
DEBUG ignore node_modules/postcss-color-functional-notation/package.json
DEBUG ignore node_modules/postcss-color-hex-alpha/package.json
DEBUG ignore node_modules/postcss-color-rebeccapurple/package.json
DEBUG ignore node_modules/postcss-custom-media/package.json
DEBUG ignore node_modules/postcss-custom-properties/package.json
DEBUG ignore node_modules/postcss-custom-selectors/package.json
DEBUG ignore node_modules/postcss-dir-pseudo-class/package.json
DEBUG ignore node_modules/postcss-double-position-gradients/package.json
DEBUG ignore node_modules/postcss-focus-visible/package.json
DEBUG ignore node_modules/postcss-focus-within/package.json
DEBUG ignore node_modules/postcss-font-variant/package.json
DEBUG ignore node_modules/postcss-gap-properties/package.json
DEBUG ignore node_modules/postcss-image-set-function/package.json
DEBUG ignore node_modules/postcss-initial/lib/decls.json
DEBUG ignore node_modules/postcss-initial/package.json
DEBUG ignore node_modules/postcss-lab-function/package.json
DEBUG ignore node_modules/postcss-logical/package.json
DEBUG ignore node_modules/postcss-nesting/package.json
DEBUG ignore node_modules/postcss-opacity-percentage/package.json
DEBUG ignore node_modules/postcss-overflow-shorthand/package.json
DEBUG ignore node_modules/postcss-page-break/package.json
DEBUG ignore node_modules/postcss-place/package.json
DEBUG ignore node_modules/postcss-preset-env/package.json
DEBUG ignore node_modules/postcss-pseudo-class-any-link/package.json
DEBUG ignore node_modules/postcss-replace-overflow-wrap/package.json
DEBUG ignore node_modules/postcss-selector-not/package.json
DEBUG ignore node_modules/postcss-selector-parser/package.json
DEBUG ignore node_modules/postcss-value-parser/package.json
DEBUG ignore node_modules/process/package.json
DEBUG ignore node_modules/process-nextick-args/package.json
DEBUG ignore node_modules/promise-inflight/package.json
DEBUG ignore node_modules/promise-retry/package.json
DEBUG ignore node_modules/quick-lru/package.json
DEBUG ignore node_modules/read-pkg/node_modules/hosted-git-info/package.json
DEBUG ignore node_modules/read-pkg/node_modules/normalize-package-data/lib/typos.json
DEBUG ignore node_modules/read-pkg/node_modules/normalize-package-data/lib/warning_messages.json
DEBUG ignore node_modules/read-pkg/node_modules/normalize-package-data/package.json
DEBUG ignore node_modules/read-pkg/node_modules/semver/package.json
DEBUG ignore node_modules/read-pkg/node_modules/type-fest/package.json
DEBUG ignore node_modules/read-pkg/package.json
DEBUG ignore node_modules/read-pkg-up/node_modules/type-fest/package.json
DEBUG ignore node_modules/read-pkg-up/package.json
DEBUG ignore node_modules/readable-stream/package.json
DEBUG ignore node_modules/readdirp/package.json
DEBUG ignore node_modules/redent/package.json
DEBUG ignore node_modules/require-directory/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/malformed_package_json/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/retry/package.json
DEBUG ignore node_modules/rimraf/package.json
DEBUG ignore node_modules/safe-buffer/package.json
DEBUG ignore node_modules/safer-buffer/package.json
DEBUG ignore node_modules/sass/package.json
DEBUG ignore node_modules/sass-graph/package.json
DEBUG ignore node_modules/scss-tokenizer/package.json
DEBUG ignore node_modules/semver/package.json
DEBUG ignore node_modules/set-blocking/package.json
DEBUG ignore node_modules/shebang-command/package.json
DEBUG ignore node_modules/shebang-regex/package.json
DEBUG ignore node_modules/signal-exit/package.json
DEBUG ignore node_modules/smart-buffer/package.json
DEBUG ignore node_modules/socks/package.json
DEBUG ignore node_modules/socks-proxy-agent/package.json
DEBUG ignore node_modules/source-map/package.json
DEBUG ignore node_modules/source-map-js/package.json
DEBUG ignore node_modules/spdx-correct/package.json
DEBUG ignore node_modules/spdx-exceptions/index.json
DEBUG ignore node_modules/spdx-exceptions/package.json
DEBUG ignore node_modules/spdx-expression-parse/package.json
DEBUG ignore node_modules/spdx-license-ids/deprecated.json
DEBUG ignore node_modules/spdx-license-ids/index.json
DEBUG ignore node_modules/spdx-license-ids/package.json
DEBUG ignore node_modules/ssri/package.json
DEBUG ignore node_modules/stdout-stream/package.json
DEBUG ignore node_modules/string-width/package.json
DEBUG ignore node_modules/string_decoder/package.json
DEBUG ignore node_modules/strip-ansi/package.json
DEBUG ignore node_modules/strip-indent/package.json
DEBUG ignore node_modules/supports-color/package.json
DEBUG ignore node_modules/supports-preserve-symlinks-flag/package.json
DEBUG ignore node_modules/tar/node_modules/minipass/package.json
DEBUG ignore node_modules/tar/package.json
DEBUG ignore node_modules/to-regex-range/package.json
DEBUG ignore node_modules/trim-newlines/package.json
DEBUG ignore node_modules/true-case-path/package.json
DEBUG ignore node_modules/type-fest/package.json
DEBUG ignore node_modules/unique-filename/package.json
DEBUG ignore node_modules/unique-slug/package.json
DEBUG ignore node_modules/update-browserslist-db/package.json
DEBUG ignore node_modules/util/node_modules/inherits/package.json
DEBUG ignore node_modules/util/package.json
DEBUG ignore node_modules/util-deprecate/package.json
DEBUG ignore node_modules/validate-npm-package-license/package.json
DEBUG ignore node_modules/which/package.json
DEBUG ignore node_modules/wide-align/package.json
DEBUG ignore node_modules/wrap-ansi/package.json
DEBUG ignore node_modules/wrappy/package.json
DEBUG ignore node_modules/y18n/package.json
DEBUG ignore node_modules/yallist/package.json
DEBUG ignore node_modules/yargs/helpers/package.json
DEBUG ignore node_modules/yargs/locales/be.json
DEBUG ignore node_modules/yargs/locales/cs.json
DEBUG ignore node_modules/yargs/locales/de.json
DEBUG ignore node_modules/yargs/locales/en.json
DEBUG ignore node_modules/yargs/locales/es.json
DEBUG ignore node_modules/yargs/locales/fi.json
DEBUG ignore node_modules/yargs/locales/fr.json
DEBUG ignore node_modules/yargs/locales/hi.json
DEBUG ignore node_modules/yargs/locales/hu.json
DEBUG ignore node_modules/yargs/locales/id.json
DEBUG ignore node_modules/yargs/locales/it.json
DEBUG ignore node_modules/yargs/locales/ja.json
DEBUG ignore node_modules/yargs/locales/ko.json
DEBUG ignore node_modules/yargs/locales/nb.json
DEBUG ignore node_modules/yargs/locales/nl.json
DEBUG ignore node_modules/yargs/locales/nn.json
DEBUG ignore node_modules/yargs/locales/pirate.json
DEBUG ignore node_modules/yargs/locales/pl.json
DEBUG ignore node_modules/yargs/locales/pt.json
DEBUG ignore node_modules/yargs/locales/pt_BR.json
DEBUG ignore node_modules/yargs/locales/ru.json
DEBUG ignore node_modules/yargs/locales/th.json
DEBUG ignore node_modules/yargs/locales/tr.json
DEBUG ignore node_modules/yargs/locales/uk_UA.json
DEBUG ignore node_modules/yargs/locales/uz.json
DEBUG ignore node_modules/yargs/locales/zh_CN.json
DEBUG ignore node_modules/yargs/locales/zh_TW.json
DEBUG ignore node_modules/yargs/node_modules/yargs-parser/package.json
DEBUG ignore node_modules/yargs/package.json
DEBUG ignore node_modules/yargs-parser/package.json
DEBUG ignore package.json
                                                                                                100%
[2024-05-10 12:54:37] INFO  WEBrick 1.7.0
[2024-05-10 12:54:37] INFO  ruby 3.1.3 (2022-11-24) [x86_64-linux]
[2024-05-10 12:54:37] INFO  WEBrick::HTTPServer#start: pid=51296 port=9292

Reproduction steps

  1. Have a store using currency different to where you work (for example GB and EUR)
  2. Connect to that store using Shopify CLI
  3. View your local currency for the store instead of the one that is set in the Shopify, when using local link for development

Operating System

Ubuntu 20.04

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

3.60.0

Shell

GNOME Terminal

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

v18.20.1

What language and version are you using in your application?

No response

mgmanzella commented 5 months ago

hi @franek8080 thanks for reporting this issue 🙏 this doesn't appear to be an issue related to the CLI. themes don't dictate what currency is shown, it seems this is controlled in "markets" settings. find more information about that here: https://help.shopify.com/en/manual/markets/pricing/set-up-local-currencies

franek8080 commented 5 months ago

This was the first place I checked. And if that was the case there would be identical currency for local link and for online link for theme development. However local link served showed PLNs while online link served GBPs. So there was difference in served currency depending on local or shopify URL for theme development.

khdigital94 commented 2 months ago

No fix for that?