Created
September 14, 2012 13:57
-
-
Save brianjmiller/3722052 to your computer and use it in GitHub Desktop.
Trying to get Gear to work
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var gear = require('gear'); | |
new gear.Queue( | |
{ | |
registry: new gear.Registry( | |
{ | |
module: 'gear-lib' | |
} | |
) | |
} | |
).read(['src/tincan.js', 'src/lrs.js', 'src/actor.js']) | |
.concat() | |
.jslint() | |
.jsminify() | |
.inspect() | |
.run(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/brian/node_modules/gear/lib/registry.js:69 | |
throw new Error('Directory ' + dirname + ' doesn\'t exist'); | |
^ | |
Error: Directory /Users/brian/Documents/Work/Rustici/repos/TinCanJS/node_modules/gear-lib/lib doesn't exist | |
at Object.Registry._loadDir (/Users/brian/node_modules/gear/lib/registry.js:69:19) | |
at Object.Registry._loadModule (/Users/brian/node_modules/gear/lib/registry.js:64:14) | |
at Object.Registry.load (/Users/brian/node_modules/gear/lib/registry.js:47:18) | |
at Object.Registry (/Users/brian/node_modules/gear/lib/registry.js:31:14) | |
at Object.<anonymous> (/Users/brian/Documents/Work/Rustici/repos/TinCanJS/build.js:7:19) | |
at Module._compile (module.js:449:26) | |
at Object.Module._extensions..js (module.js:467:10) | |
at Module.load (module.js:356:32) | |
at Function.Module._load (module.js:312:12) | |
at Module.runMain (module.js:492:10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment