-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
TypeError: Cannot read property 'stringify' of undefined (8.3.0 -> 8.4.16) #1767
Comments
Sorry, you need to open this issue in Stylelint. If you will know what to change in PostCSS core open a new issue. |
did you open that issue in https://github.com/stylelint/stylelint? |
Unfortunately not for both cases. I think it's related to latest changes in postcss to lazy load, but everyone needs a clean simple reproduction without external libraries |
I have this same issue. Unfortunately I don't have very simple piece of code to reproduce this issue, but got the same stack trace as OP had. This happened when updated postcss from |
I faced the same problem. Fortunately, the repository is publicly available, so I will post the URL of the pull request by the Renovate bot that caused the problem. I hope this helps.
|
@ai Can you please reiterate this issue? Do you still think it should be fixed in stylelint? |
we have solved it by adding
in |
Unfortunately that's only workaround and also requires Node16 |
I will re-open this issue only if we will have explicit understandard what do we need to change in the core. Before it, better to discuss it in Stylelint issue. |
@ai Here is my findings. Which does not happen with new version Lines 419 to 429 in bc5b964
While was happening with the old one Lines 415 to 423 in b7d1836
As a result stringifier goes into the https://github.com/gucong3000/postcss-syntax/blob/master/stringify.js#L8 |
Seems like We can’t just remove Here are my suggestions:
|
I faced an issue with upgrading my Nx codebase (React+StyledComponents) to the latrst version. The change I noticed is that version goes up 8.3.0 -> 8.4.16
I do not have working small reproduction, if you think you will need it can you explain what sample will satisfy your needs (complexity)
My assumption here is that now this module cannot handle empty files or files without styled components
The text was updated successfully, but these errors were encountered: