Issue
I'm new to coding and recently I had a problem with Visual Studio Code.
So basically I have to reinstall VS Code due to it kinda messing up my desktop.
And then, all of a sudden the integrated terminal won't work any more.
Now whenever I tried to run my code it just flashes this:
chdir(2) failed: Permission denied
and it exits with code 1.
I tried reinstalling, run it as superuser and it didn't work.
Here's the video: https://streamable.com/ksbsxx
Can somebody help me with this? Any help would be appreciated.
Please let me know if you need more information.
Thanks.
Solution
Ok so I found out.
Removing everything related to Visual Studio Code (yes, even hidden caches and stuff) and reinstall VS Code worked for me.
I hope this will work for everyone else as it did for me.
Answered By - iamdumdum1234 Answer Checked By - Robin (WPSolving Admin)