Closed Tobishua closed 8 years ago
@Devil-Chrono, what is the result of running echo $NODE_PATH
? And in what directory has csscomb
been installed?
@tonyganch
user@server ~ # echo $NODE_PATH
After executing an empty string is output
user@server ~ # npm install csscomb -g
npm http GET https://registry.npmjs.org/csscomb
csscomb@0.0.0 /usr/local/lib/node_modules/csscomb
@Devil-Chrono, you should set NODE_PATH
variable so Node knows where to search for installed packages.
Try running export NODE_PATH="/usr/local/lib/node_modules"
.
But anyway csscomb's version should be 3.0.0
and not 0.0.0
@tonyganch thanks, now when I run user@server ~ # echo $NODE_PATH
output is: /usr/local/lib/node_modules
I also tried to change registry, but still when installing csscomb receive the following:
user@server ~ # npm install csscomb -g
npm http GET http://isaacs.iriscouch.com/registry/csscomb
npm http 200 http://isaacs.iriscouch.com/registry/csscomb
csscomb@0.0.0 /usr/local/lib/node_modules/csscomb
I can't understand what could be the problem...
I installed csscomb on Ubuntu Server 12.04 with command "npm install csscomb -g", but when I try to execute "csscomb assets/css public/styles.css" I get the message "csscomb: command not found".
Thanks for your help and sorry for my bad English.