Skip to content

[Windows] vp create vite:application fails with scoped package names and missing directories #938

@rangoleiorz

Description

@rangoleiorz

Describe the bug

Description

On Windows, running vp create vite:application in a monorepo with a scoped package name (e.g. core) causes two issues:

  1. If the target directory (packages/core) doesn't exist, the command fails with:

  2. A folder packagescore is created at the monorepo root instead of packages/@primex/core.

Expected Behavior

  • CLI should auto-create the target directory if missing
  • Scoped package names should map to nested folders correctly on Windows

Reproduction

.

Steps to reproduce

  1. vp create vite:monorepo
  2. vp create vite:application
  3. Target folder: packages/
  4. Package name: core

System Info

VITE+ - The Unified Toolchain for the Web

vp v0.1.11

Local vite-plus:
  vite-plus  v0.1.11

Tools:
  vite             v8.0.0
  rolldown         v1.0.0-rc.9
  vitest           v4.1.0
  oxfmt            v0.40.0
  oxlint           v1.55.0
  oxlint-tsgolint  v0.16.0
  tsdown           v0.21.2

Used Package Manager

pnpm

Logs

Validations

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions