exogen / exogen/postinstall-build
"npm prune --production" breaks Netlify CI
- Dominant language
- JavaScript
- Stars
- 92
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Everything works correctly on my local machine but on Netlify im getting this error on the `postinstall-build` hook:
```
npm ERR! May not delete: /opt/build/repo/node_modules/react-polymorph/node_modules/.bin
11:37:56 AM: npm ERR! A complete log of this run can be found in:
11:37:56 AM: npm ERR! /opt/buildhome/.npm/_logs/2018-03-22T10_37_56_856Z-debug.log
11:37:56 AM: postinstall-build:
11:37:56 AM: Error: Command failed: sh -c "/opt/buildhome/.nvm/versions/node/v8.2.1/bin/node" "/opt/buildhome/.nvm/versions/node/v8.2.1/lib/node_modules/npm/bin/npm-cli.js" prune --production
11:38:51 AM: npm
```
Any ideas how to solve this issue?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.