Repository navigation
Commit 076c8f6
fix(paperclip): unset npm_config_allow_scripts before invoking npx/npm
Works around a known npm bug (npm/cli#9783, #9912, #9968) where a
user/global .npmrc allow-scripts setting leaks into child npm installs
via npm_config_allow_scripts and gets misclassified as an explicit CLI
flag, causing paperclipai's internal (project-scoped) install to fail
with EALLOWSCRIPTS.
Co-Authored-By: Claude Sonnet 5 <[email protected]>1 parent b25003a commit 076c8f6
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
7 | 14 | | |
8 | 15 | | |
9 | 16 | | |
| |||
0 commit comments