Skip to content

Can’t get it to work #66

@gr2m

Description

@gr2m

Hey @nolanlawson, it took a while, but finally got around to give this a try. Unfortunately something’s not quite working:

const PouchDB = require('pouchdb-core').plugin(require('pouchdb-adapter-fs'))
const db = new PouchDB('test')

db.put({_id: 'test'})

This creates a test.json file withe the content of undefined in it. I guess the problem is in fsdown.

I’m pretty sure the adapter worked when I tested it right after you created it, something must get broken since then. Do you have an idea? Or could you give me pointers for what to look for?

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