Skip to content

npx --package=vite-plus vp create does not work anymore with 1.1.0 #2920

Open

Description

@vhiairrassary

Describe the bug

npx --package=vite-plus vp create does not work anymore, see logs below. The 1.0.0 version still works (can be tested using npx --package=vite-plus@1.0.0 vp create).

> node --version
v26.10.0

> npm --version
11.19.1

> npx --package=vite-plus vp create
Need to install the following packages:
vite-plus@1.1.0
Ok to proceed? (y) y
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: undefined@undefined
npm error Found: vite-plus@1.0.0
npm error node_modules/vite-plus
npm error   peerOptional vite-plus@"*" from oxfmt@0.70.0
npm error   node_modules/oxfmt
npm error     oxfmt@"=0.70.0" from vite-plus@1.0.0
npm error   peerOptional vite-plus@"*" from oxlint@1.85.0
npm error   node_modules/oxlint
npm error     oxlint@"=1.85.0" from vite-plus@1.0.0
npm error   1 more (the root project)
npm error
npm error Could not resolve dependency:
npm error vite-plus@"1.1.0" from the root project
npm error
npm error Conflicting peer dependency: vitest@5.0.3
npm error node_modules/vitest
npm error   peer vitest@"5.0.3" from @vitest/browser-playwright@5.0.3
npm error   node_modules/@vitest/browser-playwright
npm error     peerOptional @vitest/browser-playwright@"5.0.3" from vite-plus@1.1.0
npm error     node_modules/vite-plus
npm error       vite-plus@"1.1.0" from the root project
npm error     peerOptional @vitest/browser-playwright@"5.0.3" from vitest@5.0.3
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/vhiairrassary/.npm/_logs/2026-10-07T08_37_12_104Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/vhiairrassary/.npm/_logs/2026-10-07T08_37_12_104Z-debug-0.log

Reproduction

Steps to reproduce

No response

System Info

-

Used Package Manager

npm

Logs

Validations

Activity

  1. added theissue type on Oct 7, 2026
  2. vhiairrassary commented on Oct 7, 2026

    @vhiairrassary
    Author

    Maybe we just need to wait the next release of oxc, as it will include oxc-project/oxc#27385?

  3. self-assigned this
    on Oct 7, 2026
  4. added
    bugSomething isn't working
    and removed on Oct 7, 2026
  5. liangmiQwQ commented on Oct 7, 2026

    @liangmiQwQ
    Collaborator

    @vhiairrassary Thanks for your reporting, this is indeed a bug, and this is not just simply a dependency upgrade issue, I will collaborate with Oxc team to solve this.

    As a work around, could you try this with a fresh npm cache? This might solve the problem temporarily.

    npx --cache "$(mktemp -d)" --package=vite-plus@1.1.0 vp create
  6. vhiairrassary commented on Oct 8, 2026

    @vhiairrassary
    Author

    @liangmiQwQ Thank you for the workaround, I confirm it works as expected ✅

    By the way, scaffolding fails when using npm as package manager for both 1.0.0 and 1.1.0, but it is OK with yarn and pnpm. Do you want me to create an dedicated issues? I can reproduce on node 24 and 26.

    > npx --cache "$(mktemp -d)" --package=vite-plus@1.1.0 vp create
    Need to install the following packages:
    vite-plus@1.1.0
    Ok to proceed? (y) y
    npm warn deprecated @yuku-parser/binding-darwin-arm64@0.9.5: yuku-parser runs on yuku-core since 0.14
    npm warn deprecated @yuku-codegen/binding-darwin-arm64@0.9.5: yuku-codegen is pure JavaScript since 0.14
    VITE+ - The Unified Toolchain for the Web
    
      Vite+ Application
    
    ◇ Package name:
      abc
    
    ◇ Which package manager would you like to use?
      npm
    
    ◇ Which coding agent instruction files should Vite+ create?
      none
    
    ◇ Initialize a git repository?
      No
    
    ▲ Scaffolding failed (1s)
    npm notice
    npm notice New major version of npm available! 11.19.1 -> 12.2.0
    npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.0
    npm notice To update run: npm install -g npm@12.2.0
    npm notice
    
  7. liangmiQwQ commented on Oct 8, 2026

    @liangmiQwQ
    Collaborator

    Thanks a lot! Perhaps it is not needed, I've gained a general understanding of the root cause of the issue.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

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