steffenmllr / imageoptmizer-brunch

Optimize PNG and JPG images with optipng & jpegtran on --optimize
17 stars 4 forks source link

Installation error #12

Open tispratik opened 8 years ago

tispratik commented 8 years ago

I am getting the following error when installing:

$ npm install                                                                                                                              [8:02:00]
npm WARN engine imageoptmizer-brunch@0.0.4: wanted: {"node":"~0.6.10 || 0.8 || 0.9"} (current: {"node":"0.12.7","npm":"3.3.9"})

> imageoptmizer-brunch@0.0.4 postinstall /Users/pkhadloya/Personal/myapp/node_modules/imageoptmizer-brunch
> node setup.js postinstall

Executing node node_modules/coffee-script/bin/coffee -o lib/ src/
TypeError: undefined is not a function
    at writeJs (/Users/pkhadloya/Personal/myapp/node_modules/imageoptmizer-brunch/node_modules/coffee-script/lib/coffee-script/command.js:413:17)
    at compileScript (/Users/pkhadloya/Personal/myapp/node_modules/imageoptmizer-brunch/node_modules/coffee-script/lib/coffee-script/command.js:185:18)
    at /Users/pkhadloya/Personal/myapp/node_modules/imageoptmizer-brunch/node_modules/coffee-script/lib/coffee-script/command.js:150:18
    at fs.js:334:14
    at FSReqWrap.oncomplete (fs.js:95:15)
/Users/pkhadloya/Personal/myapp
└─┬ imageoptmizer-brunch@0.0.4
  ├── coffee-script@1.3.3
  ├─┬ node-smushit@0.4.0
  │ └─┬ optimist@0.6.1
  │   └── minimist@0.0.10
  └── path@0.4.9

npm WARN EPACKAGEJSON myapp No license field.