Closed daniel-sc closed 8 months ago
This seems like an issue in your setup. Consider following tips:
composer install
in sudo modeHope this helps.
If anyone else ends up here with a composer install issue on wsl2. I determined I was having this issue while doing a composer install from Ubuntu on a Windows folder location (/mnt/c/*). I resolved it by creating a folder inside Ubuntu (/~/test_composer/), copying composer.json into that and running a fresh composer install. Then I copied the vendor folder and composer.lock back into the Windows folder.
The handling of multi-threaded processing in Symfony is probably not very good. As a solution, repeatedly running the composer run-script pre-autoload-dump
allows file deletion to progress little by little.
https://github.com/symfony/symfony/issues/27578
When using the "cleanup" script on WSL it errors with:
Environment details
Steps to reproduce
Code example
package.json:
Output: