Looks like the issue’s not with react-export-excel itself but with how npm is trying to grab one of its dependencies over SSH from GitHub. Your network or firewall is probably blocking port 22, which is why it’s timing out.
I’d switch Git from SSH to HTTPS so it can bypass that restriction:
git config --global url."https://github.com/".instead of [email protected]:
Then try installing again.
If it still gives you trouble, you might just want to replace react-export-excel, it’s pretty outdated. I’ve had better luck using the xlsx + file saver combo, and it’s actively maintained.