'Could not resolve dependency: peer react@"^16.13.1 || ^17.0.0" from @ckeditor/[email protected] node_modules/@ckeditor/ckeditor5-react

enter image description here

Could not resolve dependency: npm ERR! peer react@"^16.13.1 || ^17.0.0" from @ckeditor/[email protected] npm ERR! node_modules/@ckeditor/ckeditor5-react npm ERR! @ckeditor/ckeditor5-react@"^3.0.3" from the root project



Solution 1:[1]

This is dute to npm not working for new versions in your project. You have to force install the npm and node. Try the commands:

  1. npm insatll -f@ version that exists
  2. npm install -f

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ouflak