Recently, I've been encountering a frustrating issue with irritating red squiggly lines appearing under my import statement. Despite the fact that the code functions perfectly and everything operates as anticipated, these lines continue to bother me. The path specified in the require statement is accurate, leading directly to the appropriate file located in '.. > controllers > UserController'. I meticulously verified it for any errors or typos, yet the squiggly lines persist. Has anyone encountered this problem before? Any suggestions on how to resolve it or simply eliminate these distracting lines would be greatly appreciated!
https://i.sstatic.net/GsEqqwiQ.png
When hovering over the squiggly lines, an error message appears. This error emerged after I changed the name of my file.