kevva / bin-build

Easily build binaries
MIT License
38 stars 13 forks source link

2.1.2 causes npm to fail when installing gifsicle, jpegtran and opti-png #6

Closed stuartmemo closed 8 years ago

stuartmemo commented 9 years ago

I'm not sure of the actual issue, just wanted to flag up this to see if it's something you can help with. Thanks!

hockenmaier commented 9 years ago

We had the same issue; gifsicle and optipng were failing to install using 2.1.2. We exhausted all other options that could be cause of this issue. The only thing that worked was downgrading bin-build to 2.1.1.

shinnn commented 9 years ago

This problem would be fixed when https://github.com/kevva/download/issues/64 is fixed.

jmorille commented 9 years ago

The best thing for this problem should be to not use direct donwload but the npm download mechanism (like optional dependencies) in order to use the npm configuration like corporate npm registry.

This change permit to cache in local (thank to product like Sonatype Nexus) useful when you have many developpers and respect some developpement constraint like BCP (Business Continuity Planning) or DRP ( Disaster Recovery Plan) that assurance or bank have to respect.

marc-guenther commented 8 years ago

mikeal/tunnel-agent#15 fixed this problem for us.

marc-guenther commented 8 years ago

which has just been released as 0.4.2 :)