Public folder is not generated when running yarn build - Sage 10

I’ve followed the Sage documentation and ran “yarn” followed by “yarn build” however, there is no “public” folder generated in the sage theme.

I have changed the “public” folder path by setting the following:
app.setPublicPath(‘/app/themes/agency-portfolio/public/’);

“agency-portfolio” is the name of my theme.

I’ve tried following the Sage documetation several times and still no result. I’m also using Trellis and Bedrock. Not sure if that has anything to do with my problem.

Any help will be greatly appreciated.

After looking further into what I was doing, I realized I wasn’t running the yarn commands from WSL. All worked fine after doing so.

1 Like