'Make' command not found (associated with

2019-08-17 19:07发布

问题:

I Installed Nodejs, then installed the LESS command line compiler.

    $ npm install -g less uglify-js

From here: http://twitter.github.com/bootstrap/less.html#compiling

Now getting the following error when i run the Make Command.

    sh.exe": make: command not found

Any clues why? Thanks much!

回答1:

You don't have a GNU make utility available. You can get make in many ways:

  • get Make for Windows http://gnuwin32.sourceforge.net/packages/make.htm
  • get cygwin on Windows and install the make package http://www.cygwin.com/
  • use a Linux virtual machine, which probably will have GNU make installed by default

I'm sure there are other possibilities as well, these are the ones I can think of right now.