Skip to content

Error during postinstall step #28

Description

@lufinkey

When attempting to install cookie thief fresh with npm install --save cookie-thief, I get an error during the postinstall step:

Error: Cannot find module 'C:\Users\Luis\Code\my-project\node_modules\cookie-thief\node_modules\platform-dependent-modules\cli.js'

it looks like the issue is that it's searching for the platform-dependent-modules module in the node_modules folder of cookie-thief instead of in the node_modules folder of the project during the postinstall script. I'm not sure if node has some sort of variable for the project root that can be used here instead.

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