Skip to content

Instantly share code, notes, and snippets.

@evnm
Created November 17, 2010 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evnm/703907 to your computer and use it in GitHub Desktop.
Save evnm/703907 to your computer and use it in GitHub Desktop.
Possible bug in npm cache clean
$ npm cache ls
npm info it worked if it ends with ok
npm info using npm@0.2.8-1
npm info using node@v0.2.4
npm info cache nothing found
npm ok
$ npm cache add dropbox 0.1.0
npm info it worked if it ends with ok
npm info using npm@0.2.8-1
npm info using node@v0.2.4
npm info fetch http://registry.npmjs.org/dropbox/-/dropbox-0.1.0.tgz
npm ok
$ npm cache clean dropbox 0.1.0
npm info it worked if it ends with ok
npm info using npm@0.2.8-1
npm info using node@v0.2.4
npm ok
$ npm cache ls
dropbox
npm info it worked if it ends with ok
npm info using npm@0.2.8-1
npm info using node@v0.2.4
npm ok
$ ls -a /Users/evan/.node_libraries/.npm/.cache/dropbox/
. ..
$ uname -a
Darwin d-128-208-201-91.dhcp4.washington.edu 10.5.0 Darwin Kernel Version 10.5.0: Fri Nov 5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386 i386
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment