-
Notifications
You must be signed in to change notification settings - Fork 12
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 'start' of undefined for Sass for insude Vue #120
Comments
Any ETA, cause it seems to be for 1.5 years already. Maybe we can ship the package that just skips fors loops? Simple check |
Released in |
@AleshaOleg still doesn't work. The example above provides this error. Please mind the extension is 'vue' not 'sass'
|
Probably an extension might be an issue, unfortunately. Hello, @gucong3000. Can you please help us to figure out, what's wrong here? And how we can skip unsupported rules? Thanks! |
@alpaca-tc did you already try new version somewhere? Is it working for you? |
@AleshaOleg seems like |
Nah, wrong still crases in some cases mind the branch |
Having the same issue: |
Hi guys, this issue makes stylelint unusable with SASS. Have you had the chance to make some progress fixing it? I'm happy to help, write a PR or anything but I have to idea how to fix this! |
I'm getting the same error when applying a media query in Vuetify with map-get like this <style lang="sass">
@import '~vuetify/src/styles/styles.sass'
@media #{map-get($display-breakpoints, 'md-and-down')}
.custom-class
display: none
</style> I don't know what's happening but I suspect that internally |
There is a similar issue with a simple <style lang="sass">
.page
&-box
width: 456px
@media screen and (max-width: 123px)
&-box
width: 123px
<style> |
I just ran into the same problem now and then realized that I already used a workaround months ago: =fix-postcss-bug
@media screen and (max-width: 1000px)
.about
border: solid 100px red
+fix-postcss-bug Not sure where I found that though or why it works and what this syntax really is but it works. |
The sass loops inside of VUE files cause linter to crash
not related to any rule
Any rule that has
@for
loop in sassAny rule, is not rule specific. Put something to tigger the linter.
11.1.1
./node_modules/.bin/stylelint Sass.vue
Yes, it's related to SASS loops
stylelint would work instead of failing with an error
An error occured
To reproduce the issue:
Also here's the demo
The text was updated successfully, but these errors were encountered: