[Solved] Hugo Error: Unable to find theme Directory: /opt/build/repo/site/themes/themename

EDIT:
my mistake, wrong folder. Solved! :sweat_smile:

Trying to change theme in one-click-hugo cms but getting error message

Error: Unable to find theme Directory: /opt/build/repo/site/themes/themename

tried several themes (strata, hucore, lanyon) but none works.

Running command Hugo server locally Works.

Also tried changing this:

Build command: yarn build
Publish directory:  dist

to:

Build command: hugo
Publish directory: public

but netlify seems to override it.
From the Deploy log:

Different publish path detected, going to use the one specified in the toml file: 'dist' versus 'public' in the site
Different build command detected, going to use the one specified in the toml file: 'yarn build' versus 'hugo' in the site

also tried adding themesdir = "themes" to config.toml but that didn’t work…