I use the same latex code, with the same versions of TexStudio and MikTex, on my two laptops. One runs the code smoothly; the other laptop gives the subject error, i.e., "File 'currfile.sty' not found." The first laptop is an 11th generation model, while the second is a 6th generation model. Both have Win 10 installed. I don't understand why the same code is run by the first laptop but not by the second one. I reinstalled Windows on my second system, but the problem persists. I provided the MWC.
\documentclass[journal]{IEEEtran}
\makeatletter
\makeatother
\usepackage[dvipsnames]{xcolor}
\usepackage{mwe}
\graphicspath{ {./images/} }
\usepackage[english]{babel}
\usepackage[font=footnotesize]{caption}
\usepackage{standalone}
\ifCLASSINFOpdf
\captionsetup[subfigure]{skip=-2pt}
\begin{document}
\title{\huge Towards Spectrum Availability For Heterogeneous Users in Social Internet of Things}
\end{document}

currfile.styis part of packagecurrfile. Because it is available as MiKTeX packagecurrfileyou can install it, using the MiKTeX console. – cabohah Dec 01 '22 at 08:12\fito\ifCLASSINFOpdfis missing in your example. I think, the\ifCLASSINFOpdfshould be removed. Note also, that classIEEEtranis not supported by packagecaption. You are getting a warning about this, shown in your screenshot. – cabohah Dec 01 '22 at 08:15miktex packages install currfile– Mattwmaster58 Jul 10 '23 at 21:00