rd-dev-ukraine / angular-io-slimscroll

Customizable slimScroll directive for Angular 2.
MIT License
18 stars 19 forks source link

AoT compilation #14

Closed dramosBC closed 6 years ago

dramosBC commented 7 years ago

I am running the command

$ ng build --environment=staging --aot

ERROR in Error: Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in ........

The scrollbar is working very good but I have this problem. I am using the last version. Could you give me a hand with this?

Thanks

Daniel

Orvisky commented 7 years ago

Hi @dramosBC. If you use Angular 5 in your project, you can try mi fork. I upgraded fork to Angular 5 and It solved my problem. See https://github.com/rd-dev-ukraine/angular-io-slimscroll/issues/15

eugenesaenko commented 6 years ago

Package was updated to version 2.0.0. 🎉