joscha / gulp-rewrite-css

A gulp plugin that allows rewriting url references in CSS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PB install with nodejs 5.1.1

guiyomh opened this issue · comments

I have a problem to exexute command :

npm install gulp-rewrite-css

the error :

npm WARN prefer global coffee-script@1.8.0 should be installed with -g

> gulp-rewrite-css@0.0.4 postinstall E:\Projets\xxxxx\node_modules\gulp-rewrite-css
> ./node_modules/coffee-script/bin/coffee -o lib/ src/

'.' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
npm WARN EPACKAGEJSON xxxxx No description
npm WARN EPACKAGEJSON xxxxx No repository field.
npm WARN EPACKAGEJSON xxxxx No license field.
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "H:\\My Programs\\nodejs\\node.exe" "H:\\My Programs\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install
" "gulp-rewrite-css"
npm ERR! node v5.1.1
npm ERR! npm  v3.3.12
npm ERR! code ELIFECYCLE

npm ERR! gulp-rewrite-css@0.0.4 postinstall: `./node_modules/coffee-script/bin/coffee -o lib/ src/`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gulp-rewrite-css@0.0.4 postinstall script './node_modules/coffee-script/bin/coffee -o lib/ src/'.

npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the gulp-rewrite-css package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ./node_modules/coffee-script/bin/coffee -o lib/ src/
npm ERR! You can get their info via:
npm ERR!     npm owner ls gulp-rewrite-css
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

I'am on windows 10 pro with nodejs 5.1.1

It was because all the scripts were defined in a unixy way - please try using version 0.0.8