Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: Inalid target

Inalid target

MohammadAL
Shopify Partner
21 0 1

Hello, I am getting invalid target when i try to run my theme

MohammadAL_0-1720692384165.png

 

Replies 6 (6)

lynth
Shopify Partner
140 6 16

Hi, try to use shopify auth logout command, and then log in again with the correct account. It should help. 

If my tips are useful, just mark it as the solution. Cheers!
Feeling grateful? Buy me a coffee!
MohammadAL
Shopify Partner
21 0 1

tried it, still having the same issue, i even tried on a different device, and even a different account, same issue

lynth
Shopify Partner
140 6 16

Try to type your store name without "com". Just shopify theme dev --s advaknead 
Your account should have permits. You can also try npm install -g @Shopify/cli and login again. And lastly - restart your system 😄 
It should work. 


If my tips are useful, just mark it as the solution. Cheers!
Feeling grateful? Buy me a coffee!
MohammadAL
Shopify Partner
21 0 1

this didn't wwork, tried to use the store.myshopify.com, and the loggin worked, but got a whole different scary error, here is a video link to the error

https://files.catbox.moe/n2foys.webm

lynth
Shopify Partner
140 6 16

Yeah, you should try to reinstall your CLI or update gems. 

If my tips are useful, just mark it as the solution. Cheers!
Feeling grateful? Buy me a coffee!
MohammadAL
Shopify Partner
21 0 1

tried, still the same big error