Closed rajhim closed 6 years ago
ng build --prod u can check by this
It seems that I've mixed something experimental up in my package. Please try version 1.1.3.
And ng build --prod
is not supported now because I haven't make it compatible with AOT. So It only works with ng build
without production. :sob: :
so when u r gona update for prod ?
ERROR Error: Uncaught (in promise): Error: StaticInjectorError[ElementRef]: StaticInjectorError[ElementRef]: NullInjectorError: No provider for ElementRef! Error: StaticInjectorError[ElementRef]: StaticInjectorError[ElementRef]: NullInjectorError: No provider for ElementRef!
what is this error ???????
iam not able to solve this problem ...
ERROR Error: Uncaught (in promise): Error: StaticInjectorError[ElementRef]: StaticInjectorError[ElementRef]: NullInjectorError: No provider for ElementRef! Error: StaticInjectorError[ElementRef]: StaticInjectorError[ElementRef]: NullInjectorError: No provider for ElementRef!
This seems to be something missing in your project. Do you have a demo?
And I don't have experience with AoT. It might take times.
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 Component..
/node_modules/angular-select2-component/src/select2.component.ts