warning ../../package.json: No license field
husky > pre-commit (node v16.15.1)
NCU Real Time Weather is Running......
2024/4/13 10:42 Saturday UTC+8:00
Whoops! Please check your network connection. OR may be http://pblap.atm.ncu.edu.tw is dead, error message:
Error: connect ETIMEDOUT 140.115.35.235:80
sh: lint-staged: command not found
husky > pre-commit hook failed (add --no-verify to bypass)
给一个仓库 commit 代码时,发现提交不上,这里面居然有个 pblap.atm.ncu.edu.tw 的域名,我看了下是台湾一个大学的,我看了下 pre-commit ,也就下面这一行
npx ncu --semverLevel major -f eslint -e 2 && lint-staged
有人知道原因么
2
wusheng0 253 天前 via Android
会不会装错包了,ncu 应该是 npm-check-updates 吧,怎么会触发天气
|