cipchk / ngx-highlight-js

Angular for syntax highlighting with highlight.js
https://cipchk.github.io/ngx-highlight-js/
MIT License
25 stars 4 forks source link

Problem with Angular Ivy #20

Open rancourtjf opened 1 year ago

rancourtjf commented 1 year ago

I have install update of @angular/cli and angular/core and cannot build project because highlight " This likely means that the library (ngx-highlightjs) which declares HighlightModule 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."

what can I do?

cipchk commented 1 year ago

I'm pretty sure ngx-highlightjs has supported lvy long time ago, can you provide your environment?

rancourtjf commented 1 year ago

Sample-01 project of Auth0 for angular npm install @auth0/auth0-angular

I think I saw the problem is they put an old version in the sample Sample-01 install "ngx-highlightjs": "^4.1.4 »,

I have started a new fresh angular project outside of sample-01 and install npm i ngx-highlightjs It’s what I built…. "ngx-highlightjs": "^9.0.0 »,

Le 30 mai 2023 à 02:26, 卡色 @.***> a écrit :

I'm pretty sure ngx-highlightjs has supported lvy long time ago, can you provide your environment?

— Reply to this email directly, view it on GitHub https://github.com/cipchk/ngx-highlight-js/issues/20#issuecomment-1567840192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVLUH4ECHJQFM5NIYEEZO43XIWHKHANCNFSM6AAAAAAYRYJPLY. You are receiving this because you authored the thread.

cipchk commented 1 year ago

Pls try using latest version.