Solved

shopify cli unable to pull theme on mac os

stephlbl
Visitor
2 0 0

Hi. I am new to using shopify cli and shopify dev. I have setup my macos with the relevant pre-reqs

Homebrew / ruby / git.

I am getting the following error when attempting to pull a theme using shopify theme pull

I have connected to the main store. This is not a development store.

Operation not permitted - ./Library/Accounts (Errno::EPERM)

 

I have logged in successfully. I can see the following when using shopify whoami

logged into store as staff (no partner organizations available for this login)

 

rbenv local and global version is 2.75

if i enter ruby --version in terminal i see this version being listed - 

ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]

 

any information would be greatly appreciated.

Accepted Solution (1)

Alan
Shopify Staff
129 15 24

This is an accepted solution.

Hey @stephlbl - thanks for getting in touch. I can't say for sure what's causing this specific issue, but one reason that can often cause the theme pull command to return an error is that you're trying to pull the theme into your root directory.

 

You'll want to create a specific directory/folder for the theme first and then run the command while inside that directory using  your Terminal while logged into Shopify CLI. If this doesn't work,  I'd recommend reaching out to our Partner Support team as they generally are able to assist with CLI related questions more readily than our API Support team. 

 

Hope this helps provide some next steps for you at least - thanks again for getting in touch and all the best with your Shopify dev journey.

Alan | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 2 (2)

Alan
Shopify Staff
129 15 24

This is an accepted solution.

Hey @stephlbl - thanks for getting in touch. I can't say for sure what's causing this specific issue, but one reason that can often cause the theme pull command to return an error is that you're trying to pull the theme into your root directory.

 

You'll want to create a specific directory/folder for the theme first and then run the command while inside that directory using  your Terminal while logged into Shopify CLI. If this doesn't work,  I'd recommend reaching out to our Partner Support team as they generally are able to assist with CLI related questions more readily than our API Support team. 

 

Hope this helps provide some next steps for you at least - thanks again for getting in touch and all the best with your Shopify dev journey.

Alan | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

stephlbl
Visitor
2 0 0

Hi Alan,

Thank you so much. This worked. Creating the folder elsewhere resolved the error. Much appreciated.