Skip to content

env: node: No such file or directory

Ziad El Khoury Hanna edited this page Jul 9, 2017 · 2 revisions

Using path "/usr/local/bin/lessc" on mac OSX will throw this error.

The quick fix:

  1. sudo nano /usr/local/bin/koala-lessc

  2. write:

#!/bin/sh
/usr/local/bin/node /usr/local/bin/lessc $@
  1. sudo chmod +x /usr/local/bin/koala-lessc

  2. use /usr/local/bin/koala-lessc as compiler path in Koala