efacilitation / gulp-livingstyleguide

Easily create living style guides with Markdown, Sass/SCSS and Compass using the livingstyleguide gem.
MIT License
31 stars 3 forks source link

Regression in 0.1.5: Published npm package has implicit dependency on CoffeeScript #4

Closed myabc closed 8 years ago

myabc commented 9 years ago

The change in 81f9178f84eeb596e72bb11ccdc91f0b7fe96514 requires the user to have coffee-script installed globally (or listed as a dependency in their downstream project).

npm install gulp-livingstyleguide
-
> gulp-livingstyleguide@0.1.5 postinstall /private/tmp/node_modules/gulp-livingstyleguide
> coffee -c index.coffee

sh: coffee: command not found
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "gulp-livingstyleguide"
npm ERR! node v0.12.2
npm ERR! npm  v2.7.5
npm ERR! code ELIFECYCLE

npm ERR! gulp-livingstyleguide@0.1.5 postinstall: `coffee -c index.coffee`
npm ERR! Exit status 127
npm ERR! 
npm ERR! Failed at the gulp-livingstyleguide@0.1.5 postinstall script 'coffee -c index.coffee'.
npm ERR! This is most likely a problem with the gulp-livingstyleguide package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     coffee -c index.coffee
npm ERR! You can get their info via:
npm ERR!     npm owner ls gulp-livingstyleguide
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /private/tmp/npm-debug.log
danrichman commented 8 years ago

I'm getting this error despite having run npm install -g coffee-script. Am I doing something wrong? or is there a solution? Thanks in advance.

mwager commented 8 years ago

Cannot reproduce this. Feel free to reopen if this is still a problem