Skip to content

Instantly share code, notes, and snippets.

persistantCache.clear();
persistantCache.save('urlCache', urlCache);
persistantCache.save('pageCache', pageCache);
persistantCache.save('contentCache', contentCache);
mape@dunderklumpen:~$ npm ls installed | awk -F @ '{print $1}' | xargs sudo npm install
npm it worked if it ends with ok
npm configfile /home/mape/.npmrc
npm cli [ 'ls', 'installed' ]
npm version 0.1.21
npm GET /
npm ok
npm it worked if it ends with ok
npm configfile /home/mape/.npmrc
npm cli [ 'install', 'Nothing', 'found' ]
mape@dunderklumpen:~$ npm ls
npm it worked if it ends with ok
npm configfile /home/mape/.npmrc
npm cli [ 'ls' ]
npm version 0.1.21
npm GET /
[email protected] =marak remote
[email protected] =marak latest remote
[email protected] =isaacs latest remote
[email protected] =ry latest remote
mape@dunderklumpen:~$ npm ls npm
npm it worked if it ends with ok
npm configfile /home/mape/.npmrc
npm cli [ 'ls', 'npm' ]
npm version 0.1.21
npm GET /
[email protected] =isaacs remote
[email protected] =isaacs remote stable
[email protected] =isaacs latest remote
@mape
mape / log
Created August 3, 2010 08:07
< tpryme> mape: Anyone ever have trouble running nodeprofile as sudo?
< mape> tpryme: just released it last night so haven't had a lot of people try it
< mape> what is the issue?
< tpryme> mape: I'm getting a "sudo: noprofile: command not found" despite "sudo whereis nodeprofile" returning "nodeprofile: /usr/local/bin/nodeprofile"
< mape> noprofile !== nodeprofile
< bradleymeck> noprofile != nodeprofile
< tpryme> mape: sorry typo. but yeah getting that error even with nodeprofile (not noprofile)
< mape> what about not sudo?
< tpryme> can't run as non-sudo since /usr/local/bin is root
< tpryme> Don't want to mess with privileges there.
[Unknown]:
ticks total nonlib name
10 1.0%
[Shared libraries]:
ticks total nonlib name
530 52.8% 0.0% /usr/local/bin/node
96 9.6% 0.0% /lib/libc-2.11.2.so
78 7.8% 0.0% /lib/libpthread-2.11.2.so
6 0.6% 0.0% /usr/lib/libstdc++.so.6.0.13
mape@dunderklumpen:~$ sudo npm update
npm it worked if it ends with ok
npm cli [ 'update' ]
npm version 0.1.23
npm config file /home/mape/.npmrc
npm config file /usr/local/etc/npmrc
npm GET mongodb
npm GET websocket-server
npm GET nStore
npm GET profile
....
npm GET connect
npm GET express
npm GET bench
npm GET suggest
npm GET apricot
npm GET npm
npm not in registry suggest
npm updates [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
npm install pkg .
mape@dunderklumpen:~$ sudo npm install npm
[sudo] password for mape:
npm it worked if it ends with ok
npm cli [ 'install', 'npm' ]
npm version 0.1.23
npm config file /home/mape/.npmrc
npm config file /usr/local/etc/npmrc
npm install pkg npm
npm fetch data npm
npm GET npm
d: warning: directory '/opt/local/lib' following -L not found
ld: warning: directory '/usr/sfw/lib' following -L not found
Undefined symbols:
"_CFBundleGetDataPointerForName", referenced from:
node::OS::SetProcessTitle(char*) in platform_darwin_4.o
"_CFBundleGetBundleWithIdentifier", referenced from:
node::OS::SetProcessTitle(char*) in platform_darwin_4.o
"_CFStringCreateWithCString", referenced from:
node::OS::SetProcessTitle(char*) in platform_darwin_4.o
"_CFBundleGetFunctionPointerForName", referenced from: