It happens if your shell is issuing commands for a directory which you have deleted in between. It says it cannot find it. This is a rather benign message, just type cd and it should be gone.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!