macOS

Fix – svn: error: The subversion command line tools are no longer provided by Xcode.

Recently I got the following error on my Mac Terminal when I tried svn command. svn: error: The subversion command line tools are no longer provided by Xcode.   To fix this, run following commands: sudo rm -rf /Library/Developer/CommandLineTools xcode-select –install   Wait for the software to be installed. And you are done. Ref.:https://stackoverflow.com/questions/60869347/mac-command-line-tools-11-4-no-longer-has-svn  

Fix – svn: error: The subversion command line tools are no longer provided by Xcode. Read More »

Download folder/files from server using ssh terminal

You will need SCP installed on your system. Run the following command from your terminal scp -r username@host:/path/to/folder /Destination/path/of/local/machine/ If you access the server via pem key, then command will be scp -r -i /path/to/pemkey.pem username@host:/path/to/folder /Destination/path/of/local/machine/ That’s it.

Download folder/files from server using ssh terminal Read More »

Git is not working after macOS Update

Yesterday I updated my macOS to latest Catalina version. After updating it GIT was not working. That always happens to me :-). I was getting following error. xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun   Many of you might also get this error. So the solution is pretty simple. Just follow

Git is not working after macOS Update Read More »

Fix Unhandled rejection Error: EACCES: permission denied

I was trying to install gulp on my mac. But I was getting following errors while running command sudo npm install gulp -g Unhandled rejection Error: EISDIR: illegal operation on a directory, open ‘/Users/bhargav/.npm/_cacache/….’ Unhandled rejection Error: EISDIR: illegal operation on a directory, open ‘/Users/bhargav/.npm/_cacache/….’ npm ERR! cb() never called! npm ERR! This is an

Fix Unhandled rejection Error: EACCES: permission denied Read More »

Fix cURL error 28: Resolving timed out after 10003 milliseconds on local

Ref: https://www.digitalocean.com/community/questions/how-do-i-switch-my-dns-resolvers-away-from-google NOTE: This is for Mac users. Linux I am not sure, but can try. This is the temporary fix. You have to do every time when you restart your computer. Open the following file: /etc/resolv.conf Which should look something like this: nameserver 8.8.8.8 nameserver 8.8.4.4 Change those lines with following: nameserver 208.67.222.222 nameserver

Fix cURL error 28: Resolving timed out after 10003 milliseconds on local Read More »