Hey guys! Haven’t been on here much lately. Good to be back.
I spun up a fresh install today. For not having done so for a few months, it went insanely smooth.
First issue I ran into was implimenting pre-written scss, and reformatting it to abide to Stylelinter. None of the “–fix” commands were working for me so I just did it manually.
I got it all cleaned up, but now I was missing main.scss entirely. I ran yarn, yarn clean, yarn build, yarn run build– and on any build task I get:
I’m assuming that’s failing on Stylelinter, but running yarn run lint:styles tells me it’s all good. So I’m curious if anyone has any hints. I’ll report back if I find the issue meanwhile. Thanks!
As @MWDelaney mentioned here it seems that, for some reason, errors are being hidden deliberately. If you change errors and errorDetails to true you might find what is preventing webpack to run correctly.
The main issue was that it was first failing on a boostrap media query (@include media-breakpoint-only(md) { ... })I was including before @import "./autoload/**/*"; in main.scss.
The next issue I was able to resolve was fixing a few background-image: url(../images.png); from my pre-written code.
None of these were showing up with yarn run lint:styles. So I set these lines (error and errorDetails) to true in webpack.config.js and the errors showed up in build.