Themekit: error updating from 0.6.3 to 0.6.4

Created on 7 Feb 2017  Â·  5Comments  Â·  Source: Shopify/themekit

When I run theme update command in my local themekit directory it says "Updating from 0.6.3 to v0.6.4 and then says:

Error: Could not update and had to roll back. open /usr/local/bin/.theme.new: permission denied

I've checked my config.yml, created and used the password from a new private app, created a new instance of theme kit, cleaned up watchers, made sure I had superuser privileges in terminal, restarted terminal, still can't get it to update. Any thoughts would be appreciated!

on Mac OS X 10.12.2 (Sierra) machine

Most helpful comment

As a windows user, running PowerShell as administrator fixed permissions error for me.

All 5 comments

It seems like something is messed up with the permissions on your installation of themekit. I would say remove themekit (rm /usr/local/bin/theme) and to be safe remove the update file and any old themekit files (rm /usr/local/bin/.theme.new, rm -rf ~/.themekit) then reinstall themekit.

ah ok! just deleted and installed the master and it worked, thanks Tim!

As a windows user, running PowerShell as administrator fixed permissions error for me.

I know this issue is closed, but for those developers that has the issue specially on mac, just use sudo theme update that will solve the case. Thanks :)

As a windows user, running PowerShell as administrator fixed permissions error for me.

Thanks. Same for me ✅

Was this page helpful?
0 / 5 - 0 ratings

Related issues

larsenwork picture larsenwork  Â·  7Comments

NathanPJF picture NathanPJF  Â·  4Comments

hatsumatsu picture hatsumatsu  Â·  5Comments

amit0001 picture amit0001  Â·  3Comments

tbeseda picture tbeseda  Â·  3Comments