400 error when activating new theme in dev environment

I’m attempting to set up a local dev environment (macOS), managing the entire Ghost install with Git (I’ll need to do development beyond just theme changes). The install works correctly on my remote server, however when I trry to activate a theme I get the following error:

" Cannot read [absolute path]/content/themes/Edition-main/default it does not reside in content/themes/Edition-main"

I’ve tried installing via the admin panel, through .zip upload, etc as well as checking the file permissions. I’m not sure why it is looking for a directory titled "default, when that dir does not exist in the theme, either locallyr or on the functioning server-based site.

Any ideas? REally appreciate the help.

My guess is you have a symbolic link somewhere in your zip :thinking:

while I definitely have sym links elswhere in the repo ( have them for the solo and casper themes) iI do not see any for any of the themes generating the 404 errorr. the solo and casper themes just fail to even load.

Can you confirm that the zip file doesn’t have symlinks?

Confirmed. no Sym Links

I searched for the error message in the Ghost public code base, and it looks like it’s coming from the template engine (source).

In your partials references, do you have absolute paths?

e: also, is there a theme (sub)key in your config.json?

in my config.josn there is no subkeuy for theme, but i have specified my content path as an absolute oath.

The partials files look to contain relative paths (this is the standard solo theme that I’m downloading via the deisng gallery).

:confused: That’s all I’ve got