-
Notifications
You must be signed in to change notification settings - Fork 238
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
Promise giving "Cannot read property 'base' of undefined" #269
Comments
Same issue here |
Seems like a pretty simple bug...I made a PR #270 |
If you add an empty config object you can get round this issue |
@HarryEMartland thanks .you just saved me .it did solve the issue for me . |
@HarryEMartland can you explain why your solution worked? |
@neer17 If you look at the documentation on requests, you'll see that it expects a
Calling |
Use node 8.9.1
Create an
index.js
file with:Run the script
Error:
This error does not appear when running with a callback.
The text was updated successfully, but these errors were encountered: