Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keep getting: No such File or directory when I open the Terminal

Tags:

terminal

Every time I open the terminal I keep getting this:

bash: /usr/local/Cellar/nvm/0.33.0/nvm.sh: No such file or directory

I have tried reloading. No idea why all of a sudden this has come up. Any guesses guys?

like image 972
Mohammad Avatar asked Jan 20 '17 07:01

Mohammad


People also ask

Why does it say no such file or directory?

log No such file or directory” the problem is most likely on the client side. In most cases, this simply indicates that the file or folder specified was a top-level item selected in the backup schedule and it did not exist at the time the backup ran.

How do I fix No such file or directory in Linux?

No such file or directory" means that either the executable binary itself or one of the libraries it needs does not exist. Libraries can also need other libraries themselves. then the problem can be fixed by making sure the mentioned libraries are installed and in the library search path.

How do I fix cd No such file or directory?

type man cd,but to copy from one directory to another ,creat the new file:example: mkdir /downloads then cd /root/downloads or /downloads . it says no such file because its not there,or your system either has bad blocks or its been deleted.

How do I reset a folder in terminal?

To change directories, use the command cd followed by the name of the directory (e.g. cd downloads ). Then, you can print your current working directory again to check the new path.


1 Answers

You need to update your nvm via homebrew:

brew upgrade nvm

like image 161
MaxDevJS Avatar answered Sep 27 '22 02:09

MaxDevJS