shlomiassaf / ngrid

A angular grid for the enterprise
https://shlomiassaf.github.io/ngrid
MIT License
241 stars 41 forks source link

Cannot resolve type entity i31.ScrollingModule to symbol #266

Open tomnissing opened 2 years ago

tomnissing commented 2 years ago

Since I added ngrid (v5.0.0) to my project, i get this error while building: Error: Cannot resolve type entity i31.ScrollingModule to symbol

Here is my package.json

[...],
"dependencies": {
    "@angular/animations": "14.2.9",
    "@angular/cdk": "^14.0.0",
    "@angular/common": "14.2.9",
    "@angular/compiler": "14.2.9",
    "@angular/core": "14.2.9",
    "@angular/forms": "14.2.9",
    "@angular/localize": "14.2.9",
    "@angular/material": "^14.0.0",
    "@angular/platform-browser": "14.2.9",
    "@angular/platform-browser-dynamic": "14.2.9",
    "@angular/router": "14.2.9",
    "@pebula/ngrid": "^5.0.0",
    [...],
}

Does someone has any idea what might be the issue here?

As far as i know the ScrollingModule is part of the @angular/cdk which is installed.

technbuzz commented 1 year ago

I am also experiencing the similar problem; I thought my Angular version 15 might be causing it but you have version 14.

Could it be somthing with enable ivy?

phantasma2983 commented 1 year ago

adding @angular/cdk-experimental fixed the issue for me