Skip to content
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

Error when getting a location #2

Open
jhofker opened this issue Nov 22, 2017 · 0 comments
Open

Error when getting a location #2

jhofker opened this issue Nov 22, 2017 · 0 comments
Assignees

Comments

@jhofker
Copy link

jhofker commented Nov 22, 2017

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. 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants