I’ve built a project in WebStorm and then submitted the project to GitHub.
When I rebooted the computer and relaunched WebStorm (and the project), all I can see in the project pane is the root files, and none of the folders (yes the folders are there)
See the image below for reference.
Does anyone know how I can get those folders to re-appear in the project pane of Webstorm?

It can be caused by the corrupted
.idea/modules.xmlproject file. You can either try to fix it manually (restore from Local History, version control or backup) or create the new project from scratch.Check this issue for the hints/workarounds.