问答详情
源自:2-2 LESS编写

npm install -g less之前必须安装node.js???

老师在课上怎么直接就能npm install -g less

我在window上不行   或者可以在编辑器上安装less???

新手不太懂,望解决   谢谢

提问者:qq_隔壁龙叔叔_0 2016-07-19 12:33

个回答

  • maomaoyu123
    2017-02-21 17:07:23

    npm install -g less出现以下错误,npm config set proxy null也没有用怎么破

    npm ERR! Error: connect ECONNREFUSED
    npm ERR! 

       at errnoException (net.js:878:11)
    npm ERR!    at Object.afterConnect [as oncomplete] (net.js:869:19)
    npm ERR! { [Error: connect ECONNREFUSED]
    npm ERR!  code: 'ECONNREFUSED',
    npm ERR!  errno: 'ECONNREFUSED',
    npm ERR!  syscall: 'connect' }
    npm ERR!
    npm ERR! If you are behind a proxy, please make sure that the
    npm ERR! 'proxy' config is set properly. See: 'npm help config'


  • 努力00再努力
    2016-07-29 15:24:58

    先安装node.js