Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@vitest/mocker v3.0.0-beta.2 does not support vite v6 as a peer-dependency #7072

Closed
6 tasks done
christopherschroer opened this issue Dec 11, 2024 · 1 comment
Closed
6 tasks done

Comments

@christopherschroer
Copy link

Describe the bug

When installing vite v6 and vitest v3.0.0-beta.2 using pnpm, I get the following warning:

image

It seems that @vitest/mocker v3.0.0-beta.2 does not support vite v6 as a peer-dependency

Reproduction

See https://github.com/vitest-dev/vitest/blob/v3.0.0-beta.2/packages/mocker/package.json#L58 for the problematic line

System Info

System:
    OS: Windows 11 10.0.22000
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz
    Memory: 9.96 GB / 31.28 GB
  Binaries:
    Node: 22.12.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 10.8.3 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.15.0 - ~\AppData\Local\pnpm\pnpm.EXE
  Browsers:
    Edge: Spartan (44.22000.2600.0), Chromium (131.0.2903.51)
    Internet Explorer: 11.0.22000.2600
  npmPackages:
    @vitejs/plugin-react-swc: 3.7.2 => 3.7.2
    @vitest/coverage-v8: 3.0.0-beta.2 => 3.0.0-beta.2
    @vitest/ui: 3.0.0-beta.2 => 3.0.0-beta.2
    vite: 6.0.3 => 6.0.3
    vitest: 3.0.0-beta.2 => 3.0.0-beta.2

Used Package Manager

pnpm

Validations

@hi-ogawa
Copy link
Contributor

Not released yet, but this has been fixed on main

@github-actions github-actions bot locked and limited conversation to collaborators Dec 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants