add retries to npm install as it seems either the registry or github time out sometimes