git action: cannot be used with --no-frozen-lockfile on CI

1,318 阅读1分钟

git action构建pnpm 出现错误,本地没问题

系统: macos pnpm:7.25.0

Run pnpm install

Cannot perform a frozen installation because the lockfile needs updates

Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"

修复

npm install pnpm@7.5.0 -g
  • 呕心沥血肝到秃头找到问题,如果看到能解决您的问题,动动手指点个赞呗!