I see this from time to time. I am using Git and I have a .gitignore file configured as recommended , in particular:
.idea/workspace.xml .idea/tasks.xml .idea/*.iml
I sometimes see this after cloning the repository, and, trying to understand why, I came across this message and read the accepted answer.
I deleted the modules.xml file and re-opened WebStorm (2016.2.4) and it was resolved. I looked at the new modules.xml and found that its contents were the same as before, but my <projectName>.iml was larger.
Thus, it looks like damage in the .iml file, not the modules.xml . I assume that removing modules.xml will cause the recovery of the .iml file. Not sure if this will help anyone, but I thought I was offering additional information.
Travesty3 Oct 19 '16 at 19:55 2016-10-19 19:55
source share