Skip to content

vp create vue fails during with TypeError #1085

@hadarziv-army

Description

@hadarziv-army

Describe the bug

Running vp create vue fails during the project generation step when it executes pnpm dlx create-vue.

The CLI starts normally, prompts for inputs, and proceeds with default selections, but then crashes with a TypeError during the interactive prompt phase.

This prevents creating a new Vue project entirely.

Reproduction

This issue happens during CLI execution, so I cannot provide a minimal reproduction repository.

Steps to reproduce

  1. Run vp create vue
  2. Accept all default options (press Enter through prompts)
  3. Wait for the CLI to run pnpm dlx create-vue
  4. Observe the crash

System Info

Environment:
  Version  24.14.0
  Source   lts

Tool Paths:
  node  C:\Users\User\.vite-plus\js_runtime\node\24.14.0\node.exe
  npm   C:\Users\User\.vite-plus\js_runtime\node\24.14.0\npm.cmd
  npx   C:\Users\User\.vite-plus\js_runtime\node\24.14.0\npx.cmd


VITE+ - The Unified Toolchain for the Web

vp v0.1.13

Local vite-plus:
  vite-plus  Not found

Tools:
  vite             Not found
  rolldown         Not found
  vitest           Not found
  oxfmt            Not found
  oxlint           Not found
  oxlint-tsgolint  Not found
  tsdown           Not found

Environment:
  Package manager  Not found
  Node.js          v24.14.0

Used Package Manager

pnpm

Logs

The process crashes with the following error:

TypeError: Cannot read properties of undefined (reading 'length')
    at Object.validate (.../create-vue/bundle.js:3426:30)
    at onKeypress (.../create-vue/bundle.js:499:25)
    ...
Node.js v24.14.0

Validations

Metadata

Metadata

Assignees

Type

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions