Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
It is very very very annoyed when meet the auth problem in Shopify CLI.
I have the store account and partner account with the same email (Both logged in by Google). I create a new theme for {storename} and I can edit the theme in the website.
However, when I use the shopify CLI in my computer, input
shopify theme dev --store {storename}
it outputs success firstly but finally it says error: I am not authored.
D:\Desktop\shopify\new>shopify theme dev --store {storename} To run this command, log in to Shopify. User verification code: NDR--fakePV 👉 Press any key to open the login page on your browser Opened link to start the auth process: https://a--------Buser_code%5D=NfakeVPV ✔ Logged in. ╭─ info ───────────────────────────────────────────────────────────────────────╮ │ │ │ You're using the new version of `shopify theme dev`. │ │ │ │ Run `shopify theme dev --legacy` to switch back to the previous version. │ │ │ ╰──────────────────────────────────────────────────────────────────────────────╯ ╭─ 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://{storename}.myshopify.com/? │ │ preview_theme_id=133---61) │ │ │ │ │ ╰──────────────────────────────────────────────────────────────────────────────╯ [1] http://127.0.0.1:9292 [2] https://{storename}.myshopify.com/admin/themes/133---561/editor [3] https://{storename}.myshopify.com/?preview_theme_id=13310----0863561 Error: You are not authorized to edit themes on "{storename}.myshopify.com". at handleForbiddenError (file:///C:/Users/XU/AppData/Roaming/npm/node_modules/@shopify/cli/dist/index.js:145260:89) at request (file:///C:/Users/XU/AppData/Roaming/npm/node_modules/@shopify/cli/dist/index.js:145245:14) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async deleteThemeAsset (file:///C:/Users/XU/AppData/Roaming/npm/node_modules/@shopify/cli/dist/index.js:145210:13) at async Promise.all (index 1)
Why? please
I've experienced this as well
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024