stdin, stdout, stderr = client.exec_command('cd {code location} && npm install --legacy-peer-deps', get_pty=True)
stdin, stdout, stderr = client.exec_command('cd {code location} && npm run build', get_pty=True)
i get Error: Missing required argument #1 with a error trace. Even though npm commands run properly in the system i want to ssh.