yisraelx / ngx-showdown

Angular (>=2) integration for Showdown
http://yisraelx.github.io/ngx-showdown
MIT License
15 stars 13 forks source link

ERROR in The target entry-point "ngx-showdown" has missing dependencies: - showdown #21

Open WuglyakBolgoink opened 4 years ago

WuglyakBolgoink commented 4 years ago

I have this error message (angular v10):

node_modules/ngx-showdown/showdown.module.d.ts:18:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.

This likely means that the library (ngx-showdown) which declares ShowdownModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

yisraelx commented 4 years ago

I have this error message (angular v10):

I checked ngx-showdown@5.1.0 with angular@10.0.8 and did not see any compatibility issue.


ERROR in The target entry-point "ngx-showdown" has missing dependencies: - showdown

I think this error is thrown because you forgot to install showdown (peer dependency).

WuglyakBolgoink commented 4 years ago

@yisraelx ok, i will check this too

Aleksandr-ru commented 4 years ago

Same problem with Angular 9, fixed by manual installation of showdown. Why don't you add it to package dependencies? And @types/showdown too.