Closed muchisx closed 2 months ago
Hi guys, reporting the same issue here ✋🏻
I still have the same issue. I tried removing everything shopify-cli
related on my computer and reinstalled it. But no luck.
Any update on this?
If this helps, I ran the command with a verbose flag and got this:
2024-08-08T01:45:01.943Z: Getting development theme...
2024-08-08T01:45:02.529Z: Request to https://store.myshopify.com/admin/api/unstable/themes/123123123.json?fields=id%2Cname%2Crole%2Cprocessing completed in 583 ms
With response headers:
- content-type: application/json; charset=utf-8
- x-request-id: xxx
╭─ 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://store.myshopify.com/? │
│ preview_theme_id=123123123) │
│ │
╰────────────────────────────────────────────────────╯
[1] http://127.0.0.1:9292
[2] https://store.myshopify.com/admin/th
emes/123123123/editor
[3] https://store.myshopify.com/?preview
_theme_id=123123123
2024-08-08T01:45:02.559Z:
Running system process:
· Command: ruby -v
· Working directory: /Users/jdevmanzo/Repos/dtc-pages/theme
2024-08-08T01:45:02.611Z:
Running system process:
· Command: bundle -v
· Working directory: /Users/jdevmanzo/Repos/dtc-pages/theme
2024-08-08T01:45:02.788Z: Reading the content of file at /Users/jdevmanzo/.nvm/versions/node/v22.5.1/lib/node_modules/@shopify/cli/dist/assets/cli-ruby/Gemfile...
2024-08-08T01:45:02.789Z:
Running system process:
· Command: bundle install
· Working directory: /Users/jdevmanzo/.nvm/versions/node/v22.5.1/lib/node_modules/@shopify/cli/dist/assets/cli-ruby
2024-08-08T01:45:03.131Z:
Running system process:
· Command: bundle exec ruby /Users/jdevmanzo/.nvm/versions/node/v22.5.1/lib/node_modules/@shopify/cli/dist/assets/cli-ruby/bin/shopify theme serve /Users/jdevmanzo/Repos/dtc-pages/laundry-sauce --live-reload hot-reload --theme 135483326601 --overwrite-json undefined
· Working directory: /Users/jdevmanzo/Repos/dtc-pages/theme
DEBUG GET https://store.myshopify.com/admin/api/unstable/themes.json with request_id: xxxxxx
* Syncing theme #123123123 on store.myshopify.com
@jmanzo @muchisx hey folks 👋 thanks for reporting, we had a platform issue yesterday that was causing certain APIs related to themes to be slow/delayed and maybe even timeout. we resolved the root cause but i believe it might have impacted the CLI theme dev/theme push commands
can you re run the command and let me know if it's still an issue? if it is share verbose logs (and please keep the request_ids in there 😄 )
thanks in advance 🙏
Hi @mgmanzella, thanks for the update. I started working as fast as usual yesterday 👍🏻
The CLI is already working smoothly.
amazing glad to hear
@mgmanzella I confirm it's been back to normal for me on Windows.
I had switched to WSL and it was working well there, may I ask why was this a problem only affecting my windows environment, so I can be more helpful next time creating an issue?
@muchisx no it was affecting all CLI environments since it was an issue at the API level not with the CLI client, thanks for checking tho 🙏
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
To work with fast syncs of the theme with the development theme, navigations and fast hmr.
Actual behavior
file syncs, navigations on localhost and hmr are extreamly slow (2-8min for changes) Recording 2024-08-06 205828-1.webm
https://github.com/user-attachments/assets/44e0abf8-d99f-45b8-adfe-13fbe1f48a2e
Related forum posts: https://community.shopify.com/c/shopify-cli-and-tools/shopify-cli-theme-dev-preview-extremely-slow/m-p/2657331#M4577
Verbose output
Reproduction steps
bundler
)shopify theme dev
on a test themeOperating System
Windows 11 23H2 (OS Build 22631.3958)
Shopify CLI version (check your project's
package.json
if you're not sure)3.64.1
Shell
powershell
Node version (run
node -v
if you're not sure)20.11
What language and version are you using in your application?
Ruby 3.0.7