diff --git a/shell/update.sh b/shell/update.sh index 5cb39d1f..736d5a54 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -303,7 +303,7 @@ patch_version() { fi if ! type ts-node &>/dev/null; then - pnpm i -g ts-node typescript tslib + pnpm add -g ts-node typescript tslib fi # 兼容pnpm@7