“Please try running this command again as Root/Administrator” error when trying to install LESS

后端 未结 11 2078
栀梦
栀梦 2020-12-02 14:09

I\'m trying to install LESS on my machine and have installed node already. However, when I enter \"node install -g less\" I get the following error and am not sure what to d

11条回答
  •  广开言路
    2020-12-02 14:55

    Just prepend sudo to the beginning of your command. As stated before, an installation runs some scripts that might be dangerous but I saw installing globally helps a lot and is way simpler.

    Run sudo npm install -g less

提交回复
热议问题