Skip to content

vp create vue/vite fails v0.1.18 #1404

@meilihao

Description

@meilihao

Describe the bug

When I want to create a new project using vp create vue/vp create vite, I get failed to prepare the command for injection: Invalid argument (os error 22)

Reproduction

none

Steps to reproduce

$ vp create vite:monorepo
VITE+ - The Unified Toolchain for the Web

◇ Package name:
  demo

◇ Which package manager would you like to use?
  pnpm

◇ Which coding agent instruction files should Vite+ create?
  AGENTS.md

◇ Which editor are you using?
    Writes editor config files to enable recommended extensions and Oxlint/Oxfmt integrations.
  VSCode

◇ Set up pre-commit hooks to run formatting, linting, and type checking with auto-fixes?
  Yes

◇ Scaffolded demo with Vite+ monorepo
• Node 24.15.0  pnpm 10.33.0
✓ Dependencies installed in 2.5s
→ Next: cd demo && vp run
$ cd demo
$ vp create vue
VITE+ - The Unified Toolchain for the Web

◇ Where should the new package be added to the monorepo:
  apps/


Generating project…

Running: pnpm dlx create-vue

failed to prepare the command for injection: Invalid argument (os error 22)
[Error: failed to prepare the command for injection: Invalid argument (os error 22)] {
  code: 'GenericFailure'
}
Failed to generate code: failed to prepare the command for injection: Invalid argument (os error 22)
$ vp create vite
VITE+ - The Unified Toolchain for the Web

◇ Where should the new package be added to the monorepo:
  apps/


Generating project…

Running: pnpm dlx create-vite --no-immediate --no-rolldown

failed to prepare the command for injection: Invalid argument (os error 22)
[Error: failed to prepare the command for injection: Invalid argument (os error 22)] {
  code: 'GenericFailure'
}
Failed to generate code: failed to prepare the command for injection: Invalid argument (os error 22)

System Info

$ vp env current
VITE+ - The Unified Toolchain for the Web

Environment:
  Version       24.15.0
  Source        engines.node
  Source Path   /data/tmpfs/voidzero/demo/package.json
  Project Root  /data/tmpfs/voidzero/demo

Tool Paths:
  node  /home/chen/.vite-plus/js_runtime/node/24.15.0/bin/node
  npm   /home/chen/.vite-plus/js_runtime/node/24.15.0/bin/npm
  npx   /home/chen/.vite-plus/js_runtime/node/24.15.0/bin/npx
$ vp -V
VITE+ - The Unified Toolchain for the Web

vp v0.1.18

Local vite-plus:
  vite-plus  v0.1.18

Tools:
  vite             v8.0.8
  rolldown         v1.0.0-rc.15
  vitest           v4.1.4
  oxfmt            v0.45.0
  oxlint           v1.60.0
  oxlint-tsgolint  v0.20.0
  tsdown           v0.21.8

Environment:
  Package manager  pnpm v10.33.0
  Node.js          v24.15.0 (engines.node)

Used Package Manager

pnpm

Logs

Validations

Metadata

Metadata

Assignees

Type

Priority

None yet

Effort

None yet

Target date

None yet

Start date

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions