Giter VIP home page Giter VIP logo

Comments (9)

BlackFenix2 avatar BlackFenix2 commented on May 25, 2024 12

I know why this is happening, the extension is trying to load the postcss language but fails when you don't have the PostCSS Language Server https://marketplace.visualstudio.com/items?itemName=csstools.postcss

i installed the language server on my vscode instance and the error disappears. might be a quick fix for now.

from vscode-stylelint.

jasonsbarr avatar jasonsbarr commented on May 25, 2024 1

I've disabled the plugin because it was so annoying.

from vscode-stylelint.

ckybonist avatar ckybonist commented on May 25, 2024

I found the message at Developer: Show Running Extensions.

from vscode-stylelint.

xddz9 avatar xddz9 commented on May 25, 2024

Same here. I'm not using PostCSS at all, I'm using SASS instead. Stylelint seems to be working fine but I wonder what's causing this error.

from vscode-stylelint.

ryansully avatar ryansully commented on May 25, 2024

For me this notification pops up every time I start VS Code.

from vscode-stylelint.

jasonsbarr avatar jasonsbarr commented on May 25, 2024

@ryansully for me too

from vscode-stylelint.

BlackFenix2 avatar BlackFenix2 commented on May 25, 2024

How do we go about closing this issue? do we need to add an try/catch statement specifically for PostCSS to prevent throwing errors if the client doesnt want to install the PostCSS extension on vscode?

i use Linaria, CSS in JS for life 🤟
https://github.com/callstack/linaria

from vscode-stylelint.

Stanzilla avatar Stanzilla commented on May 25, 2024

Well the extension should not load the PostCSS part if the LSP is not installed or ask if you want to install it.

from vscode-stylelint.

mark-monteiro avatar mark-monteiro commented on May 25, 2024

I have the latest version of the extension installed (v0.84.0) and still get this error message each time VS Code starts up.

[stylelint.vscode-stylelint]: Unknown language in contributes.vscode-stylelint.language. Provided value: postcss

EDIT: Sorry, just realized this hasn't been released yet!

from vscode-stylelint.

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.