'Visual Studio Code: Another instance of Code is running but not responding
Can't run Visual Studio Code (Windows). This happend a few times now.
I suddenly can't save files while coding and VS Code hanging. When stopping the task by Task Manager
and start VS Code again I get the message:
Another instance of Code is running but not responding. Please close all other instances and try again.
But there is no VS Code Window open. Instead the Task Manager shows more running instances:
Restarting windows helps but is really annoying. Has anyone else this problem and/or an idea to fix this issue?
Thanks in advance.
Solution 1:[1]
I tried everything: restarting Windows, uninstalling and reinstalling VSC, nothing helped. There should be something in the "memory of the last session". And I found it:
Finally, I renamed / deleted the following file to make it not available:
- Folder
%AppData%\Code - File
storage.json
Now I was able to restart VSC, forcing a clean startup. The file was recreated. Now I could search which content of this file was the reason.
Solution 2:[2]
My experience with fbprophet:
Problem:
The code below kept crashing VS and giving me this error. I then clicked Reopen. Nothing happened. Tried to open VS code again and got this error .
m = prophet.Prophet(interval_width=0.95, daily_seasonality=True)
model = m.fit(data)
Solution:
Restarted my computer and
Filtered data to only contain the date and the y column.
I'm guessing the part of this that would be relevant to others is to find what is crashing VS code and fix it.
Solution 3:[3]
Solution
Restart OS fixed the issue for me.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Germo Görtz |
| Solution 2 | |
| Solution 3 | Muhammad Numan |



