Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module 'imagemin-gifsicle' #44

Closed
albertpeiro opened this issue Oct 3, 2014 · 1 comment
Closed

Cannot find module 'imagemin-gifsicle' #44

albertpeiro opened this issue Oct 3, 2014 · 1 comment

Comments

@albertpeiro
Copy link

AngularJS + Yeoman. Trying to build in a Heroku instance it fails. I've tried with node versions 0.10.32, 0.10.31, 0.10.30. None of them work, always the same issue. On the heroku instance I run a postinstall npm -v and I get:

npm cache clean && npm -v && bower install
1.4.21

The error:

Loading "imagemin.js" tasks...�[31mERROR�[39m
[31m>> �[39mError: Cannot find module 'imagemin-gifsicle'

Please point me in the right direction I've researched all issues opened and none of the solutions given work for now. I don't know what to do.

My package.json has:

"dependencies": {
"bower": "^1.3.12",
"compression": "^1.1.0",
"express": "^4.9.5",
"forever": "^0.11.1",
"logfmt": "^1.2.0"
},
"devDependencies": {
"grunt": "^0.4.1",
"grunt-autoprefixer": "^0.7.3",
"grunt-build-control": "^0.1.3",
"grunt-bump": "^0.0.16",
"grunt-concurrent": "^0.5.0",
"grunt-contrib-clean": "^0.5.0",
"grunt-contrib-concat": "^0.4.0",
"grunt-contrib-connect": "^0.7.1",
"grunt-contrib-copy": "^0.5.0",
"grunt-contrib-cssmin": "^0.9.0",
"grunt-contrib-htmlmin": "^0.3.0",
"grunt-contrib-imagemin": "^0.7.0",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-uglify": "^0.4.0",
"grunt-contrib-watch": "^0.6.1",
"grunt-filerev": "^0.2.1",
"grunt-google-cdn": "^0.4.0",
"grunt-karma": "^0.8.3",
"grunt-newer": "^0.7.0",
"grunt-ngmin": "^0.0.3",
"grunt-open": "^0.2.3",
"grunt-play": "^0.1.0",
"grunt-svgmin": "^0.4.0",
"grunt-usemin": "^2.1.1",
"grunt-wiredep": "^1.7.0",
"jshint-stylish": "^0.2.0",
"karma": "^0.12.17",
"karma-jasmine": "^0.1.5",
"karma-phantomjs-launcher": "^0.1.4",
"load-grunt-tasks": "^0.4.0",
"time-grunt": "^0.3.1"
},
"engines": {
"node": "0.10.30"
},
"scripts": {
"test": "grunt test",
"postinstall": "npm cache clean && npm -v && bower install"
}

@kevva
Copy link
Member

kevva commented Oct 4, 2014

npm install imagemin-gifsicle.

@kevva kevva closed this as completed Oct 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants