Git Product home page Git Product logo

Comments (6)

glen-84 avatar glen-84 commented on August 20, 2024

Hi Tyler,

  1. Does sass-lint work from the command line?
  2. Does it also crash with sass-lint 1.8.2? (I haven't tried 1.9.0 yet)

do you know of a way I can get the stack trace from the language service

I'm not sure, no. I assume there was nothing in the output window for extensions?

from vscode-sass-lint.

tswaters avatar tswaters commented on August 20, 2024

Yes it works from command line. It also works from VSCode initially; I am able to see the warnings/errors show up up until I see the flash that it has crashed too often and then no warnings/errors show up.

The only thing to the console I get relates to the actual flash being shown.

It should be noted I have a watch task running that uses node-sass that compiles the files to a different directory... could it possibly relate to locking issues?

I'll give 1.8.2 a try when I get home from work today.

from vscode-sass-lint.

glen-84 avatar glen-84 commented on August 20, 2024

could it possibly relate to locking issues?

Seems unlikely. I also use node-sass (via gulp-sass). It's easy to test though (see if the problem persists while the watch task is not running).

from vscode-sass-lint.

glen-84 avatar glen-84 commented on August 20, 2024

@tswaters Any luck?

It's quite possibly caused by this issue.

from vscode-sass-lint.

tswaters avatar tswaters commented on August 20, 2024

Ah yes forgot about this, sorry about that.

I tried it under 1.8.2 and it doesn't seem to crash. However, when it was crashing it was a bit spotty and would typically happen "eventually". I've been playing with it for a few minutes now and I haven't seen a crash yet, but I'm not entirely convinced downgrading the version fixed it.

I looked through the changes between those two versions and the major thing that stands out was gonzales-pe getting updating.... the actual API however wasn't changed at all. sass-lint still swallows errors from gonzales-pe, and will still return the same fatal message if anything blows up.

I'm going to close this for now and will reopen if I can figure a way to recreate it reliably.

FWIW, I encountered this working on the sass files here: https://github.com/tswaters/klondike/tree/master/assets/sass -- specifically the funky nth-child bits at the bottom of _cards.scss

I was trying to fix up 'force-*-nesting' failures (this is toggled off in sass-lint.yml now) -- once I fixed those up, it went to 'nesting too deep' ... my guess would be while I was changing this, some combination of text no one expects was run through the linter and blew everything up.... 5 times.

from vscode-sass-lint.

glen-84 avatar glen-84 commented on August 20, 2024

Thanks for the update. 👍

from vscode-sass-lint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.