Skip to content

Instantly share code, notes, and snippets.

@jachenry
Created May 15, 2011 17:02
Show Gist options
  • Save jachenry/973308 to your computer and use it in GitHub Desktop.
Save jachenry/973308 to your computer and use it in GitHub Desktop.
localhost:repos jacob$ which node
/usr/local/bin/node
localhost:repos jacob$ node -v
v0.4.7
localhost:repos jacob$ which npm
/usr/local/bin/npm
localhost:repos jacob$ npm -v
1.0.6
localhost:repos jacob$ echo $NODE_PATH
/usr/local/lib/node
localhost:repos jacob$ npm list
/Users/jacob/repos
(empty)
localhost:repos jacob$ npm install spine
[email protected] ./node_modules/spine/node_modules/spine.app/node_modules/optimist
[email protected] ./node_modules/spine/node_modules/spine.app/node_modules/coffee-script
[email protected] ./node_modules/spine/node_modules/spine.app/node_modules/express/node_modules/mime
[email protected] ./node_modules/spine/node_modules/spine.app/node_modules/express/node_modules/connect
[email protected] ./node_modules/spine/node_modules/spine.app/node_modules/express/node_modules/qs
[email protected] ./node_modules/spine/node_modules/spine.app/node_modules/express
[email protected] ./node_modules/spine/node_modules/spine.app/node_modules/stitch/node_modules/underscore
[email protected] ./node_modules/spine/node_modules/spine.app/node_modules/stitch/node_modules/async
[email protected] ./node_modules/spine/node_modules/spine.app/node_modules/stitch
[email protected] ./node_modules/spine/node_modules/spine.app
[email protected] ./node_modules/spine
localhost:repos jacob$ node my_app/index.js
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'stitch'
at Function._resolveFilename (module.js:320:11)
at Function._load (module.js:266:25)
at require (module.js:348:19)
at Object.<anonymous> (/Users/jacob/repos/my_app/index.js:2:15)
at Module._compile (module.js:404:26)
at Object..js (module.js:410:10)
at Module.load (module.js:336:31)
at Function._load (module.js:297:12)
at Array.<anonymous> (module.js:423:10)
at EventEmitter._tickCallback (node.js:126:26)
localhost:repos jacob$ npm list
/Users/jacob/repos
└─┬ [email protected]
└─┬ [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
└─┬ [email protected]
├── [email protected]
└── [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment