New Tool: Yeoman Generator for Stylish

Hello everyone,

I'm happy to announce the release of a Yeoman generator for Stylish: View the generator on GitHub.

Feel free to post here if you have any questions, though I hope I have documented well enough already.

Cheers.

Comments

  • I had to manually create .gitignore file to prevent this error.
    fs.js:427
    return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
    ^
    Error: ENOENT, no such file or directory '%APPDATA%\npm\node_modules\generator-stylish\app\templates\.gitignore'
    at Object.fs.openSync (fs.js:427:18)
    at Object.fs.readFileSync (fs.js:284:15)
    at StylishGenerator.copy (%APPDATA%\npm\node_modules\generator-stylish\node_modules\yeoman-generator\lib\actions\actions.js:96:13)
    at StylishGenerator.app (%APPDATA%\npm\node_modules\generator-stylish\app\index.js:189:7)
    at %APPDATA%\npm\node_modules\generator-stylish\node_modules\yeoman-generator\lib\base.js:278:20
    at %APPDATA%\npm\node_modules\generator-stylish\node_modules\yeoman-generator\node_modules\async\lib\async.js:548:21
    at %APPDATA%\npm\node_modules\generator-stylish\node_modules\yeoman-generator\node_modules\async\lib\async.js:224:13
    at iterate (%APPDATA%\npm\node_modules\generator-stylish\node_modules\yeoman-generator\node_modules\async\lib\async.js:131:13)
    at %APPDATA%\npm\node_modules\generator-stylish\node_modules\yeoman-generator\node_modules\async\lib\async.js:142:25
    at %APPDATA%\npm\node_modules\generator-stylish\node_modules\yeoman-generator\node_modules\async\lib\async.js:226:17
  • how to use it to edit a web site, please, some tutorial will be apreciated
  • http://yeoman.io/gettingstarted.html

    And you'll want this:
    @-moz-document domain("yeoman.io") {
    pre { background-color: transparent !important }
    }
  • jason@jason-thinkpad:~$ npm install -g yo npm http GET https://registry.npmjs.org/yo npm http 200 https://registry.npmjs.org/yo npm ERR! Error: No compatible version found: yo npm ERR! No valid targets found. npm ERR! Perhaps not compatible with your version of node? npm ERR! at installTargetsError (/usr/share/npm/lib/cache.js:488:10) npm ERR! at next_ (/usr/share/npm/lib/cache.js:438:17) npm ERR! at next (/usr/share/npm/lib/cache.js:415:44) npm ERR! at /usr/share/npm/lib/cache.js:408:5 npm ERR! at saved (/usr/share/npm/lib/utils/npm-registry-client/get.js:147:7) npm ERR! at Object.oncomplete (/usr/lib/nodejs/graceful-fs.js:230:7) npm ERR! You may report this log at: npm ERR! <http://bugs.debian.org/npm> npm ERR! or use npm ERR! reportbug --attach /home/jason/npm-debug.log npm npm ERR! npm ERR! System Linux 3.8.0-27-generic npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "yo" npm ERR! cwd /home/jason npm ERR! node -v v0.6.19 npm ERR! npm -v 1.1.4 npm ERR! message No compatible version found: yo npm ERR! message No valid targets found. npm ERR! message Perhaps not compatible with your version of node? npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/jason/npm-debug.log npm not ok
Sign In or Register to comment.