gruntjs / grunt-contrib-cssmin

Compress CSS files.
http://gruntjs.com/
MIT License
793 stars 147 forks source link

Can't install #80

Closed minmur closed 10 years ago

minmur commented 10 years ago

Some error when installing. Other dependencies:

"devDependencies": {
    "grunt": "~0.4.3",
    "grunt-spritesmith": "~1.22.0",
    "grunt-contrib-imagemin": "~0.5.0"
 }

Last lines of the npm-debu.log file

331 info preuninstall grunt-contrib-cssmin@0.9.0
332 info uninstall grunt-contrib-cssmin@0.9.0
333 silly gunzTarPerm extractEntry lib/images/url-rewriter.js
334 silly gunzTarPerm modified mode [ 'lib/images/url-rewriter.js', 438, 420 ]
335 silly gunzTarPerm extractEntry lib/imports/inliner.js
336 silly gunzTarPerm modified mode [ 'lib/imports/inliner.js', 438, 420 ]
337 verbose true,C:\projects\MrOrange\resia\node_modules,C:\projects\MrOrange\resia\node_modules unbuild grunt-contrib-cssmin@0.9.0
338 info postuninstall grunt-contrib-cssmin@0.9.0
339 silly gunzTarPerm extractEntry lib/properties/optimizer.js
340 silly gunzTarPerm modified mode [ 'lib/properties/optimizer.js', 438, 420 ]
341 silly gunzTarPerm extractEntry lib/properties/shorthand-notations.js
342 silly gunzTarPerm modified mode [ 'lib/properties/shorthand-notations.js', 438, 420 ]
343 error error rolling back Error: ENOTEMPTY, rmdir 'C:\projects\MrOrange\resia\node_modules\grunt-contrib-cssmin\node_modules\clean-css\lib\colors'
343 error error rolling back  grunt-contrib-cssmin@0.9.0 { [Error: ENOTEMPTY, rmdir 'C:\projects\MrOrange\resia\node_modules\grunt-contrib-cssmin\node_modules\clean-css\lib\colors']
343 error error rolling back   errno: 53,
343 error error rolling back   code: 'ENOTEMPTY',
343 error error rolling back   path: 'C:\\projects\\MrOrange\\resia\\node_modules\\grunt-contrib-cssmin\\node_modules\\clean-css\\lib\\colors' }
344 error Error: No compatible version found: chalk@'^0.4.0'
344 error Valid install targets:
344 error ["0.1.0","0.1.1","0.2.0","0.2.1","0.3.0","0.4.0"]
344 error     at installTargetsError (C:\Program Files\nodejs\node_modules\npm\lib\cache.js:719:10)
344 error     at C:\Program Files\nodejs\node_modules\npm\lib\cache.js:638:10
344 error     at RegClient.get_ (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\get.js:105:14)
344 error     at RegClient.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\get.js:41:12)
344 error     at fs.js:266:14
344 error     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:103:5
344 error     at Object.oncomplete (fs.js:107:15)
345 error If you need help, you may report this log at:
345 error     <http://github.com/isaacs/npm/issues>
345 error or email it to:
345 error     <npm-@googlegroups.com>
346 error System Windows_NT 6.1.7601
347 error command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "grunt-contrib-cssmin" "--save-dev"
348 error cwd C:\projects\MrOrange\resia
349 error node -v v0.10.15
350 error npm -v 1.3.5
351 verbose exit [ 1, true ]
minmur commented 10 years ago

Upgraded Node to newest version (v0.10.26) and it worked.