Skip to content

Instantly share code, notes, and snippets.

@dunkfordyce
Created October 31, 2011 15:14
Show Gist options
  • Save dunkfordyce/1327716 to your computer and use it in GitHub Desktop.
Save dunkfordyce/1327716 to your computer and use it in GitHub Desktop.
fddev@fatdropdev:~/projects/fd.stylus$ cat main.styl
div
color: red
fddev@fatdropdev:~/projects/fd.stylus$ ./node_modules/.bin/stylus < main.styl > out.css
/home/fddev/projects/fd.stylus/node_modules/stylus/bin/stylus:477
if (err) throw err;
^
Error: stdin:3
1| div
2| color: red
> 3|
EISDIR, Is a directory
at Object.readSync (fs.js:259:19)
at Object.readFileSync (fs.js:125:19)
at Evaluator.visitImport (/home/fddev/projects/fd.stylus/node_modules/stylus/lib/visitor/evaluator.js:607:16)
at Evaluator.<anonymous> (/home/fddev/projects/fd.stylus/node_modules/stylus/lib/visitor/index.js:28:39)
at Evaluator.visit (/home/fddev/projects/fd.stylus/node_modules/stylus/lib/visitor/evaluator.js:71:18)
at Evaluator.<anonymous> (/home/fddev/projects/fd.stylus/node_modules/stylus/lib/visitor/evaluator.js:100:10)
at Array.forEach (native)
at Evaluator.setup (/home/fddev/projects/fd.stylus/node_modules/stylus/lib/visitor/evaluator.js:97:16)
at Evaluator.evaluate (/home/fddev/projects/fd.stylus/node_modules/stylus/lib/visitor/evaluator.js:139:8)
at Renderer.render (/home/fddev/projects/fd.stylus/node_modules/stylus/lib/renderer.js:52:26)
fddev@fatdropdev:~/projects/fd.stylus$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment