Themekit: Cannot connect to my private app using ThemKit CLI

Created on 10 Dec 2019  ·  4Comments  ·  Source: Shopify/themekit

Describe the bug
I have followed the instructions, installed the latest brew and Xcode CLI in order to install Themekit, I have updated ThemeKit to the latest version all in Terminal on Mac OSX Catalina 10.15

I try the command

theme get --list -p=[your-password] -s=[you-store.myshopify.com]
I am expecting to get a list of the themes I can download and start to edit in VSCode

But, I get the following:-

zsh: no matches found: -p[your-password]
I get the same error when I try to create a new theme

Am following these instructions

https://shopify.github.io/themekit/

I have tried to get the same results

--p
-password
--password

Most helpful comment

I just ran it and it ran fine, then I added the square brackets and got the same error as you. The square brackets are just meant to indicate the space that you fill in and should not be included when you run the command.

All 4 comments

Hi @OliverHuntsman

Just to confirm, when you created the private app from the store admin, you selected that the private app should have read and write access to theme assets to Theme templates and theme assets, correct?

You could also manually get the theme ID by navigating to the Theme Editor, by clicking on “Edit HTML/CSS”, and copy the theme ID number from the URL — it will be last several digits after ‘mystore.myshopify.com/admin/themes/’.

Then you could run:

theme get --password=[your-api-password] --store=[your-store.myshopify.com] --themeid=[your-theme-id]

There are more detailed installation instructions for Theme Kit in this blog post.

Let me know if you're still seeing issues after trying the above.

I just ran it and it ran fine, then I added the square brackets and got the same error as you. The square brackets are just meant to indicate the space that you fill in and should not be included when you run the command.

Ahhh, the square brackets - thank you!

The same happened to me, it was the square brackets, I took them out and it worked perfectly.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DanPete picture DanPete  ·  4Comments

justinmetros picture justinmetros  ·  9Comments

tanema picture tanema  ·  11Comments

ingueferroque picture ingueferroque  ·  6Comments

larsenwork picture larsenwork  ·  7Comments