Skip to content

Error when installing with pnpm  #163

@joannavarrete

Description

@joannavarrete

Command pnpm install pouchdb-react-native

When installing in a fresh project.

Error Error: ENOENT: no such file or directory, open '../pouchdb-binary-utils/package.json'

Due to looking for a file that not exists.

Reference to var PATH = './node_modules/pouchdb-binary-utils/package.json' in setup.js script

Solved creating a symbolic link (should be created by pnpm)

ln -s ../../pouchdb-binary-utils@6.4.3/node_modules/pouchdb-binary-utils pouchdb-binary-utils

Then executing the setup script by hand node setup.js

I don't know it this is an issue of this project of pnpm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions