Problem: When using the NPM module postinstall scripts do not run.
To reproduce:
- Create a repo with a
package.json, and another package.json nested in a folder.
- Give the
package.json in root the following script: "postinstall": "npm-recursive-install --skip-root".
- Give the nested
package.json the following script: "postinstall": "echo \"hi\""
- 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.