I am using VS code to open my react projects. Neither the folder from the git repository nor the locally stowed projects are accessible.
[13512:1219/213241.168:ERROR:cache_util_win.cc(20)] Unable to move the cache: Zugriff verweigert (0x5)
[13512:1219/213241.169:ERROR:cache_util.cc(145)] Unable to move cache folder C:UsersmagsuAppDataRoamingCodeCacheCache_Data to C:UsersmagsuAppDataRoamingCodeCacheold_Cache_Data_000
[13512:1219/213241.169:ERROR:disk_cache.cc(196)] Unable to create cache
I tried to reboot, cleaned and emptied the cache, deinstalled and reinstalled VS code.
2
Answers
Either the permissions are bad or some process is holding a lock on those files (more likely).
I’m guessing in the background you have some process open that uses these files. For example, a dev server. Try killing all
node
processes via Windows Task Manager if you can’t find the window and then try again.I have experienced the same error message with node and python applications. In my case the issue was that I have executed the script file without the language prefix. Instead of:
I have executed:
I hope that this answer helps anyone having the same issue.