pnpm / action-setup

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

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

Open glensc opened 10 months ago

glensc commented 10 months 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 8 months ago
uses: pnpm/action-setup@v2
+  with:
+    version: 8