robinpowered / robin-js-sdk-public

Robin Javascript SDK
https://docs.robinpowered.com
Apache License 2.0
1 stars 3 forks source link

Error when getting a location #2

Open jhofker opened 6 years ago

jhofker commented 6 years ago

Doing a relatively simple operation:

import Robin from "robin-js-sdk";
...
robin.api.locations.get(this.robinLocationId).then(location => {
    console.log(location);
});

Results in this error in the console when running:

debuggability.js:877 Unhandled rejection TypeError: expecting an array or an iterable object but got [object Null]

Seems related to this change that bluebirdjs made. Are there plans to update? A possible fix would be just to pin the version of bluebird in package.json, but that's probably not the best solution. 😃