jacobrask / styledocco

Automatically generate a style guide from your stylesheets.
http://jacobrask.github.com/styledocco/
MIT License
1.06k stars 119 forks source link

Can't install styledocco - npm fails #93

Closed vrusua closed 11 years ago

vrusua commented 11 years ago

Hello,

I can't install styledocco. I installed Node.js, then npm install -fg styledocco. Doesn't work. I have a lot of errors:

.. npm http GET https://registry.npmjs.org/uglify-js npm ERR! error rolling back Error: ENOTEMPTY, rmdir 'd:\server\www_test\owltemplate_build\node_modules\grunt-styleguide\node_modules\kss\demo' npm ERR! error rolling back grunt-styleguide@0.2.6 { [Error: ENOTEMPTY, rmdir 'd:\server\www_test\owltemplate_build\node_modules\grunt-styleguide\node_modules\kss\demo'] npm ERR! error rolling back errno: 53, npm ERR! error rolling back code: 'ENOTEMPTY', npm ERR! error rolling back path: 'd:\server\www_test\owltemplate_build\node_modules\grunt-styleguide\node_modules\kss\demo' } npm ERR! not found: git npm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH. npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" npm ERR! cwd d:\server\www_test\owltemplate_build npm ERR! node -v v0.10.15 npm ERR! npm -v 1.3.5 npm ERR! code ENOGIT npm ERR! Error: ENOENT, chmod 'd:\server\www_test\owltemplate_build\node_modul es\grunt-styleguide\node_modules\less\test\css\debug\linenumbers-mediaquery.css' npm ERR! If you need help, you may report this log at: npm ERR! http://github.com/isaacs/npm/issues npm ERR! or email it to: npm ERR! npm-@googlegroups.com npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" npm ERR! cwd d:\server\www_test\owltemplate_build npm ERR! node -v v0.10.15 npm ERR! npm -v 1.3.5 npm ERR! path d:\server\www_test\owltemplate_build\node_modules\grunt-styleguide\node_modules\less\test\css\debug\linenumbers-mediaquery.css npm ERR! fstream_path d:\server\www_test\owltemplate_build\node_modules\grunt-styleguide\node_modules\less\test\css\debug\linenumbers-mediaquery.css npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! fstream_finish_call chmod npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fstream\lib\writer.js:305:19 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm http 304 https://registry.npmjs.org/jade npm http 304 https://registry.npmjs.org/clean-css npm http 304 https://registry.npmjs.org/optimist npm http 304 https://registry.npmjs.org/async npm http 304 https://registry.npmjs.org/mkdirp npm http 304 https://registry.npmjs.org/marked npm http 304 https://registry.npmjs.org/uglify-js npm ERR! npm ERR! Additional logging details can be found in: npm ERR! d:\server\www_test\owltemplate_build\npm-debug.log npm ERR! not ok code 0

What's wrong?

Regards, Ruslan

vrusua commented 11 years ago

Just the Git was not installed.

Resolved!