Skip to content

npm install fails for 3.7.4 due to missing pnpm executableΒ #2639

Closed
@fspoettel

Description

This affects anyone that does not have pnpm installed.

npm ERR! code 126
npm ERR! path <snip>/node_modules/plyr
npm ERR! command failed
npm ERR! command sh -c pnpm build
npm ERR! Volta error: Could not find executable "pnpm"
npm ERR! 
npm ERR! Use `volta install` to add a package to your toolchain (see `volta help install` for more info).
npm ERR! Error details written to <snip>/.volta/log/volta-error-2023-03-09_16_16_50.648.log

npm ERR! A complete log of this run can be found in:
npm ERR!    <snip>/.npm/_logs/2023-03-09T15_16_50_317Z-debug-0.log

Expected behaviour

Installation should work and not rely on tools that might not be installed.

Actual behaviour

Installation fails.

Steps to reproduce

Run npm install plyr without having pnpm in $PATH.

Environment

  • Browser: -
  • Version: -
  • Operating System: Pop!_OS
  • Version: 22.04

Console errors (if any)

Link to where the bug is happening

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions