Skip to content

Should vp dev fail in monorepo root? #770

Closed

Description

@TheAlexLichter

Describe the bug

  1. Create monorepo repo via vp create
  2. go into root
  3. run vp dev

Expected: Wouldn't work (would be vp dev apps/website)
Actual: Starts dev server but fails when opening the page.

Reproduction

(explained above)

Steps to reproduce

No response

System Info

VITE+ - The Unified Toolchain for the Web

Environment:
  Version       24.14.0
  Source        engines.node
  Source Path   /home/alichter/Programming/vp-demo/package.json
  Project Root  /home/alichter/Programming/vp-demo

Tool Paths:
  node  /home/alichter/.vite-plus/js_runtime/node/24.14.0/bin/node
  npm   /home/alichter/.vite-plus/js_runtime/node/24.14.0/bin/npm
  npx   /home/alichter/.vite-plus/js_runtime/node/24.14.0/bin/npx
VITE+ - The Unified Toolchain for the Web

vp v0.1.5

Local vite-plus:
  vite-plus  v0.1.5

Tools:
  vite             v8.0.0-beta.18
  rolldown         v1.0.0-rc.8
  vitest           v4.0.18
  oxfmt            v0.36.0
  oxlint           v1.52.0
  oxlint-tsgolint  v0.16.0
  tsdown           v0.21.1

Used Package Manager

pnpm

Logs

Validations

Activity

  1. linear commented on Mar 10, 2026

    @linear
  2. TheAlexLichter commented on Mar 10, 2026

    @TheAlexLichter
    MemberAuthor

    Note: Similar case for vp build/vp pack in root.

  3. fengmk2 commented on Mar 12, 2026

    @fengmk2
    Member

    vp dev is the current default logic of the vite dev server, and we have not made any modifications.

  4. shqingda commented on Mar 13, 2026

    @shqingda

    Same problem.

    vp run dev and vp dev apps/website work fine, but vp dev is hitting a 404.

  5. cpojer commented on Mar 16, 2026

    @cpojer
    Member

    No, it should not fail, it should list all the projects where you can start a Vite dev server in, and run it there, interactively just like vp run.

  6. connorshea commented on Mar 22, 2026

    @connorshea
    Contributor

    Just wasted an hour trying to figure out what in the heck was wrong with the oxc website repo :') #1105

    I'm not 100% sure if this is the problem, or if it's a problem caused by vitepress usage in the oxc website repo?

    At the very least this should hard-error if there's nothing being hosted. Right now it looks like it's working and there's no indication whatsoever as to what possible problem may exist.

  7. mythmon commented on Apr 9, 2026

    @mythmon

    The instructions at https://voidzero.dev/posts/announcing-vite-plus-alpha suggest that vp create, vp install, and vp dev should work, and don't caveat that a monorepo would cause problems with that flow.

  8. added this to the Beta milestone on May 18, 2026
  9. Boshen commented on May 18, 2026

    @Boshen
    Member

    We don't know what the solution is yet but we should do something to mitigate the confusion.

  10. modified the milestones: Beta, RC on Jul 6, 2026
  11. fengmk2 commented on Aug 6, 2026

    @fengmk2
    Member

    fixed in #2031

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

Priority

None yet

Effort

None yet

Target date

None yet

Start date

None yet

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions