You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/11/12 15:42:21 UTC
[GitHub] [couchdb-nano] OliverAndersRWE commented on issue #264: Uncaught TypeError: axiosCookieJarSupport is not a function
OliverAndersRWE commented on issue #264:
URL: https://github.com/apache/couchdb-nano/issues/264#issuecomment-967213499
Hi, I have the same problem in a vue application, but using only :
```
var nano = require('nano')({
'url': 'http://server:5982/'
});
nano.auth("user", "pw", function (err, body, headers) {
if (err) {
return console.log(err);
}
if (headers && headers['set-cookie']) {
console.log(headers['set-cookie']);
var nano = require('nano')({
'url':'http://server:5982/',
'cookie': headers['set-cookie']
})
console.log(nano)
}
```
Error message:
`Uncaught TypeError: axiosCookieJarSupport is not a function
at Object.eval (nano.js?e764:19)
at eval (nano.js:1265)
at Object../node_modules/nano/lib/nano.js (chunk-vendors.js:3656)
at __webpack_require__ (app.js:849)
at fn (app.js:151)
at eval (main.js?56d7:11)
at Module../src/main.js (app.js:1148)
at __webpack_require__ (app.js:849)
at fn (app.js:151)
at Object.1 (app.js:1161)`
Any help is really appreciated...
Kind Regards
Oliver
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org