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

Dependency conflict - Using Vite 3, but Histoire has Vite 2.9 as dependency #224

Closed
6 tasks done
rasc-br opened this issue Aug 2, 2022 · 1 comment
Closed
6 tasks done
Labels
to triage This issue needs to be triaged

Comments

@rasc-br
Copy link

rasc-br commented Aug 2, 2022

Describe the bug

As the title says, Histoire is build over Vite 2.9 and can't be used with Vite 3 (without workarounds)

Found: vite@3.0.4
npm ERR! node_modules/vite
npm ERR! dev vite@"^3.0.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vite@"^2.9.0" from histoire@0.8.4
npm ERR! node_modules/histoire
npm ERR! dev histoire@"0.8.4" from the root project

Reproduction

npm i vite@latest
npm i histoire@latest

System Info

System:
    OS: Windows 10 10.0.22000
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
    Memory: 3.51 GB / 15.68 GB
  Binaries:
    Node: 16.15.1 - C:\Program Files\nodejs\node.EXE
    npm: 8.11.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (103.0.1264.77)
    Internet Explorer: 11.0.22000.120
  npmPackages:
    @vitejs/plugin-vue: ^3.0.1 => 3.0.1
    vite: ^3.0.4 => 3.0.4

Used Package Manager

npm

Validations

@rasc-br rasc-br added the to triage This issue needs to be triaged label Aug 2, 2022
@Akryum
Copy link
Member

Akryum commented Aug 2, 2022

Duplicate of #189

@Akryum Akryum marked this as a duplicate of #189 Aug 2, 2022
@Akryum Akryum closed this as not planned Won't fix, can't repro, duplicate, stale Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants