angular2-carousel
angular2-carousel copied to clipboard
Error NgModule.declarations in angular 8
Hi
I am using angular 8 and then I got this error when I type ng serve
ERROR in Value at position 0 in the NgModule.declarations of CarouselModule is not a reference: [object Object]
below are my dependencies
"dependencies": {
"@angular/animations": "~8.2.13",
"@angular/cdk": "^8.2.3",
"@angular/common": "~8.2.13",
"@angular/compiler": "~8.2.13",
"@angular/core": "~8.2.13",
"@angular/flex-layout": "^8.0.0-beta.27",
"@angular/forms": "~8.2.13",
"@angular/material": "^8.2.3",
"@angular/platform-browser": "~8.2.13",
"@angular/platform-browser-dynamic": "~8.2.13",
"@angular/pwa": "^0.803.16",
"@angular/router": "~8.2.13",
"@angular/service-worker": "~8.2.13",
"@ng-bootstrap/ng-bootstrap": "^5.1.2",
"@ng-bootstrap/schematics": "^2.0.0-alpha.1",
"angular2-carousel": "^1.0.17",
"bootstrap": "^4.3.1",
"hammerjs": "^2.0.8",
"rxjs": "~6.5.3",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.803.16",
"@angular/cli": "~8.3.16",
"@angular/compiler-cli": "~8.2.13",
"@angular/language-service": "~8.2.13",
"@types/jasmine": "~3.4.4",
"@types/jasminewd2": "~2.0.8",
"@types/node": "~12.12.3",
"codelyzer": "^5.2.0",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.4.1",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~2.1.0",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.2",
"protractor": "~5.4.2",
"ts-node": "~8.4.1",
"tslint": "~5.20.0",
"typescript": "^3.4.5"
}
Hi, Try to use ngx-carousel, is another package On Fri, 1 Nov 2019 at 15:58, s-triar [email protected] wrote:
Hi I am using angular 8 and then I got this error when I type ng serve ERROR in Value at position 0 in the NgModule.declarations of CarouselModule is not a reference: [object Object]
below are my dependencies
"dependencies": { "@angular/animations": "~8.2.13", "@angular/cdk": "^8.2.3", "@angular/common": "~8.2.13", "@angular/compiler": "~8.2.13", "@angular/core": "~8.2.13", "@angular/flex-layout": "^8.0.0-beta.27", "@angular/forms": "~8.2.13", "@angular/material": "^8.2.3", "@angular/platform-browser": "~8.2.13", "@angular/platform-browser-dynamic": "~8.2.13", "@angular/pwa": "^0.803.16", "@angular/router": "~8.2.13", "@angular/service-worker": "~8.2.13", "@ng-bootstrap/ng-bootstrap": "^5.1.2", "@ng-bootstrap/schematics": "^2.0.0-alpha.1", "angular2-carousel": "^1.0.17", "bootstrap": "^4.3.1", "hammerjs": "^2.0.8", "rxjs": "~6.5.3", "tslib": "^1.10.0", "zone.js": "~0.10.2" }, "devDependencies": { "@angular-devkit/build-angular": "~0.803.16", "@angular/cli": "~8.3.16", "@angular/compiler-cli": "~8.2.13", "@angular/language-service": "~8.2.13", "@types/jasmine": "~3.4.4", "@types/jasminewd2": "~2.0.8", "@types/node": "~12.12.3", "codelyzer": "^5.2.0", "jasmine-core": "~3.5.0", "jasmine-spec-reporter": "~4.2.1", "karma": "~4.4.1", "karma-chrome-launcher": "~3.1.0", "karma-coverage-istanbul-reporter": "~2.1.0", "karma-jasmine": "~2.0.1", "karma-jasmine-html-reporter": "^1.4.2", "protractor": "~5.4.2", "ts-node": "~8.4.1", "tslint": "~5.20.0", "typescript": "^3.4.5" }
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kappys1/angular2-carousel/issues/18?email_source=notifications&email_token=AC4Y3JGQYOTRJED6U34FU73QRQ72VA5CNFSM4JH34RO2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HWEBZHA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4Y3JAENR6Z6Y7LZCFL74DQRQ72VANCNFSM4JH34ROQ .
i have tried ngx-carousel-lib
but still not work for me
The last version that I tried it was with angular 7.
Let me check it now and I will say you something! Thanks
Alex
On Sat, 2 Nov 2019 at 16:26, s-triar [email protected] wrote:
i have tried ngx-carousel-lib but still not work for me
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/kappys1/angular2-carousel/issues/18?email_source=notifications&email_token=AC4Y3JAJS3OOKJNSBVF2GIDQRWL3XA5CNFSM4JH34RO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC46K3Q#issuecomment-549053806, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4Y3JANRRZXIG27KIYMQGDQRWL3XANCNFSM4JH34ROQ .
the version 1.0.17 takes a reference of dome directive in caraousel.module.js; but no such directive found in the path
Any progress on this? I have a similar project but the drag scrolling is a little laggy.