flashman's avatar

What to do?

Hello to all!

The problem is my css is not compiling, and is always 0 bytes.

I have Laravel 5.5 instalation, I am using Windows 10 64-bit, and Laragon. Several times I have cleaned node_modules folder and installed again. I updated Laravel Mix to version 2, my Node version is 8.9.1.

Whan I run npm run dev (or any other command, development, production) the output is:

http://prntscr.com/i8im6y

My webpack:

http://prntscr.com/i8imfg

Only javascript is compiling, but none of css. This example uses only Sass

This is my package.json file:

http://prntscr.com/i8in64

What to do?

Thanks

0 likes
3 replies
ahuggins's avatar

Do you have the resources/assets/sass/app.scss file in your repo? If that doesn't exist, then there is nothing for Webpack to compile

flashman's avatar

Yes I do.

Also when I try to combine mutiple css files (using styles() method ), output file is also 0 bytes.

ejdelmonico's avatar

@flashman If you are compiling multiple css files, your config does does show this. Are you importing those files into app.scss? Please show your app.scss file.

Please or to participate in this conversation.