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

fix: "Conflicting peer dependency" #8

Merged
merged 1 commit into from
Jul 21, 2022
Merged

fix: "Conflicting peer dependency" #8

merged 1 commit into from
Jul 21, 2022

Conversation

mikemand
Copy link
Contributor

NPM complains about "Conflicting peer dependency" when using your package:

npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: vite-plugin-full-reload@1.0.2
npm WARN Found: vite@3.0.2
npm WARN node_modules/vite
npm WARN   dev vite@"^3.0.0" from the root project
npm WARN   2 more (@defstudio/vite-livewire-plugin, laravel-vite-plugin)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer vite@"2" from vite-plugin-full-reload@1.0.2
npm WARN node_modules/vite-plugin-full-reload
npm WARN   vite-plugin-full-reload@"^1.0.0" from @defstudio/vite-livewire-plugin@0.2.0
npm WARN   node_modules/@defstudio/vite-livewire-plugin
npm WARN   1 more (laravel-vite-plugin)
npm WARN 
npm WARN Conflicting peer dependency: vite@2.9.14
npm WARN node_modules/vite
npm WARN   peer vite@"2" from vite-plugin-full-reload@1.0.2
npm WARN   node_modules/vite-plugin-full-reload
npm WARN     vite-plugin-full-reload@"^1.0.0" from @defstudio/vite-livewire-plugin@0.2.0
npm WARN     node_modules/@defstudio/vite-livewire-plugin
npm WARN     1 more (laravel-vite-plugin)

If you do not want to maintain Vite v2 compatibility, we can remove that from the peer dependencies and just leave v3.

@ElMassimo
Copy link
Owner

Thanks Micheal! I intended to write ^2, but it looks like I wrote a strict 2.

@ElMassimo ElMassimo changed the title Fix "Conflicting peer dependency" fix: "Conflicting peer dependency" Jul 21, 2022
@ElMassimo ElMassimo merged commit 91cbc71 into ElMassimo:main Jul 21, 2022
@mikemand mikemand deleted the patch-1 branch July 21, 2022 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants