-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
[BUG] An unexpected error occurred: NullInjectorError: R3InjectorError(SalesDashboardModule)[MatSelect -> MatSelect -> MatSelect -> MatSelect -> MatSelect -> MatSelect]: NullInjectorError: No provider for MatSelect! #514
Comments
hi |
|
I'm facing this problem too but I don't think it's related to the newest version of prettier. |
there problem occurs when adding clear selector without inputs and outputs like that |
can you check that you have
can you make sure that there is only one folder |
we did that in-app module and all sub modules |
package-lock.json when I keep pack-lock.json and try to run npm install I don't face this problem |
I suspect that
of your package json would cause an additional, separate please provide the package-lock.json when you face the problem |
should I replace it with
|
no, there should not be overrides with |
"overrides": { |
I should keep package-lock.json and avoid this error why when removing it and running npm install |
I think the issue will be resolved if you add |
can you please attach the package-lock.json the you get after deleting the current one and installing the packages again? |
|
@Inject(MatSelect) public matSelect: MatSelect, |
thats strange, the diff between the package locks doesnt contain any change related to angular material. I would suggest that you delete the package-lock.json and node_modules, and then run |
I did that, I will clone your lib and try to fix it to avoid this issue and tell you the final result |
@elmagd91 any update on this? |
I am so busy until this moment, I didn't trace it |
Describe the bug
when upgrading prettier npm package to the latest version 3.4.2, my module which uses your package was failed in console although ng serve is working correctly
To Reproduce
Important install angular 17 with the latest version of prettier and try to use your package
Expected behavior
no errors
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: