-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
NbTreeGrid Error NullInjectorError: No provider for InjectionToken CDK_TABLE! #3241
Comments
same problem |
It seems to be related to some changes introduced in angular/components#28356, you can try to set |
Same issue |
2 similar comments
Same issue |
Same issue |
I am facing the exact same issue |
Same problem here.. |
Remember that you also should override the dependency of @nebular/theme, otherwise Nebular will complain:
|
Same problem here |
Any update on this? Or perhaps any better alternative than setting @angular/cdk <17.1.0? |
Same problem |
Same issue :( |
any news ? |
Any updates on this? |
We still get the error |
Issue still exists with latest Angular & Nebular version:
Steps to reproduce:
|
i still get the same error
and i upgrade anguale-cdk to "@angular/cdk": "^17.3.0", |
i want to ask if you sloved it or not |
Hi @jeroenpol.. Sorry for this dumb question, but.. where should I override the nebular/theme dependency? package.json doesn't support this kind of things.. Am I wrong? |
Hi!
|
Thanks @jeroenpol Even with the override, Tree component still not working :( |
The override wont work in anycase. I dont know if its just override the cdk or if we need to do anything else. |
any update on this? |
Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior:
When adding
nbTreeGrid
to my component, I get this error:ERROR NullInjectorError: R3InjectorError(Standalone[_ProfileComponent])[InjectionToken CDK_TABLE -> InjectionToken CDK_TABLE -> InjectionToken CDK_TABLE -> InjectionToken CDK_TABLE]: NullInjectorError: No provider for InjectionToken CDK_TABLE!
Expected behavior:
I expect to not receive the error when following the installation information from the documentation here: https://akveo.github.io/nebular/docs/components/tree-grid/overview#nbtreegridcomponent
Steps to reproduce:
Related code:
With the following in the component:
Other information:
npm, node, OS, Browser
Angular, Nebular
The text was updated successfully, but these errors were encountered: