-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
Error: Didn't get a result from child compiler #126
Comments
@michaelize Can you create minimum reproducible test repo? |
@vasivas |
@vasivas also please provide in future minimum reproducible test repo, because i don't have many time look on your big configurations and other unnecessary stuff |
@evilebottnawi minimum? it is minimum.. if you get rid of webpack-hot-middleware webpack-hot-server-middleware and ssr, the mini-css-extract-plugin is likely to work. |
Diplicate #34. |
@evilebottnawi then open my issues in extract-text-webpack-plugin. It supports hmr! |
@vasivas webpack@4 doesn't support |
retuned back to |
Im getting this on production builds which dont use HMR. Turned out to be a result of having two loaders which matched the file |
@davidfurlong thanks, you saved me lot of time. |
@davidfurlong can you paste the config please?I am still a little confused, thanks. |
If HotModuleReplacementPlugin as option |
I didn't get what he meant. |
@ejoo for example:
EDIT: EDIT2: it is advisable to use
This snipped above is pseudocode I cant paste my example. |
@mercuriete I'm getting the same error from the above rule. Do you think what might be causing this issue? |
I @import a .scss file in a .less file also got the same error. Keep in mind use the same file type. |
@ejoo im sorry. I would start doing lot of simple rules and then merge toghether once I understand what is going on. Sorry for not being helpful for you. :( Edit: by the way check your chaining orden. |
I'm having the following error. I'm using vue-loader and @rails/webpacker
ERROR in ./node_modules/quill/dist/quill.snow.css (./node_modules/css-loader??ref--6-1!./node_modules/postcss-loader/lib??postcss!./node_modules/resolve-url-loader!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader??ref--13-1!./node_modules/postcss-loader/lib??ref--13-2!./node_modules/quill/dist/quill.snow.css)
Module build failed: Error: Didn't get a result from child compiler
css-loader config:
optimization config:
I am importing css files inside vue component:
vue-loader config:
Appreciate if someone can show me any hints where I did wrong.
Thanks!
The text was updated successfully, but these errors were encountered: