Skip to content

Instantly share code, notes, and snippets.

@tmzt
Created February 22, 2011 03:54
Show Gist options
  • Save tmzt/838195 to your computer and use it in GitHub Desktop.
Save tmzt/838195 to your computer and use it in GitHub Desktop.
node cli
require.paths.unshift(__dirname + '/lib');
/* ... */
var base60 = require('NewBase60/NewBase60.js');
> require.paths.unshift('./')
4
> var development = require('./development/app.js').app;
Error: Cannot find module './NewBase60/NewBase60.js'
at Function._resolveFilename (module.js:289:11)
at Function._load (module.js:241:25)
at require (module.js:317:19)
at Object.<anonymous> (/srv/home/jobitr/development/app.js:10:14)
at Module._compile (module.js:373:26)
at Object..js (module.js:379:10)
at Module.load (module.js:305:31)
at Function._load (module.js:271:10)
at require (module.js:317:19)
at [object Context]:1:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment