dependency conflict when install tailwindcss-rtl package
amirmostaghim opened this issue · 0 comments
Hello everyone
I have a problem with install tailwindcss-rtl in my angular v12 project with this npm error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @fullcalendar/angular@4.4.5-beta
npm ERR! Found: @angular/common@12.2.1
npm ERR! node_modules/@angular/common
npm ERR! peer @angular/common@"^12.0.0 || ^13.0.0-0" from @angular/cdk@12.2.1
npm ERR! node_modules/@angular/cdk
npm ERR! peer @angular/cdk@"12.2.1" from @angular/material@12.2.1
npm ERR! node_modules/@angular/material
npm ERR! peer @angular/material@"12.2.1" from @angular/material-moment-adapter@12.2.1
npm ERR! node_modules/@angular/material-moment-adapter
npm ERR! @angular/material-moment-adapter@"12.2.1" from the root project
npm ERR! 1 more (the root project)
npm ERR! @angular/cdk@"12.2.1" from the root project
npm ERR! peer @angular/common@"12.2.1" from @angular/forms@12.2.1
npm ERR! node_modules/@angular/forms
npm ERR! peer @angular/forms@"^12.0.0 || ^13.0.0-0" from @angular/material@12.2.1
npm ERR! node_modules/@angular/material
npm ERR! peer @angular/material@"12.2.1" from @angular/material-moment-adapter@12.2.1
npm ERR! node_modules/@angular/material-moment-adapter
npm ERR! @angular/material-moment-adapter@"12.2.1" from the root project
npm ERR! 1 more (the root project)
npm ERR! peer @angular/forms@"^10.0.0 || ^11.0.0 || ^12.0.0" from ngx-quill@14.2.0
npm ERR! node_modules/ngx-quill
npm ERR! ngx-quill@"14.2.0" from the root project
npm ERR! 1 more (the root project)
npm ERR! 8 more (@angular/material, @angular/platform-browser, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^9.0.0" from @fullcalendar/angular@4.4.5-beta
npm ERR! node_modules/@fullcalendar/angular
npm ERR! @fullcalendar/angular@"4.4.5-beta" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @angular/common@9.1.13
npm ERR! node_modules/@angular/common
npm ERR! peer @angular/common@"^9.0.0" from @fullcalendar/angular@4.4.5-beta
npm ERR! node_modules/@fullcalendar/angular
npm ERR! @fullcalendar/angular@"4.4.5-beta" 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.
how can I fix it?