jodit / jodit-angular

Angular wrapper for Jodit && Hey. Due to the fact that I do not use Angular in my projects, I cannot fix plugin errors in a timely manner. If you want the plugin to develop, send PR or better become a contributor
MIT License
48 stars 35 forks source link

Module not found: Error: Can't resolve 'jodit' #93

Closed dvdnhm closed 2 years ago

dvdnhm commented 2 years ago

I just created a new project with Angular 12.2.0 and followed the instructions.

I am getting error below: ./node_modules/jodit-angular/ivy_ngcc__/fesm2015/jodit-angular.js:94:21-37 - Error: Module not found: Error: Can't resolve 'jodit' in 'xxxxxx\jodit-demo\node_modules\jodit-angular__ivy_ngcc\fesm2015'

any suggestions?

MrElectroNick commented 2 years ago

Hi @dvdnhm you need to include jodit itself along with jodit-angular within your package json so install it also

dvdnhm commented 2 years ago

it should not be relevant but somehow it is... if anyone gets the same problem, install Jodit before Jodit-Angular