I'm having an issue with an existing project in React Next.js, previously it was working fine but now it's unable to recognise the project and files. Hence I cannot search for files, and also cannot find in files.
I have tried File > Invalidate Caches but it's still not able to recognise.
Does anyone know what causes this issue, and how to fix it?
Screenshots attached.
WebStorm Project not recognised:
WebStorm Project files not recognised:
WebStorm cannot search files:
WebStorm cannot find in files:




.ideafolder as per comment above and re-open the project (may need to use "Open" and point to the project root folder) -- the IDE will create a new project from existing files.