Answers for "error an unexpected error occurred: "eperm: operation not permitted, mkdir 'c:\\program files\\git\\usr\\local\\bin'"."

12

Error:....... EPERM: operation not permitted, mkdi

Open Terminal
Go to c:/users and run dir /x 
check shorter name of your usernsme you found with dir/x 
//In my case my username is Nandini Jain and I got short id= NANDIN~1
and run npm config set cache "C:/Users/<shortname-you-found-with-dir/x>/AppData/Roaming/npm-cache" --global
//I ran the command
//C:/Users/NANDIN~1/AppData/Roaming/npm-cache" --global

HOPE THIS WILL WORK BECAUSE ITS THE ONLY REASON OF YOUR QUERY.
Posted by: Guest on January-13-2021
0

Errno::EPERM: Operation not permitted @ dir_s_mkdir - /usr/local/Cellar

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Posted by: Guest on April-13-2020

Code answers related to "error an unexpected error occurred: "eperm: operation not permitted, mkdir 'c:\\program files\\git\\usr\\local\\bin'"."

Code answers related to "Objective-C"

Browse Popular Code Answers by Language