I am trying to run the following command:
sudo git pull;
I get the following error:
Command failed: sudo: sorry, you must have a tty to run sudo
The command is being run from a nodejs server using
I have looked at other questions and sites that try and solve this error but none of the solutions ie editing
/etc/sudoers and using
ssh -t work.
I do not have root access and am therefore using sudo in the command.
I am running a basic Amazon EC2 Linux 64bit instance.