We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How to select demo store using CLI commands while creating app

How to select demo store using CLI commands while creating app

firstideasoft
Shopify Partner
9 0 2

Am working on app creation for the checkout extensibility,

My client have 2 partner account , one is production and another one is for development purpose, Now I have created a development store with the development account.


Am using CLI to create a app with extension , there is a prompt  asking me to select the organization to create the app, am selecting my development account ,All is going good,

But while am using the " npm run dev" am getting the error as

Error: Could not find "storename.myshopify.com" in the Organization "organization name" as a valid store.


because am not getting any prompt to select my development store.

How to select my development store.

 

Am following these two examples.

 

https://shopify.dev/docs/apps/checkout/validation/client-side-validation?framework=remix&extension=j...

https://workshops.shopify.dev/workshops/getting-started-apps#0

 

But my development store not selected,

Replies 2 (2)

maxdanko
Shopify Partner
29 3 7

you can try running with the command npm run dev --reset

firstideasoft
Shopify Partner
9 0 2

already tried this, same error.