@laravel_creative_3103

Как правильно инсталлировать пакет ngx-quill?

Ввожу в терминал как обычно команду npm i ngx-quill, после чего вылетает такие ошибки:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: ang-app@0.0.0
npm ERR! Found: @angular/core@15.2.9
npm ERR! node_modules/@angular/core
npm ERR!   @angular/core@"^15.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/core@"^16.0.0" from ngx-quill@22.0.0
npm ERR! node_modules/ngx-quill
npm ERR!   ngx-quill@"*" 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\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\AppData\Local\npm-cache\_logs\2023-05-26T17_58_05_733Z-debug-0.log


В чем может быть ошибка?
  • Вопрос задан
  • 44 просмотра
Решения вопроса 1
@laravel_creative_3103 Автор вопроса
npm i ngx-quill@20.0.0

указал версию пакета, и все скачалось
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы