Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[bug.error] windows install pnpm failed. #2038

Copy link
Copy link
Open
@cffycls

Description

@cffycls
Issue body actions
  • Win11
  • node@20.18.1
  • npm@10.9.1
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 pnpm@10.10.0 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] node@20.18.1 has already been fetched, skipping download
[verbose] npm@10.9.1 has already been fetched, skipping download
[verbose] yarn@4.7.0 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 pnpm@10.10.0 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] node@20.18.1 has already been fetched, skipping download
[verbose] npm@10.9.1 has already been fetched, skipping download
[verbose] yarn@4.7.0 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 pnpm@10.10.0 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`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.