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

Error NgModule.declarations in angular 8 #18

Open
s-triar opened this issue Nov 1, 2019 · 5 comments
Open

Error NgModule.declarations in angular 8 #18

s-triar opened this issue Nov 1, 2019 · 5 comments

Comments

@s-triar
Copy link

s-triar commented Nov 1, 2019

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"
  }
@kappys1
Copy link
Owner

kappys1 commented Nov 1, 2019 via email

@s-triar
Copy link
Author

s-triar commented Nov 2, 2019

i have tried ngx-carousel-lib but still not work for me

@kappys1
Copy link
Owner

kappys1 commented Nov 2, 2019 via email

@Swarnavas
Copy link

the version 1.0.17 takes a reference of dome directive in caraousel.module.js; but no such directive found in the path

@Defmetalhead
Copy link

Any progress on this? I have a similar project but the drag scrolling is a little laggy.

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

4 participants