Liquid, JavaScript, themes, sales channels
I am just learning how the Shopify CLI works and am just following the docs right now. Whenever I run `shopify theme dev --store {my-store}`, I am able to log in successfully but then get an error saying `invalid_target`.
I can't find any info on this error in the documentation, and have tried the login process on both Firefox and Chrome browsers. Has anyone been able to resolve this issue successfully?
HI @bcrave, Can you please share a screenshot or something so that I can take a better look at the issue.
I've had the same problem since yesterday.
I upgraded the Shopify CLI version from 3.22.1 to 3.23.0 and downgraded to the stable Node version, but it still did not work.
https://www.youtube.com/watch?v=YM0XOa2LZSs
Maybe this video can help you in any way
Thanks for the video but the error is occurring after this screen:
Yep. I'm noticing the same problem....I have particularly noticed that people who are using the
shopify theme pull --store {your-store-name.myshopify.com}.
I finally got it to work. I was using the store name instead of store URL. This is what worked for me:
shopify theme dev --store=https://my_store.myshopify.com
The docs are confusing if you're a designer and the --store flag seems to be written different ways depending on the page with respect to the store URL. Shopify needs to do better at catering to us lowly designers!
To fix, remove the {} from the command like this...
shopify theme pull --store https://yourstore.myshopify.com
NOT this (as written in some of the docs)...
shopify theme pull --store {yourstore.myshopify.com}
User | RANK |
---|---|
21 | |
21 | |
9 | |
7 | |
6 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023