advanced-chat / vue-advanced-chat

A beautiful chat rooms web component compatible with all Javascript frameworks
https://advanced-chat.github.io/vue-advanced-chat/
MIT License
1.74k stars 470 forks source link

it seems the plugin is not compatible with vuejs3, or im not qualified to install it properly #317

Closed ADNANE-RBT closed 2 years ago

ADNANE-RBT commented 2 years ago

i tried installing the plugin and adding it to my project. once i tried the install cmd i got this error :

 npm install --save vue-advanced-chat
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: e-learning-project@0.1.0
npm ERR! Found: vue@3.2.37
npm ERR! node_modules/vue
npm ERR!   vue@"^3.2.13" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^2.6.14" from vue-advanced-chat@1.5.5
npm ERR! node_modules/vue-advanced-chat
npm ERR!   vue-advanced-chat@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\Dell PC\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Dell PC\AppData\Local\npm-cache\_logs\2022-06-11T13_36_22_585Z-debug-0.log

while my understandings to vuejs 3 are still lacking, i believe it means the plugin cant be used for vuejs3

OkilSaber commented 2 years ago

You have to install using this command: npm install --save https://github.com/antoine92190/vue-advanced-chat/tarball/next The version compatible with vue 3 is on the nextbranch.

antoine92190 commented 2 years ago

Indeed, you need to use the next branch to use this plugin with Vue 3