Skip to content

Module has no option to run postinstall scripts  #14

@ghost

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.

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