Search code examples
intellij-idea

Error: "Cannot start process, the working directory does not exist." in IntelliJ


When I move a whole project from one computer to another, and I try to start the project in IDEA on the other computer, the following error occurred when I start my application itself: "Cannot start process, the working directory does not exist."

There's no context for me to put this message in. I checked all my settings and everything seems to be all right. What have I done wrong?


Solution

  • For IntelliJ all I had to do was create a directory called modules in the project's .idea folder. This solved the issue. But my specific error said the working directory does not exist and it had my project path and ended in project/.idea/modules.

    Note that doing rm -r .idea/ in the project folder did not solve my issue.