Skip to content

Support for pnpm v12 #2276

Description

@Arthie

Description

Pnpm has a released beta version for v12
It's not yet supported in vite-plus. Vite-plus needs to add compatibility due to changed install logic.
Would be great to add support before pnpm v12 is released.

Suggested solution

Testing pnpm v12 with vite-plus:

  1. Bump the pnpm version in package.json to v12
"packageManager": "pnpm@12.0.0-beta.2"
  1. Run command vp install and see error:
error: Failed to exec /Users/.../.vite-plus/package_manager/pnpm/12.0.0-beta.2/pnpm/bin/pnpm: No such file or directory (os error 2)

Alternative

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.

Metadata

Metadata

Assignees

Fields

Priority

None yet

Start date

None yet

Target date

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions