ts-node 异常,锁定 typescript 版本

This commit is contained in:
whyour
2026-07-10 01:36:31 +08:00
parent 9b17a41987
commit da6dac8bf1
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ check_pm2() {
main() {
t '=====> 开始检测'
npm i -g pnpm@8.3.1 pm2 ts-node
npm i -g pnpm@8.3.1 pm2 ts-node typescript@5
reset_env
copy_dep
+1 -1
View File
@@ -74,7 +74,7 @@ if [[ $command != "reload" ]]; then
;;
esac
npm install -g pnpm@8.3.1 pm2 ts-node
npm install -g pnpm@8.3.1 pm2 ts-node typescript@5
fi
export PYTHON_SHORT_VERSION=$(python3 -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')