Create-project failed -- [RuntimeException] Could not delete ... composer/installers/src/Composer

Hi all. Running into a wall preventing me from getting started with a Sage project on VVV:

vagrant@vvv:/srv/www/on-your-winds/public_html/wp-content/themes$ composer create-project roots/sage onyourwinds
Installing roots/sage (9.0.9)
  - Installing roots/sage (9.0.9): Downloading (100%)         
Created project in onyourwinds
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 29 installs, 0 updates, 0 removals
  - Installing composer/installers (v1.6.0): Downloading (100%)         
Plugin installation failed, rolling back
  - Removing composer/installers (v1.6.0)
                                                                                                                          
  [RuntimeException]                                                                                                          
  Could not delete /srv/www/on-your-winds/public_html/wp-content/themes/onyourwinds/vendor/composer/installers/src/Composer:                                                                                                                            

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]

This looks like a permissions issue, but

vagrant@vvv:/srv/www/on-your-winds/public_html/wp-content/themes$ ll
total 28
drwxrwxr-x 1 vagrant www-data 4096 Jul 17 18:38 ./
drwxrwxr-x 1 vagrant www-data 4096 Jul 17 14:39 ../
-rwxrwxr-- 1 vagrant www-data   28 Jul 17 14:39 index.php*
drwxrwxr-x 1 vagrant www-data 4096 Jul 17 18:38 onyourwinds/
drwxrwxr-x 1 vagrant www-data 4096 Jul 17 14:39 twentynineteen/
drwxrwxr-x 1 vagrant www-data 4096 Jul 17 14:39 twentyseventeen/
drwxrwxr-x 1 vagrant www-data 4096 Jul 17 14:39 twentysixteen/

Vagrant is running a newly provisioned 18.04 machine and is fully up-to-date. Additionally,

vagrant@vvv:/srv/www/on-your-winds/public_html/wp-content/themes$ php -v
PHP 7.2.20-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Jul 10 2019 06:59:02) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.20-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
vagrant@vvv:/srv/www/on-your-winds/public_html/wp-content/themes$ composer --version
Composer version 1.8.6 2019-06-11 15:03:05

Can anyone offer any advice? Thanks.

This topic was automatically closed after 42 days. New replies are no longer allowed.