I use Ubuntu 14.04. Installed node.js, npm csscomb, csscomb.js addition to Sublime Text 3, the path to the configuration file settings.
However, in step csscomb assets / css stay. Since the answer I receive / usr / bin / env: node: No such file or directory As I understand it, the system does not see ccscomb? Already tried to reinstall everything in order, but to no avail.
Sublime by pressing a combination of ctrl + shift + c does not react in any way, even the mistakes writes.
I suspect that the problem may lie in the fact that I'm not familiar with node.js and may miss some basic steps. So, good people, help me understand.
I am not sure what exactly went wrong in your case so let's make sure that all tasks are performed correctly.
nodejs on Ubuntu:Open terminal and run this:
sudo apt-get install nodejs
sudo apt-get install npm
sudo apt-get install nodejs-legacy
Verify that nodejs is installed correctly and that symlink is present by running:
node --version
npm --version
If you don't see nodejs and npm vesion numbers (v0.10.25 and 1.3.24 respectively), something went wrong with the installation. Post the message from your terminal and so that we can have a look.
csscomb itself globallynpm install csscomb -g
Verify:
csscomb --version
Again, you should see csscomb version number (currently 3.0.0). Let us know if something went wrong here.
CSSComb Sublime PackageI assume you have Sublime Package Control installed. Open Sublime Text 3, and press Ctrl + Shift + P. Type install package and press enter. Then type CSSComb and press enter again. CSSComb package should be installed now.
Open any css file, select a few lines and press Ctrl + Shift + C to comb it.
Let me know if more detailed instruction for some of the actions is needed.