0

whenever i try to import data int othe database using :

cat ./reviews.json | couchimport --type "json" --jsonpath "reviews.*" --database reviews

I get this error :

node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<Object>".] {
  code: 'ERR_UNHANDLED_REJECTION'
}

0 Answers0