I am using csscomb to prettify my .scss
files. All was fine until I upgraded to PhpStorm 9.
csscomb runs without any problem from the terminal, but PhpStorm seems not to recognize node's path. When I run the command I get:
env: node: No such file or directory
Process finished with exit code 127
Any idea how to configure this ? Tried to edit path manually but failed.
To fix this you need to symlink the nodejs executable to node
sudo ln -s "$(which nodejs)" /usr/local/bin/node
If you installed node with nvm
sudo ln -s "$(which node)" /usr/local/bin/node
Restarting phpstorm fixed the issue. Still wondering why...
because not found nodejs, open & edit the lesscss program code first line, tell him where is the nodejs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With