Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this.$instance.slick is not a function #49

Open
Navin-vis opened this issue Apr 2, 2020 · 2 comments
Open

this.$instance.slick is not a function #49

Navin-vis opened this issue Apr 2, 2020 · 2 comments

Comments

@Navin-vis
Copy link

Can you help me with this.

this.$instance.slick is not a function
I attached a ss so please look the attachment for detail.

image

Here are some detail 👍
Angular CLI: 9.0.2
Node: 10.13.0
OS: darwin x64

angular.json file only architect part

"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/hagglr",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"outputHashing": "none",
"aot": true,
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"node_modules/slick-carousel/slick/slick.scss",
"node_modules/slick-carousel/slick/slick-theme.scss",
"src/assets/css/bootstrap.min.css",
"src/styles.scss"
],
"scripts": [
"node_modules/jquery/dist/jquery.min.js",
"node_modules/slick-carousel/slick/slick.min.js"
]
},
Slick version:

 "ngx-slick": "^0.2.1",
"ngx-slick-carousel": "^0.5.0",

I hope it will help.

Thanks.

@andyjonesx
Copy link

Duplicate of #8

@Navin-vis
Copy link
Author

Hi,

It did solve the issue when i change the target in tsconfig.json file.

i change the "target": "es2015", to "target": "es5", it worked .

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants