Cannot load settings from file grade.xml: content truncated Follow
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.
Please sign in to leave a comment.
Please update IntelliJ IDEA to 2020.2.3 where similar errors got fixed.
Right after that, please remove/rename .idea directory in project's root and re-import the project. This should fix the problems.
Dear Konstantin Annikov
I installed 2020.2.3 and I am facing exactly the same issue described above.
Does it help to remove/rename .idea directory in project's root and re-import the project.