Laravel mix does not work with tailwind css #1835
-
Hello, error in ./resources/sass/app.scss Syntax Error: ModuleBuildError: Module build failed (from ./node_modules/postcss-loader/src/index.js): (4:3) 2 | @tailwind components;
error in ./resources/sass/app.scss Syntax Error: SyntaxError (4:3) 2 | @tailwind components;
@ ./resources/sass/app.scss 2:14-196
/js/app.js 1.4 MiB /js/app [emitted] /js/app ERROR in ./resources/sass/app.scss (4:3) 2 | @tailwind components;
@ ./resources/sass/app.scss ERROR in ./resources/sass/app.scss (./node_modules/css-loader??ref--5-2!./node_modules/postcss-loader/src??postcss0!./node_modules/sass-loader/dist/cjs.js??ref--5-4!./resources/sass/app.scss) (4:3) 2 | @tailwind components;
@ ./resources/sass/app.scss 2:14-196 npm ERR! A complete log of this run can be found in: npm ERR! A complete log of this run can be found in: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
There is something wrong with your
This error was mentioned here too #1599 (comment) |
Beta Was this translation helpful? Give feedback.
-
This is my public Github repo : |
Beta Was this translation helpful? Give feedback.
-
It seems you might have an error with your config file reference your background colours. backgroundColor rather than backgroundColors
|
Beta Was this translation helpful? Give feedback.
It seems you might have an error with your config file reference your background colours.
backgroundColor rather than backgroundColors