Recently, I've encountered a frustrating problem. It occurs when:
-
- I create a new Node project without any installed modules
-
- I use
import ''
and pressctrl+space
between the brackets, resulting in unnecessary inferred namespaces.
- I use
Although I may have made mistakes while learning to code, I've attempted to rectify the situation by:
- Removing unwanted globally installed packages
- Deleting unintentionally-installed node_modules folders in my
/Users
directory However, despite these efforts, some fake namespaces still persist:
https://i.sstatic.net/Qek6S.png
The image shows one of these random inferred namespaces. When I try to locate the original folder by using cmd
on Mac, VC fails to highlight or create the usual hyperlink (which it does for actual package references).
How can I eliminate these false namespaces? Any assistance would be greatly appreciated!