Magento 2.4.6 CSS Not Loading with GULP LIVE

Hi Folks,

I’ve setup a Docker for a Magento 2.4.6 staging site locally and after compiling the CSS styles aren’t loading.

I can see them in the browser source but the src/pub/static is empty!

I ran GULP LIVE and everything seems fine apart from the styles.

Anyone have any ideas?

Thanks
Warren

I’m not sure what to say yet. Based on what you shared we know only that the style don’t work which could be a gulp, css issue. We know nothing about what src/pub/static is. Why you expect there something to be and why you think it is a Docker issue.

If you share how you created the container and how you expect the files to be in the container, someone can probably help.

If you share docker compose files or docker commands, please, use code blocks. More information in our formatting guide: How to format your forum posts

1 Like

Hi Rimelek,

Thanks for getting back to me!

Yes it seems to be an issue with 1 empty css file compiled in LESS so I guess its not a Docker issue.