ngx-admin: jQuery(...).slimScroll is not a function
how to solve the problem log like this:
error_handler.js:46EXCEPTION: Uncaught (in promise): Error: Error in ./BaMenu class BaMenu - inline template:1:64 caused by: jQuery(...).slimScroll is not a function
TypeError: jQuery(...).slimScroll is not a function
at BaSlimScroll._destroy (http://localhost:3000/main.bundle.js:38500:48)
at BaSlimScroll._scroll (http://localhost:3000/main.bundle.js:38493:14)
at BaSlimScroll.ngOnChanges (http://localhost:3000/main.bundle.js:38490:14)
at _View_BaMenu0.detectChangesInternal (BaMenu.ngfactory.js:118:52)
at _View_BaMenu0.AppView.detectChanges (http://localhost:3000/vendor.bundle.js:36729:14)
at _View_BaMenu0.DebugAppView.detectChanges (http://localhost:3000/vendor.bundle.js:36834:44)
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 4
- Comments: 17
It solved. Try install dependencies with
npm
andnode
with this specific versions:It’s Working For Me
npm install jquery-slimscroll
i am facing the same issue. someone plz help me.