I'm trying to compile my main.less
file to a main.css
file using phpstorm. However, I'm getting this error and the .less
file does not compile.
/usr/local/bin/lessc main.less
env: node: No such file or directory
Process finished with exit code 127
I'm using a mac and not sure why this is happening. It was working fine before, but I restarted my computer and now I'm getting this error.
Does anyone know why this is happening and how to fix?