I updated Angular and Material to v15, and I want to use legacy components, but when I try to import legacy prebuild theme I get this error.
If I import the material prebuilt-themes(not legacy ones) the compiler builds successfully, but I need to use legacy components and I need legacy prebuild theme