moritzvieli / ngx-bootstrap-slider

An Angular Bootstrap Slider, based on seiyria/bootstrap-slider.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR ReferenceError: Slider is not defined at SliderComponent

Nastya-Piu opened this issue · comments

Trying to add this slider with Angular 6 and have this error, maybe you know how to fix it

ERROR ReferenceError: Slider is not defined
at SliderComponent.push../node_modules/ngx-bootstrap-slider/fesm5/ngx-bootstrap-slider.js.SliderComponent.ngOnInit (ngx-bootstrap-slider.js:418)
at checkAndUpdateDirectiveInline (core.js:8939)
at checkAndUpdateNodeInline (core.js:10203)
at checkAndUpdateNode (core.js:10165)
at debugCheckAndUpdateNode (core.js:10798)
at debugCheckDirectivesFn (core.js:10758)
at Object.updateDirectives (post-decay.component.html:22)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:10750)
at checkAndUpdateView (core.js:10147)
at callViewAction (core.js:10388)

@Nastya-Piu I still see this issue, was this fix published to NPM? Any idea what am I missing?

Never mind, my bad. I forgot to include the boostrap slider in angular.json.

This has been dup by #10