pnpm version problem in Build Typescript
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 65/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- github-actions, typescript
- 领域
- build-system, ci-cd
调研方向
从 GitHub Actions workflow "Build Typescript" 和 package.json 开始,将 action 配置中的 pnpm 版本与 packageManager 条目进行比较。重现 workflow 失败并统一版本来源,然后确认 workflow 在没有多版本错误的情况下完成。
由索引模型根据 Issue 内容生成。
描述
I keep my pnpm version pretty up to date (think I have min age set to 3 days).
The "Build Typescript" doesn't like this - it seems stuck on wanting v9.
Run pnpm/action-setup@v4
with:
version: 9
dest: ~/setup-pnpm
run_install: null
cache: false
cache_dependency_path: pnpm-lock.yaml
package_json_file: package.json
standalone: false
Running self-installer...
Error: Multiple versions of pnpm specified:
- version 9 in the GitHub Action config with the key "version"
- version pnpm@11.2.1 in the package.json with the key "packageManager"
Remove one of these versions to avoid version mismatch errors like ERR_PNPM_BAD_PM_VERSION
at readTarget (/home/runner/work/_actions/pnpm/action-setup/v4/dist/index.js:1:7537)
at runSelfInstaller (/home/runner/work/_actions/pnpm/action-setup/v4/dist/index.js:1:6702)
at async install (/home/runner/work/_actions/pnpm/action-setup/v4/dist/index.js:1:5706)
at async runMain (/home/runner/work/_actions/pnpm/action-setup/v4/dist/index.js:1:2804)
at async main (/home/runner/work/_actions/pnpm/action-setup/v4/dist/index.js:1:2726)
Error: Error: Multiple versions of pnpm specified:
- version 9 in the GitHub Action config with the key "version"
- version pnpm@11.2.1 in the package.json with the key "packageManager"
Remove one of these versions to avoid version mismatch errors like ERR_PNPM_BAD_PM_VERSION
- 主要语言
- Python
- 星标
- 1
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
javaBin/platform 的其他 Issue
相似的 Issue
-
essnmx good first issue
难度 1/5 1 小时以内 新手友好度 95/100
-
难度 2/5 1-3 小时 新手友好度 65/100
syfoud/Simulated_Scepter#174 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
Giskard-AI/giskard-oss#2840 · 1 条评论 ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success 未关闭area: repo bug perceived difficulty: 2
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
yeti-platform/yeti#1380 ·