javaBin / javaBin/platform

pnpm version problem in Build Typescript

Offen
#129 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
1
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.