Skip to content

Can't run vp test. Failed to resolve test command #1884

Closed

Description

@bulebrainbrand

Describe the bug

When i run vp test , happen "Failed to resolve test command" error. i refreshed node_modules, do not resolve.
I think this bug is related commit #1588 .
also vp -V result include vitest v0.1.24. this is tricky.

Reproduction

https://github.com/bulebrainbrand/gitrain

Steps to reproduce

  1. Run vp i or pnpm i
    2a. run vp test
    2b. run vp run test -> select vp test --watch in core package

System Info

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

Environment:
  Version  24.17.0
  Source   lts

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

Package Manager:
  Name          pnpm
  Version       11.8.0
  Source        packageManager
  Source Path   C:\Users\Owner\created\project\coding\tools\gitrain\package.json
  Project Root  C:\Users\Owner\created\project\coding\tools\gitrain
  Bin Path      C:\Users\Owner\.vite-plus\package_manager\pnpm\11.8.0\pnpm\bin\pnpm.cmd




> vp -V
VITE+ - The Unified Toolchain for the Web

vp v0.2.1

Local vite-plus:
  vite-plus  v0.2.1

Tools:
  vite             v8.0.16
  rolldown         v1.1.1
  vitest           v0.1.24
  oxfmt            v0.55.0
  oxlint           v1.70.0
  oxlint-tsgolint  v0.23.0
  tsdown           v0.22.3

Environment:
  Package manager  pnpm v11.8.0
  Node.js          v24.17.0

Used Package Manager

pnpm

Logs

PS C:\Users\Owner\created\project\coding\tools\gitrain> vp test
VITE+ - The Unified Toolchain for the Web

error: Failed to resolve test command: GenericFailure, Error: Could not find 'vitest' bin entry in C:\Users\Owner\created\project\coding\tools\gitrain\node_modules\.pnpm\@voidzero-dev+vite-plus-tes_3a4cd0ce1c30cdf0f83fca0f96bdd33e\node_modules\@voidzero-dev\vite-plus-test\package.json

Validations

Activity

  1. jong-kyung commented on Jun 19, 2026

    @jong-kyung
    Collaborator

    Since Vitest is now bundled with vite-plus, could you remove the vitest entry from both catalog and overrides, then try again?

  2. self-assigned this
    on Jun 19, 2026
  3. bulebrainbrand commented on Jun 19, 2026

    @bulebrainbrand
    Author

    thank you! i delete it and success vp test now. my bad

  4. branislavjuhaas commented on Jun 30, 2026

    @branislavjuhaas

    It would be probably nice to document it somewhere. At least in some kind of changelog or migration guide

  5. jong-kyung commented on Jun 30, 2026

    @jong-kyung
    Collaborator

    It would be probably nice to document it somewhere. At least in some kind of changelog or migration guide

    We’re currently preparing a guide and an easier migration path. Please wait for #1891. 🙇‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Fields

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