Commit 1c1bf07
fix: use npm config get prefix instead of deprecated npm bin -g
The `npm bin -g` command is deprecated in newer npm versions and fails
with exit code 1. Use `npm config get prefix` and append /bin (or use
prefix directly on Windows) to determine the global bin path.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent ea2ed37 commit 1c1bf07
2 files changed
Lines changed: 11 additions & 4 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | | - | |
105 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
106 | 113 | | |
107 | 114 | | |
108 | 115 | | |
| |||
0 commit comments