Skip to content

Can't clone the repo #1298

@rChaoz

Description

@rChaoz

Describe the bug

Some packages are patched:

patchedDependencies:
sirv@3.0.2: vite/patches/sirv@3.0.2.patch
chokidar@3.6.0: vite/patches/chokidar@3.6.0.patch
dotenv-expand@12.0.3: vite/patches/dotenv-expand@12.0.3.patch

But the patches are gitignored:

vite

So installing dependencies fails:

ENOENT: no such file or directory, open 'C:\Users\[...]\vite-plus\vite\patches\sirv@3.0.2.patch'

Steps to reproduce

  1. git clone https://github.com/voidzero-dev/vite-plus
  2. cd vite-plus
  3. vp i

System Info

Environment:
  Version       22.18.0
  Source        .node-version

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

vp v0.1.15

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  pnpm v10.28.0
  Node.js          v22.18.0 (.node-version)

Used Package Manager

pnpm

Validations

Metadata

Metadata

Assignees

No one assigned

    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