Error: No configuration provided for main.scss

Hi there! I’m new to sage and I’m working on a existing project on my local machine. When I run yarn build or yarn build:production I get this error. As a result it deletes the /dist folder and I get no style at all.

Hope you can help! Thanks

You are probably just missing the .stylelintrc file. You can copy it over from the sage github repo

So I got the .styleintrc file as all the others that I was missing from the sage github repo and now I get this error: Error: Failed because of a stylelint error.

You can run “yarn lint” to check for stylelint errors.