Kind of experienced that when interviewing for one of the well-known music steaming companies years ago.
They had one critical service in Erlang and the developer who coded it had left years ago and nobody knew the language so they wanted to rewrite it.
I was starting using Elixir back then and said I could maybe took that code over but they chose the other candidate ;)