pnpm / action-setup

Install pnpm package manager
https://github.com/marketplace/actions/setup-pnpm
MIT License
939 stars 89 forks source link

Duplicate message in error: in the package.json with the key "packageManager" #104

Open glensc opened 1 year ago

glensc commented 1 year ago
Running self-installer...
  Error: No pnpm version is specified.
  Please specify it by one of the following ways:
    - in the GitHub Action config with the key "version"
  Error: Error: No pnpm version is specified.
  Please specify it by one of the following ways:
    - in the GitHub Action config with the key "version"
    - in the package.json with the key "packageManager"
    - in the package.json with the key "packageManager"
      at readTarget (/home/runner/work/_actions/pnpm/action-setup/v2/dist/index.js:1:3939)
      at async runSelfInstaller (/home/runner/work/_actions/pnpm/action-setup/v2/dist/index.js:1:2928)
      at async install (/home/runner/work/_actions/pnpm/action-setup/v2/dist/index.js:1:2239)
      at async main (/home/runner/work/_actions/pnpm/action-setup/v2/dist/index.js:1:445)
GaoNeng-wWw commented 10 months ago
uses: pnpm/action-setup@v2
+  with:
+    version: 8