Skip to content

Instantly share code, notes, and snippets.

View dulac's full-sized avatar

Josh Du Lac dulac

  • AWS
  • London, UK
View GitHub Profile
@dulac
dulac / gist:663155
Created November 4, 2010 20:44
npm
bourne@bourne-desktop:/usr/local/node$ npm cache clean pcap
npm info it worked if it ends with ok
npm info using npm@0.2.6alpha-1
npm info using node@v0.2.4
npm ok
bourne@bourne-desktop:/usr/local/node$ npm cache add pcap@latest
npm info it worked if it ends with ok
npm info using npm@0.2.6alpha-1
npm info using node@v0.2.4
npm info fetch http://registry.npmjs.org/pcap/-/pcap-0.2.1.tgz
@dulac
dulac / npm list
Created November 4, 2010 20:29
npm list
bourne@bourne-desktop:/usr/local/lib/node$ ls -l /tmp/npm.QH6bcf/
total 48
-rwxr-xr-x 1 bourne bourne 2168 2010-10-25 12:37 cli.js
drwxr-xr-x 3 bourne bourne 4096 2010-11-04 14:54 doc
drwxr-xr-x 2 bourne bourne 4096 2010-11-04 14:54 html
drwxr-xr-x 3 bourne bourne 4096 2010-11-04 14:54 lib
-rw-r--r-- 1 bourne bourne 1092 2010-10-04 14:53 LICENSE
-rw-r--r-- 1 bourne bourne 697 2010-10-04 14:53 Makefile
drwxr-xr-x 3 bourne bourne 4096 2010-11-04 14:54 man1
-rw-r--r-- 1 bourne bourne 3329 2010-10-25 14:32 npm.js
@dulac
dulac / npmconfig
Created November 4, 2010 20:22
npm config ls
bourne@bourne-desktop:/usr/local/node$ npm config ls
;_exit = ---sekretz---
auto-activate = "always"
auto-deactivate = true
binroot = "/usr/local/bin"
color = true
dev = false
editor = undefined
globalconfig = "/usr/local/etc/npmrc"
gzipbin = "gzip"
@dulac
dulac / pcap2
Created November 4, 2010 20:18
npm install pcap
bourne@bourne-desktop:/usr/local/node$ npm install npm@pre
npm info it worked if it ends with ok
npm info using npm@0.2.5-1
npm info fetch http://registry.npmjs.org/npm/-/npm-0.2.6alpha-1.tgz
npm info install npm@0.2.6alpha-1
npm info preinstall npm@0.2.6alpha-1
npm info install npm@0.2.6alpha-1
npm info postinstall npm@0.2.6alpha-1
npm info activate npm@0.2.6alpha-1
npm info predeactivate npm@0.2.5-1
@dulac
dulac / pcap1
Created November 4, 2010 20:16
npm install pcap
bourne@bourne-desktop:/usr/local/node$ npm install pcap
npm info it worked if it ends with ok
npm info using npm@0.2.5-1
npm info fetch http://registry.npmjs.org/pcap/-/pcap-0.2.1.tgz
npm info install pcap@0.2.1
npm ERR! Failed unpacking the tarball.
npm ERR! This is very rare. Perhaps the 'gzip' or 'tar' configs
npm ERR! are set improperly?
npm ERR!
npm ERR! install failed Error: Failed tar "vxpf" "-" "--strip-components=1" "-C" "/usr/local/lib/node/.npm/pcap/0.2.1/package"