اذهب إلى المحتوى
  • 0

ﻻ أستطيع تثبيت react-facebook-login

خالد مرتضى

السؤال

عندما احاول تثبيت المكتبة ياتيني ذلك الخطا 

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: blog@0.1.0
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR!   react@"17.0.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.0.0" from react-facebook-login@4.1.1
npm ERR! node_modules/react-facebook-login
npm ERR!   react-facebook-login@"*" 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 /root/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-09-20T06_30_40_111Z-debug.log

 

رابط هذا التعليق
شارك على الشبكات الإجتماعية

Recommended Posts

  • 0

من بعد إصدار React 17 أصبحت الdependencies التي ﻻ تقوم بعمل import ل React 17 تقوم بعمل خطأ عند التثبيت , لحل تلك المشكلة يرجى تثبيتها عن طريق الأمر التالي

npm install react-facebook-login --legacy-peer-deps

هذا الأمر سيجعل الnpm يتغاضي عن تثبيت الإعتماديات الخاصة ب react-facebook-login

رابط هذا التعليق
شارك على الشبكات الإجتماعية

انضم إلى النقاش

يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.

زائر
أجب على هذا السؤال...

×   لقد أضفت محتوى بخط أو تنسيق مختلف.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   جرى استعادة المحتوى السابق..   امسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

  • إعلانات

  • تابعنا على



×
×
  • أضف...