Skip to content

Module has no option to run postinstall scripts  #14

Description

Problem: When using the NPM module postinstall scripts do not run.

To reproduce:

  1. Create a repo with a package.json, and another package.json nested in a folder.
  2. Give the package.json in root the following script: "postinstall": "npm-recursive-install --skip-root".
  3. Give the nested package.json the following script: "postinstall": "echo \"hi\""
  4. Run npm install in the root folder

Result: The phrase hi will not echo in console.
Expected Result: The phrase hi will echo in console.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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