I have a strange problem. If I run this script:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@Book{Batty:2007,
author = {Michael Batty},
title = {Cities and Complexity},
publisher = {MIT Press},
year = 2007}
\end{filecontents*}
\begin{document}
This a citation \cite{Batty:2007}
\bibliographystyle{named}
\bibliography{\jobname}
\end{document}
on my laptop, it works perfectly. If I run it on mt PC (with the same OS and same TexMaker version with the same configuration) it shows me this problem:
If I change the bibliography style (e.g. apalike) it works on every computer, but the one I need is \bibliographystyle{named}. Thank you!

unsrtinstead onnamed. What would named do? – Johannes_B Dec 23 '19 at 18:56[Author, year] and "named" works exactly in this way.
– Federico Vidali Dec 23 '19 at 19:05named.bstis not installed on your PC. If the same code works on your laptop, you must have somehow installed that file there. I have never heard ofname.bst, but it appears that you can get the file from CTAN https://www.ctan.org/pkg/named (manually, it doesn't seem to be in TeX live or MikTeX). Note that thisnamed.bstis extremely old and its companion.styfile is a LaTeX 2.09 package (not a LaTeX2e package). – moewe Dec 23 '19 at 21:15