Pouchdb: AssertionError ".status required, old abstract-leveldown"

Created on 17 Dec 2017  路  2Comments  路  Source: pouchdb/pouchdb

Issue

Using the localstorage-adapter does not work since 6.4.0.
It throws the following error when creating the db-instance:

AssertionError {name: "AssertionError", actual: "undefined", expected: "string", operator: "==", message: ".status required, old abstract-leveldown"鈥
  actual: "undefined"
  expected: "string"
  generatedMessage: false
  message: ".status required, old abstract-leveldown"
  name: "AssertionError"
  operator: "=="
  stack: "AssertionError: .status required, old abstract-leveldown....

Info

  • Environment: browser
  • Platform: Chrome/FF
  • Adapter: localstorage

Reproduce

  1. Create a pouchdb-instance with the localstorage-adapter:
const db = new PouchDB('mydb', {adapter:'localstorage'});

Fiddle

All 2 comments

Yup this was recently added to allowed failures due to https://github.com/pouchdb/pouchdb/pull/6941#issuecomment-352166744

Could you please, give more information? Can't use localstorage adapter since 6.4.0 ? How supports old browsers ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ohmoses picture ohmoses  路  4Comments

mikkokam picture mikkokam  路  6Comments

plepe picture plepe  路  3Comments

03balogun picture 03balogun  路  4Comments

Kentoseth picture Kentoseth  路  6Comments