王育瑄
王育瑄

Reputation: 11

Sublime text 3 - Unable to load plugin clean-css please make sure that it is installed under or at the same level as less

The message always show up when I save my less file. I already installed plugin - Less and Less2Css, and also npm install less-plugin-clean-css, but it's still not working. How should I do now?....

Sample region image

Upvotes: 1

Views: 810

Answers (2)

alex
alex

Reputation: 7471

This is an issue pertaining to LESS' CSS minification modules. As a workaround, you can disable minification. To do this, open Sublime Text 3 and navigate to Preferences > Browse Packages > Less2css -> Settings - User. Use the following user configuration instead:

{
    "minify": false
}

Upvotes: 0

王育瑄
王育瑄

Reputation: 11

I just update Xcode app on my macOS Mojave (10.14) and install sublime text3 again. It's work for me.

Upvotes: 0

Related Questions