Error when trying to remove a CLI-managed app extension.

Error when trying to remove a CLI-managed app extension.

Wakil_eFoli
Shopify Partner
47 2 6

I've previously installed an cart_transform extension and deployed it to the store. Now I wanna remove it and I've taken the following steps to remove it:


        - Removed the cart-transformer folder inside the extensions folder of my local app.

        - Ran npm run deploy command and got the following error:
                  sh: 1: shopify: Permission denied

 

What should I do?


Here is an screenshot:

Wakil_eFoli_0-1698844883182.png

 

 

Thanks!

Reply 1 (1)

Liam
Community Manager
3106 339 870

Hi Wakil_eFoli,

 

It looks like your instance of terminal/ command prompt doesn't have permissions to run the shopify app deploy command. If you run `shopify version` which version does it display?

 

You could also try refreshing your cache by running `npm cache clean --force` and `npm install` before trying `npm run deploy` again.

 

Hope this helps,

Liam | Developer Advocate @ 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