nDmitry / grunt-autoprefixer

Parse CSS and add vendor-prefixed CSS properties using the Can I Use database. Based on Autoprefixer.
MIT License
795 stars 60 forks source link

"npm install grunt-autoprefixer --save-dev" causes shasum error #75

Closed whatifif closed 10 years ago

whatifif commented 10 years ago

Hi

I tried to install grunt-autoprefixer by command "npm install grunt-autoprefixer --save-dev". But it caused shasum error.

npm ERR! Error: shasum check failed for /tmp/npm-14830-Zg1xjVIp/registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000007.tgz npm ERR! Expected: 5fa4af0294247961944e74e7f9da24b4c31d5fea npm ERR! Actual: da39a3ee5e6b4b0d3255bfef95601890afd80709 npm ERR! From: https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000007.tgz npm ERR! at /usr/lib/node_modules/npm/node_modules/sha/index.js:38:8 npm ERR! at ReadStream. (/usr/lib/node_modules/npm/node_modules/sha/index.js:85:7) npm ERR! at ReadStream.emit (events.js:117:20) npm ERR! at _stream_readable.js:943:16 npm ERR! at process._tickCallback (node.js:419:13) npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 3.13.0-37-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "grunt-autoprefixer" "--save-dev" npm ERR! cwd /home/phs/test-angular/test npm ERR! node -v v0.10.31 npm ERR! npm -v 1.4.23 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/phs/test-angular/test/npm-debug.log npm ERR! not ok code 0

nDmitry commented 10 years ago

I think you should run $ npm cache clean.