lessc using Ruby instead of Javascript

北慕城南 提交于 2019-12-24 17:07:51

问题


I am using lessc to compile my css in a node application. LESS was installed via NPM.

Currently the output of

lessc --version

is

lessc 1.3.3 (LESS Compiler) [Ruby] 2.3.2

How do I get it to say

lessc 1.3.0 (LESS Compiler) [Javascript]

in order to compile my css?


回答1:


I've discovered the issue. I had the Rubygem version of less installed, and it was overriding the NPM installation of less. Uninstalling the gem allowed the NPM version of less to run when compiling less.



来源:https://stackoverflow.com/questions/17838107/lessc-using-ruby-instead-of-javascript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!