Skip to content

ignore fs module  #3287

Description

@svnlto

While building an app with webpack I've come across the following error.

ERROR in ./~/pouchdb/lib/deps/migrate.js
Module not found: Error: Cannot resolve module 'fs' in /Users/svenlito/Sites/tmp/pouchdb_webpack_test/node_modules/pouchdb/lib/deps
 @ ./~/pouchdb/lib/deps/migrate.js 3:9-22

It can be resolved by adding "browser": {"fs": false} to pouch's package.json.

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