-
Notifications
You must be signed in to change notification settings - Fork 13
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
Help with css-loader
error
#7
Comments
Can your provide full example of PortolioSection.scss? |
@t47io can't reproduce, please create minimum reproducible test repo, thanks! |
Closing due to inactivity. Please test with latest version and feel free to reopen if still regressions. Thanks! |
Hi. I'm experiencing the very same issue in one of my private applications. Stack trace:
With some debugging here's the value of the
DependenciesReproducible running the latest dependencies:
SummaryI found out the issue goes away when rolling back to Could you please double check if there were any breaking changes introduced in I'm okay with issuing a pull request that accounts for this behavior and - if(rule.parent.type === 'atrule' ...
+ if(rule.parent && rule.parent.type === 'atrule' ...
|
@t47io can you open new issue with reproducible test repo, thanks! |
When checked which version of
I can patch the dependency locally to see if it eliminates the issue. OutcomePatching |
Thank you for quick cooperation, @evilebottnawi. Could you please release the next patch version? In case you use semantic release, please ignore this :) Resolving the package to the latest master fixes the issue 🎉 |
Hi! Thanks for these. What was the next patch version we needed? |
Hi I saw this error when using webpack@4 and css-loader@2:
So I tracked to the line in
postcss-modules-local-by-default
and added aconsole.log(JSON.stringify(rule)
for debugging. Turned out thisrule
is lackingparent
somehow, but I don't have much clue why. The following dump of the problematicrule
object contains the raw CSS, hope that would help:Any hint is appreciated, thanks a lot in advance!!
The text was updated successfully, but these errors were encountered: