Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

pnpm version problem in Build Typescript

オープン 初心者向け
#129 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
github-actions, typescript

調査の方向性

"Build Typescript" GitHub Actions workflow と package.json から始め、アクション設定内の 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 はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

javaBin/platform のほかの issue

javaBin/platform の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。