Composer stuck at extracting php_codesniffer or roots/wordpress

When running ‘trellis up’, everything appears to be working fine but it fails at extracting either roots/wordpress or php_codesniffer.

I’ve tried different versions of vagrant with no luck.

I did a ‘vagrant ssh’ and ran composer -vvv install manually and can see it hanging for a few minutes while extracting. Then it fails (screenshot).

Here’s a screenshot of the failure when running ‘trellis up’.

Windows 10
VirtualBox 6.1
Vagrant 2.2.5 (tried 2.2.6, 2.2.7, and 2.2.8 as well)

I’m hitting a wall here, any suggestions would be appreciated!

1 Like

Figured it out!

  1. Disabled Hyper-V in Windows 10
  2. Increased CPUs in vagrant.default.yaml to 2 and memory to 2048

Thanks for following up with your solution :smile: