New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error: ERROR in child compilations [laravel] #3196
Comments
As it is said above "1 ERROR in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)" To see details of the warning/error, you want to add to your webpack config:
Something like this: https://github.com/niiknow/vue-wp-plugin-starter/blob/main/webpack.mix.js#L33 |
I get a very similar issue with a recent Now it won't compile
|
@abr4xas show issue in his css file @gregorytoscano Your error actually show more details. Like it said, look in your sass file line 44.
But I understand that the error doesn't mean it's your css or sass issue. It might be some other package bug causing compilation issue. |
Using Statamic I ran into the same issue and could get it solved by adding a line of code: My webpack.mix.js got the extra line (third line with nesting in it.
|
Add |
There was a reason we turned stats off but I think this is annoying enough of a problem that it should be a default — I won't have time today I don't think to push out a release with this but I'll try to later in the week (unless someone wants to PR it) |
I agree with the original reason to keep stats off because it's just too much info. This can cause you to miss critical/important messages. You can always turn it on by manually setting that webpackConfig. |
Ideally we could surface it when there are warnings and errors but not otherwise. Because yeah it’s definitely too much info normally. |
|
I have looked in both files given from the warning... ERROR MESSAGE:
MY
MY
MY
Please share with me where is the issue(s)? |
I edited every file where Using IDE: VSCode And the I am unsure how to solve this? |
This is likely because you're using the |
Thanks. I will check this immediately and reply with result |
Didnt do what I hoped it would? |
When i removed the |
OK -->> I thought to actually remove the package so..
Then re-install
THANKS for your direction! 👌 |
Naturally it would depend on your build.. a recent installation I did I came across this same error again and this is how I solved it:
|
In my case the bug was in resources/css/app.css the code was with scss instead of css, i removed the children classes and it worked for me Ex |
npm list --depth=0
)node -v
): v17.3.0npm -v
): 8.3.0Description:
Cant compile
Steps To Reproduce:
In a laravel install:
yarn add --dev tailwindcss postcss autoprefixer @tailwindcss/typography
Error:
The text was updated successfully, but these errors were encountered: