I'm trying to create a new project using "laravel new projectName". During installation it threw this error:
...
- Removing graham-campbell/result-type (v1.0.1)
- Downgrading vlucas/phpdotenv (v5.2.0 => v4.1.8): Loading from cache
- Installing symfony/console (v5.1.7): Downloading (100%)
[ErrorException]
copy(C:\xampp\htdocs\tweety\vendor/symfony/console/ed95772252371be6fe6d0571b112ce09): failed to open stream: Invalid argument
At the same time, windows (10) defender notified for a Trojan and blocked it. Threat Protection History
I've not installed any unknown software, also scanned the system using Gridin Soft anti-malware but, nothing was found. Would anybody be able to help? I'm stuck.