-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Break app when not importing Axios defaults #346
Comments
Sorry for the delay in response. If you think this issue is still unresolved, please reopen it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apparently, if Axios is used like this when axios-cookiejar-support is part of an app, then it breaks:
Here's the error that I get:
I think that this package is added to my application through nano, the client library for CouchDB: https://github.com/apache/couchdb-nano.
Here's what they're doing with it: https://github.com/apache/couchdb-nano/pull/245/files
I'm facing this issue while working on something completely different by the way: auth0/node-jwks-rsa#215
Any idea how to fix this? Should the node-jwks-rsa library use import Axios like this?
const axios = require('axios').default;
or is it supposed to work if they doimport { get } from "axios";
?The text was updated successfully, but these errors were encountered: