shlomiassaf / ngrid

A angular grid for the enterprise

Home Page:https://shlomiassaf.github.io/ngrid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile error on @angular/cdk-experimental/scrolling using 1.0.0-alpha.23 with Angular 7

DejayJD opened this issue · comments

What is the current behavior?

Receiving the following error on build

ERROR in node_modules/@pebula/ngrid/lib/table/features/virtual-scroll/strategies.d.ts(5,65): error TS2307: Cannot find module '@angular/cdk-experimental/scrolling'.

Which versions of Angular, CDK, Material, NGrid, OS, TypeScript, browsers are affected?

Version: 1.0.0-alpha.23

Here is my package.json:

{
  "name": "doe",
  "version": "0.25.7",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e",
    "app-build-dev": "ng build --base-href \"/doe/doeui/\" --configuration=develop --build-optimizer",
    "app-build-stage": "ng build --base-href \"/doe/doeuistage/\" --configuration=stage --build-optimizer",
    "app-build-qa": "ng build --base-href \"/doe/doeui/\" --configuration=qa --build-optimizer",
    "app-build-prod": "ng build --base-href \"/doe/doeui/\" --configuration=production --build-optimizer"
  },
  "private": true,
  "dependencies": {
    "@angular-redux/router": "^9.0.0",
    "@angular-redux/store": "^9.0.0",
    "@angular/animations": "^7.2.15",
    "@angular/cdk": "^7.3.7",
    "@angular/common": "^7.2.15",
    "@angular/compiler": "^7.2.15",
    "@angular/core": "^7.2.15",
    "@angular/forms": "^7.2.15",
    "@angular/http": "^7.2.15",
    "@angular/material": "^7.2.0",
    "@angular/platform-browser": "^7.2.15",
    "@angular/platform-browser-dynamic": "^7.2.15",
    "@angular/router": "^7.2.15",
    "@nicky-lenaers/ngx-scroll-to": "^2.0.0",
    "@pebula/ngrid": "1.0.0-alpha.23",
    "@pebula/ngrid-material": "1.0.0-alpha.23",
    "@pebula/utils": "1.0.0-alpha.3",
    "@swimlane/ngx-datatable": "^14.0.0",
    "angular-redux": "^1.0.0-beta",
    "angular-svg-icon": "^7.2.0",
    "await-timeout": "^0.3.0",
    "axios": "^0.18.1",
    "bootstrap": "^3.4.1",
    "buffer": "^5.2.1",
    "chart.js": "^2.8.0",
    "classlist.js": "^1.1.20150312",
    "concat-stream": "^2.0.0",
    "core-js": "^2.6.5",
    "events": "^3.0.0",
    "file-saver": "^2.0.1",
    "guid-typescript": "^1.0.9",
    "include-media": "^1.4.9",
    "lodash": "^4.17.15",
    "mustache": "^3.0.1",
    "ng2-charts": "^2.2.2",
    "ng6-breadcrumbs": "^1.0.7",
    "ngx-bootstrap": "^4.2.0",
    "ngx-json-viewer": "^2.4.0",
    "ngx-lightbox": "^1.2.0",
    "ngx-pagination": "^3.2.1",
    "ngx-toastr": "^9.2.0",
    "pretty-ms": "^2.1.0",
    "redux": "^4.0.1",
    "redux-logger": "^3.0.6",
    "resize-observer-polyfill": "^1.5.1",
    "rxjs": "~6.3.3",
    "sax": "^1.2.4",
    "stream": "0.0.2",
    "timers": "^0.1.1",
    "web-animations-js": "^2.3.1",
    "xml-js": "^1.6.11",
    "zone.js": "~0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^0.13.8",
    "@angular/cli": "^7.3.9",
    "@angular/compiler-cli": "~7.0.0",
    "@angular/language-service": "~7.0.0",
    "@types/chart.js": "^2.7.51",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "~2.0.3",
    "@types/lodash": "^4.14.123",
    "@types/node": "^8.10.45",
    "@types/xml2js": "^0.4.4",
    "codelyzer": "~4.5.0",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~3.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "^2.0.5",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.4.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.11.0",
    "typescript": "~3.1.1"
  }
}

Figured out issue. I had Angular 8 version of @angular/cdk-experimental. Installed @^7.2.0 and it compiled again