When existing module is added to the project, it might depend on some project/global library which does not exist. Such dependency is highlighted in the dependency Tab, but it is not clear what happened.
Adding "Create project library" and "Create global library" context actions would make things much clearer.