volta icon indicating copy to clipboard operation
volta copied to clipboard

[bug.error] windows install pnpm failed.

Open cffycls opened this issue 8 months ago • 0 comments

PS D:\work\newsnow> volta -v
2.0.2

volta is installed by scoop.

PS D:\work\newsnow> npm i -g pnpm --verbose
   note: using Volta to install pnpm
success: installed [email protected] with executables: pnpm, pnpx
PS D:\work\newsnow> pnpm i --verbose
Volta error: Could not locate executable `pnpm` in your project.

Please ensure that all project dependencies are installed with `npm install` or `yarn install`
PS D:\work\newsnow> volta install pnpm --verbose
[verbose] Acquiring lock on Volta directory: D:\Applications\Scoop\apps\volta\current\appdata\volta.lock
[verbose] Found default configuration at 'D:\Applications\Scoop\apps\volta\current\appdata\tools\user\platform.json'
[verbose] [email protected] has already been fetched, skipping download
[verbose] [email protected] has already been fetched, skipping download
[verbose] [email protected] has already been fetched, skipping download
[verbose] Installing pnpm with command: "cmd.exe" "/C" "npm" "install" "--global" "--loglevel=warn" "--no-update-notifier" "--no-audit" "pnpm"
[verbose] [install stderr]

[verbose] [install stdout]

added 1 package in 4s

success: installed [email protected] with executables: pnpm, pnpx
[verbose] Unlocking Volta Directory
[verbose] No custom hooks found
PS D:\work\newsnow> volta install pnpm --verbose
[verbose] Acquiring lock on Volta directory: D:\Applications\Scoop\apps\volta\current\appdata\volta.lock
[verbose] Found default configuration at 'D:\Applications\Scoop\apps\volta\current\appdata\tools\user\platform.json'
[verbose] [email protected] has already been fetched, skipping download
[verbose] [email protected] has already been fetched, skipping download
[verbose] [email protected] has already been fetched, skipping download
[verbose] Installing pnpm with command: "cmd.exe" "/C" "npm" "install" "--global" "--loglevel=warn" "--no-update-notifier" "--no-audit" "pnpm"
[verbose] [install stderr]

[verbose] [install stdout]

added 1 package in 4s

success: installed [email protected] with executables: pnpm, pnpx
[verbose] Unlocking Volta Directory
[verbose] No custom hooks found
PS D:\work\newsnow> pnpm i --verbose
Volta error: Could not locate executable `pnpm` in your project.

Please ensure that all project dependencies are installed with `npm install` or `yarn install`

cffycls avatar Apr 28 '25 10:04 cffycls