mujtaba01 / ngx-owl-carousel

An angular2 (4) wrapper for jquery owl-carousel library with dynamic carousel item change detection
MIT License
70 stars 25 forks source link

Is this installation method same for angular 5? #51

Open hmajid00 opened 6 years ago

hmajid00 commented 6 years ago

I need to use Owl carousel in Angular 5 project but its not working and showing below errors.

ERROR ReferenceError: $ is not defined
    at OwlChild.ngOnInit (owl-child.component.js:22)
    at checkAndUpdateDirectiveInline (core.js:12411)
    at checkAndUpdateNodeInline (core.js:13935)
    at checkAndUpdateNode (core.js:13878)
    at debugCheckAndUpdateNode (core.js:14771)
    at debugCheckDirectivesFn (core.js:14712)
    at Object.eval [as updateDirectives] (OwlCarousel.html:1)
    at Object.debugUpdateDirectives [as updateDirectives] (core.js:14697)
    at checkAndUpdateView (core.js:13844)
    at callViewAction (core.js:14195)

OwlCarousel.html:1 ERROR CONTEXT DebugContext_ {view: {…}, nodeIndex: 2, nodeDef: {…}, elDef: {…}, elView: {…}}
LiamDotPro commented 5 years ago

You haven't defined $ as jQuery in the window object.