
获得徽章 12
- 等人赞过评论4
- 多图预警!!!
分享一个小 tips:
我写了一个前端模版github.com,约束它只能 Node 18 及以上才能跑。
业务需要,我测试一下它是否能在 Node 16 里跑,于是做出了如图1的更改,保留了 `engine-strict=true` 配置。
结果报 Node 版本不兼容,不得其解。我定睛一看,发现:Your Node version is incompatible with "registry.npmmirror.com/@commitlint/types/19.5.0",于是找到图2确认。
到这里已经知道问题的具体原因,下面交给AI总结一波,见图3。展开评论点赞