I have problems when updating Angular app from version 9 to version 10.

You can see in the picture that there is an incompatible dependency. I know there are many questions asked around this but I was unable to solve the problem.

Also there is my package.json. I really appreciate your answer. Thanks in advance.
CodePudding user response:
You need to update your ng-selct version also. The version you are currently using is not compatible with Angular 10. Check their github readme below
CodePudding user response:
You need to upgrade the @ng-select/ng-select package version to v5(exactly 5.1.0 - last compatible):
https://github.com/ng-select/ng-select/blob/v5.1.0/package.json
This is the correct version for Angular 10.
Change version number in the package.json file and run npm update to fix this problem.

