Repository navigation
Commit d60a2f2
committed
fix(install): repair set-npm-prefix rc line and surface silent finalization failures
- install-cli.sh --set-npm-prefix wrote an over-escaped PATH line: the
backslash-escaping expanded PATH at install time, appending a literal
\"-quoted, frozen PATH snapshot to .bashrc/.zshrc that never resolves
the npm-global bin dir. Use the same correct form as install.sh.
- install.sh finalization helpers (retire_npm_owner_after_git_install,
retire_git_wrapper_after_npm_install) could abort the install with
exit 1 and no output; each fatal path now prints an actionable error.
- prepare_git_wrapper_backup_for_npm no longer hard-fails when npm is
missing (Arch splits node/npm): there is nothing to back up, and the
npm install step already reports the missing npm with remediation.
- install-cli.sh --compatible-with with an unresolvable --version died
silently through set -e before its error message; the failed npm view
now reaches the explicit fail path (and the JSON error event).1 parent f6d7fe4 commit d60a2f2
2 files changed
Lines changed: 29 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1225 | 1225 | | |
1226 | 1226 | | |
1227 | 1227 | | |
1228 | | - | |
| 1228 | + | |
1229 | 1229 | | |
1230 | 1230 | | |
1231 | 1231 | | |
| |||
1400 | 1400 | | |
1401 | 1401 | | |
1402 | 1402 | | |
1403 | | - | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
1404 | 1406 | | |
1405 | 1407 | | |
1406 | 1408 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3654 | 3654 | | |
3655 | 3655 | | |
3656 | 3656 | | |
3657 | | - | |
| 3657 | + | |
| 3658 | + | |
| 3659 | + | |
| 3660 | + | |
3658 | 3661 | | |
3659 | 3662 | | |
3660 | 3663 | | |
3661 | 3664 | | |
3662 | | - | |
| 3665 | + | |
| 3666 | + | |
| 3667 | + | |
| 3668 | + | |
3663 | 3669 | | |
3664 | 3670 | | |
3665 | | - | |
| 3671 | + | |
| 3672 | + | |
| 3673 | + | |
| 3674 | + | |
3666 | 3675 | | |
3667 | | - | |
| 3676 | + | |
| 3677 | + | |
| 3678 | + | |
| 3679 | + | |
3668 | 3680 | | |
3669 | 3681 | | |
3670 | 3682 | | |
| |||
3680 | 3692 | | |
3681 | 3693 | | |
3682 | 3694 | | |
3683 | | - | |
| 3695 | + | |
| 3696 | + | |
| 3697 | + | |
| 3698 | + | |
3684 | 3699 | | |
3685 | 3700 | | |
3686 | | - | |
| 3701 | + | |
3687 | 3702 | | |
3688 | 3703 | | |
3689 | 3704 | | |
| |||
3693 | 3708 | | |
3694 | 3709 | | |
3695 | 3710 | | |
3696 | | - | |
| 3711 | + | |
| 3712 | + | |
| 3713 | + | |
| 3714 | + | |
3697 | 3715 | | |
3698 | 3716 | | |
3699 | 3717 | | |
| |||
0 commit comments