jpowers / node-google-places

A Google Places lib for node.js
49 stars 36 forks source link

Dependency issue when installing with yarn #22

Open v1adko opened 6 years ago

v1adko commented 6 years ago

This module has not been updated in a long time. @jpowers are you accepting PRs?

I encountered this error with yarn

yarn install v1.3.2
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
Couldn't find any versions for "0" that matches "underscore"
? Please choose a version of "0" from this list: (Use arrow keys)

Which failed my CI and it seems it's because of the way dependencies are specified in this module (simple array, no versions).

For those of you, who might stumble on this problem, you can use a fork, such as this. Just do yarn add https://github.com/BuildingConnected/node-google-places And that should fix it up. The downside is having a privately @ scoped dependency, so it's better to merge it in the main branch.