VSCode – “No such file or directory” Error
Sometimes when compiling for the 1st time you may get an error that says “No such file or directory”. This can be caused by your Antivirus interfering with the file creation or VSCode’s timing for getting the libraries setup was off.
To fix this just wait 1 minute and then try the compile or upload again. If the issue persists then disable any antivirus and/or antimalware systems on your computer while you are working on compiling the firmware.