I have created a React project that uses "react-router-dom" as a dependency. I need version 6 at minimum, however Intellij *ignores* what npm installs in node_modules and instead defaults to an *outdated* version in "External Libraries". See here:I have deleted the entire cache folder, invalidated cache and restarted, deleted the project and started fresh, and in my project structure no library is explicitly added
Every time I delete this "Project @types/*" folder it comes back within seconds, breaking my project. Can I disable it?
Edit: I downloaded IntelliJ Idea Ultimate to a brand new virtual machine, made a brand new template React project, installed react-router, and it's still 5.3. This is reproducible.