shyiko / bower-shrinkwrap-resolver

Missing shrinkwrap for Bower
https://www.npmjs.com/package/bower-shrinkwrap-resolver
33 stars 5 forks source link

Cannot read property 'shrinkwrap' of undefined #9

Closed graemechapman closed 7 years ago

graemechapman commented 7 years ago

After updating to version 0.5.0, bower install started crashing out with this error.

It looks like this is caused here, if the bowerrc does not have a bower-shrinkwrap-resolver property. rc then resolves to undefined, but this line is expecting it to be an object.

graemechapman commented 7 years ago

Also, I think the documentation needs to be updated with usage for the bower-shrinkwrap-resolver property in .bowerrc 😉

shyiko commented 7 years ago

@graemechapman Thank you for the ticket. And yes, you are right - readme.md should be updated.

shyiko commented 7 years ago

@graemechapman Fixed in 0.5.1. readme.md will be updated shortly.

graemechapman commented 7 years ago

Nice one, 10 minutes from issue report to release! Thanks @shyiko 👍