Created
July 18, 2012 11:49
-
-
Save k-bx/3135753 to your computer and use it in GitHub Desktop.
hem error
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 path = require('path'), | |
Module = require('module'), | |
fs = require('fs'); | |
if (path.existsSync('./slug.js')) { | |
return Module._load('./slug.js'); | |
} | |
require('../lib/hem').exec(); |
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
hdm-web ➤ hem | |
node.js:134 | |
throw e; // process.nextTick error, or 'error' event on first tick | |
^ | |
Error: Cannot find module 'hem' | |
at Function._resolveFilename (module.js:317:11) | |
at Function._load (module.js:262:25) | |
at require (module.js:346:19) | |
at Object.<anonymous> (/home/kost/workspace/hdm-web/slug.js:1:82) | |
at Module._compile (module.js:402:26) | |
at Object..js (module.js:408:10) | |
at Module.load (module.js:334:31) | |
at Function._load (module.js:293:12) | |
at Object.<anonymous> (/usr/local/lib/node_modules/hem/bin/hem:7:17) | |
at Module._compile (module.js:402:26) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment