hansmaad / ng-units

Angular component library for units of measurement
https://hansmaad.github.io/ng-units/
MIT License
3 stars 3 forks source link

'NgUnitsModule' does not appear to be an NgModule class. #64

Closed haladamateusz closed 1 year ago

haladamateusz commented 1 year ago

Hello,

After migration to Angular v16, I am unable to use NgUnits library anymore. I got the following error:

This likely means that the library (ng-units) which declares NgUnitsModule 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.

Is there any chance for update?

hansmaad commented 1 year ago

Yes, I planned that already. I'll probably have to do it soon, when we will update to v16.

hansmaad commented 1 year ago

I've published v15 and v16. Let me know if it works for you :)

haladamateusz commented 1 year ago

Works great. Thanks for the update!