Working a project this afternoon and out of nowhere I get a blank page.
I check the console and see the following errors splattered all over.
When I run
yarn build it removes, then recreates the
dist folder and contains all the correct scripts and stylesheets. When I verify that, the paths to the stylesheets load in the browser.
When I run
yarn run start it removes then recreates the
dist folder but does not create the
style folder, however, it builds and compiles the
images folders fine.
Whether or visit the project directly thru the devUrl or through localhost, it produces the same result. A blank white page with the correct sources code but also with the same console errors.
I’ve renamed the theme folder, plugins folder and attempted to reload but the same issue resides. I’ve also attempted to remove all the plugins via composer as well and the same issue resides.
It sounds like it may be a Webpack issue and I’ve searched the discourse and other areas of the internet without finding any specific fixes for this.
Any assistance is very much appreciated.