Roots Discourse

[SOLVED] Broken themes in Bedrock - 404 errors in dev console

Hi all,

Bedrock seems to break my themes.

I’ve experienced the same issue in at least 2 themes. When I install them directly in Local by Flywheel they work fine. When I install them via Bedrock I get errors and the themes do not appear correctly.

I’ve started a new project from scratch to verify this. With Bedrock some gui elements are missing and I see errors like the following in the Dev console:

selectWoo.css:1 Failed to load resource: the server responded with a status of 404 ()

kirki.css:1 Failed to load resource: the server responded with a status of 404 ()

styles.css:1 Failed to load resource: the server responded with a status of 404 ()
...
customize.php?return=%2Fwp%2Fwp-admin%2Fadmin.php%3Fpage%3Dmy_theme:3186 Uncaught ReferenceError: WebFont is not defined
    at customize.php?return=%2Fwp%2Fwp-admin%2Fadmin.php%3Fpage%3Dmy_theme:3186

In Local by Flywheel the theme appears correctly, all gui elements are there and I see no issues in the dev console.

Any idea what is going on?

EDIT:

I see now that apparently WP is looking for .css and .js files in the wrong place. E.g.
https://bedrock.local/app/themes/plugins/kirki/assets/vendor/selectWoo/css/

I think it should be:

https://bedrock.local/app/plugins/kirki/assets/vendor/selectWoo/css/selectWoo.css

instead.

Any idea, how can I fix it?

EDIT 2:

Never mind. It was my fault.
My themes were inside an extra folder…