Unfortunately I don't know the reason for this. I made a request in the appropriate forum. If they suggest a solution, I'll try to fix it
In the meantime, you can download and install the mod manually at:
C:\Users\NAME_USER\AppData\Roaming\Factorio\mods