I got the error "com.google.code.findbugs:jsr305:3.0.2", and to solve i have just updated my java.
My minecraft version was 1.19.2, I found out how to "solve" it through the curseforge installer, I thought that since the normal installer was giving an error, I could just download a modpack and replace the mods, since I only wanted the modloader, when I tried, it returned an error which briefly said to update the java runtime environment, so I did and the modpack installed normally, seeing that this error was resolved, I tried using the official installer and the installation went without any errors.