WYSIWYG Setup

ATPIT asked 11 months ago

I have installed mdb-angular-ui-kit and mdb-angular-wysiwyg. But when trying to execute the command: ng add mdb-angular-ui-kit i get the following error.

I use: - mdb-angular-ui-kit 5.1.0 - mdb WYSIWYG 5.0.1 - Angular 16.2.10

npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @angular/animations@16.2.12 npm ERR! Found: @angular/core@16.2.10 npm ERR! node_modules/@angular/core npm ERR! @angular/core@"16.2.10" from the root project npm ERR! peer @angular/core@"^16.0.0 || ^17.0.0" from @angular/cdk@16.2.12 npm ERR! node_modules/@angular/cdk npm ERR! @angular/cdk@"^16.2.10" from the root project npm ERR! peer @angular/cdk@"^16.0.0" from mdb-angular-ui-kit@5.1.0 npm ERR! node_modules/mdb-angular-ui-kit npm ERR! mdb-angular-ui-kit@"git+https://[token]@git.mdbootstrap.com/mdb/angular/mdb5/prd/mdb5-angular-ui-kit-pro-essential" from the root projectnpm ERR! 1 more (mdb-angular-wysiwyg) npm ERR! 6 more (@ng-bootstrap/ng-bootstrap, @ngneat/until-destroy, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/core@"16.2.12" from @angular/animations@16.2.12 npm ERR! node_modules/@angular/animations npm ERR! @angular/animations@"^16.2.10" from the root project npm ERR! peerOptional @angular/animations@"16.2.12" from @angular/platform-browser@16.2.12 npm ERR! node_modules/@angular/platform-browser npm ERR! @angular/platform-browser@"^16.2.10" from the root project npm ERR! 5 more (@angular/forms, @angular/platform-browser-dynamic, ...) npm ERR! 2 more (@angular/platform-server, mdb-angular-ui-kit) npm ERR! npm ERR! Conflicting peer dependency: @angular/core@16.2.12 npm ERR! node_modules/@angular/core npm ERR! peer @angular/core@"16.2.12" from @angular/animations@16.2.12 npm ERR! node_modules/@angular/animations npm ERR! @angular/animations@"^16.2.10" from the root project npm ERR! peerOptional @angular/animations@"16.2.12" from @angular/platform-browser@16.2.12 npm ERR! node_modules/@angular/platform-browser npm ERR! @angular/platform-browser@"^16.2.10" from the root project npm ERR! 5 more (@angular/forms, @angular/platform-browser-dynamic, ...) npm ERR! 2 more (@angular/platform-server, mdb-angular-ui-kit)


Arkadiusz Idzikowski staff commented 11 months ago

Could you please edit your post and provide more information about the MDB Angular (mdb-angular-ui-kit), MDB Wysiwyg and Angular versions that you use in your project?


Arkadiusz Idzikowski staff commented 11 months ago

It looks like MDB libraries versions are correct. Please check all the other libraries which use Angular as a dependency to make sure you use versions with support for Angular 16.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: MDB5 5.2.0
  • Device: PC
  • Browser: Edge
  • OS: Windows
  • Provided sample code: No
  • Provided link: No