Commit 42b5eec
fix: bootstrap npm upgrade without broken system npm
Node 22.22.2 ships with broken npm (missing promise-retry module),
so any npm command fails. Download npm 11 tarball directly via curl
and use it to install itself globally, bypassing the broken system npm.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5c91f00 commit 42b5eec
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
| |||
0 commit comments