Everything was working perfectly fine until I started deployment. My code is running on a Mac and I wanted to deploy it to a windows 10 machine. My project is a React Native project which has node_modules directory.
When I am working with the editor, sometimes I see these messages appear:
After this, the editor starts indexing again and again and does not stop indexing. I have to close it. Doing invalidate caches and restart did not help.
When I open the gradle.xml file, I see that it's empty! Here you can see both files:
After this I see that node_modules is get uploaded to the remote server. But I have excluded it:
Finally I get this mesage Unable to save settings: Failed to save settings. Please restart IntelliJ IDEA
I get this erros again and again and it's always indexing.