You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
In which of these areas are you experiencing a problem?
Theme
Expected behavior
The AJAX API endpoints cart/add.js and cart/update.js should the dev theme preview available at http://127.0.0.1:9292
Actual behavior
The AJAX API endpoints cart/add.js and cart/update.js are returning 404s when using the dev theme preview at http://127.0.0.1:9292
CLI version 3.66.1 seems to work, but 3.67.1 and 3.68.1 do not.
Using the --legacy flag does not fix the issue.
Same request, same theme, but using the myshopify.com URL:
Verbose output
Can be shared via DM
Reproduction steps
Run npm exec --package @shopify/[email protected] -- shopify theme dev --live-reload full-page (or try v3.67.1). Note that we are currently using npm exec because we rely on Shopkeeper, which was broken by CLI versions > 3.58, but the theme dev command is broken in that version. See Move theme utilities to cli-kit #4469
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
The AJAX API endpoints
cart/add.js
andcart/update.js
should the dev theme preview available at http://127.0.0.1:9292Actual behavior
The AJAX API endpoints
cart/add.js
andcart/update.js
are returning 404s when using the dev theme preview at http://127.0.0.1:9292CLI version 3.66.1 seems to work, but 3.67.1 and 3.68.1 do not.
Using the
--legacy
flag does not fix the issue.Request:
http://127.0.0.1:9292 Response:
Same request, same theme, but using the myshopify.com URL:
Verbose output
Can be shared via DM
Reproduction steps
npm exec --package @shopify/[email protected] -- shopify theme dev --live-reload full-page
(or try v3.67.1). Note that we are currently usingnpm exec
because we rely on Shopkeeper, which was broken by CLI versions > 3.58, but thetheme dev
command is broken in that version. See Move theme utilities to cli-kit #4469Operating System
Mac OS Ventura
Shopify CLI version (check your project's
package.json
if you're not sure)3.68.1
Shell
No response
Node version (run
node -v
if you're not sure)v22.3.0
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: