#Lerna
共 2 篇文章
解决 Lerna 报错 EEXIST Git tag already exists 发布中断修复
排查 在 Monorepo 中使用 lerna publish 发布多包到 npm 时,抛出 lerna ERR! EEXIST: Git tag 'v1.2.0' already exists 导致发版流程半途中断,分析 独立版本模式与 Git 标签同步。
解决 Lerna 报错 command not found hoisted binaries 提升命令丢失修复
排查 在子包中运行 npm scripts(如 jest / tsc)时报错 sh: jest: command not found,分析 Lerna 依赖提升(--hoist)与子包 node_modules/.bin 环境变量路径寻址。


