My system is Centos,seem it good in localhost but when I install it on Centos, problem happen, cannot install ckeditor with this:
npm install --save @ckeditor/ckeditor5-react @ckeditor/ckeditor5-build-classic
Am I wrong something ?
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^17.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.13.1" from @ckeditor/[email protected]
npm ERR! node_modules/@ckeditor/ckeditor5-react
npm ERR! @ckeditor/ckeditor5-react@"*" 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-01-26T14_10_49_177Z-debug.log
question from:
https://stackoverflow.com/questions/65903057/cannot-install-ckeditor5-react-in-react-17-0-1 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…