Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to move to cache, unable to move cache folder, unable to create cache

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:\Users\magsu\AppData\Roaming\Code\Cache\Cache_Data to C:\Users\magsu\AppData\Roaming\Code\Cache\old_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.

like image 442
magsunny Avatar asked Oct 15 '25 04:10

magsunny


1 Answers

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:

node myscript.js
python myscript.py

I have executed:

myscript.js
myscript.py

I hope that this answer helps anyone having the same issue.

like image 160
DanielHefti Avatar answered Oct 17 '25 18:10

DanielHefti



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!