-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
imagemin runs into problems #123
Comments
This could be related to an issue with grunt-imagemin that I posted last month: gruntjs/grunt-contrib-imagemin#140 Try putting |
@darryl-snow cache:false did the trick ! +1 It appears the "simple" generator-angular is using "grunt-contrib-imagemin": "~0.3.0", while the scaffolded projects of generator-angular-fullstack are depending on "grunt-contrib-imagemin": "~0.5.0", which seem to have some problem. |
The new version grunt-contrib-imagemin was introduced with the latest version of generator-angular-fullstack. I'll provide a little pull request with the cache:false workaround that can solve as a transitionally fix until the problems in grunt-contrib-imagemin are sorted out. An alternative would be to revert to an older version of grunt-contrib-imagemin. |
Thanks for the PR, just merged it in. Hopefully imagemin can get the issue sorted out soon so we can take out the workaround. |
Building the generated project has problems at the task imagemin. Somehow it deflates the app/images/yeoman.png to 0 Bytes.
Steps to reproduce:
On OSX (10.9.2) the builld "works" but the images is deflated to 0 Bytes.
On Linux (2 boxes with debian) I get a warning:
If I use --force it results in the same behavior as OSX: 0 Byte picture.
I used all default generator options with the exception of
[?] Would you like to use Sass (with Compass)? No
But as far as I can tell there is no difference. I didn't test it with sass so thoroughly.
Funny part is that after cleaning all components and caches on my system and starting fresh it seems to work on the fist run of grunt serve:dist - That is why I have it twice in the reproducing steps.
At last I tried the generator-angular (0.7.1) which does not run into the same problem.
Anybody else having this problems ?
Versions used:
generator-angular-fullstack (1.3.2)
yo --version && bower --version && grunt --version && node --version && npm --version 1.1.2
1.2.8
grunt-cli v0.1.13
grunt v0.4.3
v0.10.26
1.4.4
The text was updated successfully, but these errors were encountered: