Open zhou-tao opened 2 years ago
I have met the same problem. Is there a corresponding solution
Same error message here. Stylelint seems to detect errors as the error message is only popping up when there is a rule violation, but instead of showing the violated rule everytime it's this error message popping up.
Hey, I got the same error message, and I saw the same issue in stackflow, in which most people said they dont know how to reproduce the problem and it suddenly gone, and I followed some version they post, like postcss@8.4.4,but it didn't work,so I thought that maybe it's just the cache, and I did try to reboot my vscode before, but this time I thought maybe that's not enough, so I closed the project folder and reopen it,and it worked for me, now my stylelint works normally. I hope this is useful to u guys~
I have fixed the same problem by flowing this resolving. [https://lightrun.com/answers/stylelint-stylelint-fix-typeerror-optsnoderangeby-is-not-a-function-with-postcss-844]
How did you encounter this bug?
Trigger this warning when the enter key is pressed in a less file
Code Snippet
Stylelint Configuration
Extension Configuration
Actual Behaviour
Expected Behaviour
Hope that resolves the warning, thanks!
Logs
No response
Stylelint Version
v14.3.0
vscode-stylelint Version
v1.2.2
Node.js Version
v16.13.2
Operating System
windows 10
Windows Subsystem for Linux
No response
Code of Conduct