It could be due to SSL certificate issues, so you can try bypassing the checks as a workaround:
export NODE_TLS_REJECT_UNAUTHORIZED=0
After that I was finally able to deploy.