Metriche repository
- Star
- (85 star)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
I tried "npm install -g pouchdb-dump-cli" and that installs pouchdb-dump but:
pouchdb-dump http://abcd.cloudant.com/master -u abcd -p XXXXX -o MasterDump.txt -s 10000 I am sure the password is RIGHT! RETURNS: {"error":"unauthorized","reason":"Name or password is incorrect"} unexpected error { [unauthorized: Name or password is incorrect.] status: 401, name: 'unauthorized', message: 'Name or password is incorrect.', error: true, reason: 'Name or password is incorrect' }
Alternately, I tried: pouchdb-dump http://abcd:XXXXX@abcd.cloudant.com/master -o MasterDump.txt
RETURNS: unexpected error { [Error: getaddrinfo ENOTFOUND rts rts:80] status: 400 } Error: getaddrinfo ENOTFOUND rts rts:80 at onError (/usr/local/lib/node_modules/pouchdb-dump-cli/node_modules/pouchdb/lib/index.js:2599:18) at Request._callback (/usr/local/lib/node_modules/pouchdb-dump-cli/node_modules/pouchdb/lib/index.js:2640:14) at self.callback (/usr/local/lib/node_modules/pouchdb-dump-cli/node_modules/pouchdb/node_modules/request/request.js:200:22) at emitOne (events.js:77:13) at Request.emit (events.js:169:7) at Request.onRequestError (/usr/local/lib/node_modules/pouchdb-dump-cli/node_modules/pouchdb/node_modules/request/request.js:831:8) at emitOne (events.js:77:13) at ClientRequest.emit (events.js:169:7) at Socket.socketErrorListener (_http_client.js:267:9) at emitOne (events.js:77:13)
It creates empty MasterDump.txt file. Please help.