I am using oh my zsh on Mac OS and ran into the Youtube comment below that found a solution to the same issue that I am having. I was able to verify usr/local/.npm-global. The comment reads as follows:
"The problem was that my npm global path prefix was set to usr/local/.npm-global as opposed to the typical default path of usr/local. This results in the trash executable not being added to your usr/local/bin. You have to reset your path in your bash or zsh profile to what the default is (Google it) and then source your zsh or bash profile again."
I am new to this command line stuff and get lost at: "You have to reset your path in your bash or zsh profile to what the default is". Could you please be more specific on how I do this (what to type in and where)?
The first two lines in my .zshrc file are (commented out):
If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
Do I need to uncomment and modify the second line? If so, what modification needs to my made?
Thanks
I am using oh my zsh on Mac OS and ran into the Youtube comment below that found a solution to the same issue that I am having. I was able to verify usr/local/.npm-global. The comment reads as follows:
"The problem was that my npm global path prefix was set to usr/local/.npm-global as opposed to the typical default path of usr/local. This results in the trash executable not being added to your usr/local/bin. You have to reset your path in your bash or zsh profile to what the default is (Google it) and then source your zsh or bash profile again."
I am new to this command line stuff and get lost at: "You have to reset your path in your bash or zsh profile to what the default is". Could you please be more specific on how I do this (what to type in and where)?
The first two lines in my .zshrc file are (commented out): If you come from bash you might have to change your $PATH. export PATH=$HOME/bin:/usr/local/bin:$PATH
Do I need to uncomment and modify the second line? If so, what modification needs to my made? Thanks