Skip to content

running PouchDB.load, TypeError: object is not a function TypeError: object is not a function at PouchDB #61

@ghost

Description

this.local = new PouchDB(this.dbName, {auto_compaction: true, adapter: 'websql'});
This error occurs while running this code, "
this.local.load('couchdb/calibers.txt' , {
proxy: this.remote.name,
ajax: {
cache: true
}})
.then((result) => {
console.log(result);
})
.catch((err)=>{
console.log(err);
})"

im using this pouchdb versions.
"pouchdb": "~6.3.4",
"pouchdb-adapter-memory": "^6.2.0",
"pouchdb-adapter-websql-core": "6.2.0",
"pouchdb-browser": "6.2.0",
"pouchdb-find": "^6.3.4",
"pouchdb-load": "^1.4.6",
"pouchdb-upsert": "^2.2.0",

any solution for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions