Was having this on Windows 10 and Next.js 14.2.15 and getting console errors that said There are multiple modules with names that only differ in casing as well as the import trace issue. VS code defaults to Powershell so I switched from using VSCode integrated terminal to cmd in another window and that fixed it.