lessc binary not available after installing less via NPM

前端 未结 2 2002
离开以前
离开以前 2020-12-13 17:53

I went ahead and installed and tested node.js and then I installed LESS CSS via NPM but when I type in the command

lessc styles.less

or

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-13 18:31

    When you install LESS via npm use the -g option to install it globally.

    npm install -g less

提交回复
热议问题