If you encounter this error message on windows:
[ERROR] Error: failed to get server certificate: The handle is in the wrong state for the requested operation
It is due to the crypto changes on Github, you can fix it by configuring your OS properly:
If you encounter this error message on a linux system:
[ERROR] <snip>/nodegit/vendor/libssh2/missing: Unknown `--is-lightweight' option
You can fix it by installing the following packages:
-
(Ubuntu/Debian)
sudo apt-get install libssl-dev
-
(RHEL/Fedora)
sudo dnf install openssl-devel
If you encounter this error message on a linux system:
[ERROR] Error: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
You can fix it by creating the symlink yourself (see nodegit/nodegit#1246):
-
sudo ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl-gnutls.so.4