styledoccoã³ãã³ãæã£ãããã¨ã©ã¼ãåºã¦åã«é²ããªãã£ãã
大éã®ãã¡ã¤ã«ãããã¨èµ·ããåé¡ã ã£ãã£ã½ããå°ã£ãã®ã§ã¡ã¢ã
ã¨ã©ã¼ã¡ãã»ã¼ã¸
$ styledocco -n "styleduide" stylesheets/ child_process.js:927 throw errnoException(process._errno, 'spawn'); ^ Error: spawn EMFILE at errnoException (child_process.js:980:11) at ChildProcess.spawn (child_process.js:927:11) at exports.spawn (child_process.js:715:9) at preprocess (/usr/local/lib/node_modules/styledocco/cli.js:136:10) at Object.css (/usr/local/lib/node_modules/styledocco/node_modules/async/lib/async.js:532:23) at /usr/local/lib/node_modules/styledocco/node_modules/async/lib/async.js:467:25 at /usr/local/lib/node_modules/styledocco/node_modules/async/lib/async.js:86:13 at Array.forEach (native) at _forEach (/usr/local/lib/node_modules/styledocco/node_modules/async/lib/async.js:26:24) at Object.async.forEach (/usr/local/lib/node_modules/styledocco/node_modules/async/lib/async.js:85:9)
Error: spawn EMFILE
ä¸åº¦ã«éãããã¡ã¤ã«ã®ä¸éæ°ã«ã²ã£ããã£ã¦ããã£ã¦ããã¨ã©ã¼ã§ããã
ulimit -aã§ãä¸åº¦ã«éãããã¡ã¤ã«æ°ã®ä¸éãããã¤ã«è¨å®ããã¦ãããã確èªããã
$ ulimit -a -t: cpu time (seconds) unlimited -f: file size (blocks) unlimited -d: data seg size (kbytes) unlimited -s: stack size (kbytes) 8192 -c: core file size (blocks) 0 -v: address space (kbytes) unlimited -l: locked-in-memory size (kbytes) unlimited -u: processes 709 -n: file descriptors 256
nã®é
ç®ããã¡ã¤ã«æ°ã®ä¸éå¤ããã®å ´åã¯256ã«è¨å®ããã¦ããã
Mac OS 10.9.1(Mavericks)ã§ã®åæå¤ã¯256ã®ããã
ulimit -n 1000ã§1000ã¾ã§åºãã¦ãããã-nã§è¨å®ãã¦ãã¡ãã»ã¼ã¸ãä½ãè¿ã£ã¦ããªãã®ã§ã-aã§å度確èªããã
$ ulimit -n 1000 $ ulimit -a -t: cpu time (seconds) unlimited -f: file size (blocks) unlimited -d: data seg size (kbytes) unlimited -s: stack size (kbytes) 8192 -c: core file size (blocks) 0 -v: address space (kbytes) unlimited -l: locked-in-memory size (kbytes) unlimited -u: processes 709 -n: file descriptors 1000
ããã§$ styledocco -n "styleduide" stylesheets/ãå®è¡ããã¨"docs"ãã£ã¬ã¯ããªãä½æããã¦ãããã¥ã¡ã³ããçæãããã
ã¡ã¢ãã®2 $ styledocco -n "hogehoge"ã§ã¤ããããã®ã¯ãã£ã¬ã¯ããªåã§ã¯ãªã
$ styledocco -n [ããã¸ã§ã¯ãå] [ã¿ã¼ã²ãããã£ã¬ã¯ããª]
$ styledocco -n "mogemoge" styleseets
ã£ã¦å®è¡ããããmogemogeã£ã¦ãã£ã¬ã¯ããªãä½æãããã®ãã¨æã£ã¦ããã©åéãã ã£ãã
ä½æããããã£ã¬ã¯ããªã¯docsãããã¸ã§ã¯ãåã¯ããã¥ã¡ã³ãã®htmlã®ãããã¼ã«æ¸ãããã