Details
-
Suggestion
-
Resolution: Won't Do
-
P4: Low
-
None
-
None
-
None
-
Ubuntu 22 X86_64
Description
I try to use git gpush
At first time in Ubuntu I get 1) error
Can't locate Term/ReadKey.pm in @INC (you may need to install the Term::ReadKey module)
I solved it by
sudo apt-get install -y libterm-readkey-perl
After I get 2) error
Can't locate JSON.pm in @INC (you may need to install the JSON module)
I solved it by
sudo apt-get install libjson-perl
I suggest Git-gpush-scripts check decency before work and produce userfriendly error message for popular Linux distros like Ubuntu.
In my case I want to get error like this:
Can't locate Term/ReadKey.pm in @INC (you may need to install the Term::ReadKey module)
Can't locate JSON.pm in @INC (you may need to install the JSON module)
Looks you should do
sudo apt-get install -y libterm-readkey-perl libjson-perl