If you are WebStorm user. Just make right click on the root folder with the codebase of your recently migrated application. Choose "Optimize imports" from the context menu. It will automatically remove all unused imports across all the files in that folder.
If you are Visual Studio Code user. Use an Folder source actions extension to trigger built-in Organize Imports action in all files recursively in the root folder with the codebase of your recently migrated application.legacy-peer-deps config do not automatically install transitive peer dependencies. It means that you should manage them manually . Explore package.json of every used Taiga UI package. Find their peerDependencies and ensure that they are installed and their versions are compatible with constraints from Taiga libraries. ng migrate command. Bump Nx version or just run npm install followed by The syntax for defining environment variables varies by OS and shell!
The command below is for Unix-based systems and Nx CLI.
If the problem persists – report the issue
v5 (i.e. just change versions inside your package.json by yourself without any console commands and then run npm install ). node_modules/@taiga-ui/cdk/package.json contains the 5th major version