I'm using Drupal 8 and I'm trying to install the varbase distribution from the command line, on Windows with Acquia Dev Desktop.
The steps I did are:
- Disable opcache
- Check
composer -V >>> result
- Run
composer create-project Vardot/varbase-build:^8.4.06 %1 --no-dev --ignore-platform-reqs
This is causing the following error:
- Installing vardot/varbase (8.4.06): Downloading (100%)
Writing lock file
Generating autoload files
PHP Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in C:\www\tmp_var\vendor\drupal-composer\drupal-scaffold\src\PrestissimoFileFetcher.php on line 34
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in C:\www\tmp_var\vendor\drupal-composer\drupal-scaffold\src\PrestissimoFileFetcher.php on line 34
I installed composor on windows Url: https://getcomposer.org/download/
(This is besided the compososer which is included in Acuia Desktop Version 2)
C:\www>composer self-update
You are already using composer version 1.5.1 (stable channel).
Then I exectuted commando:
composer create-project Vardot/varbase-project:^8.4.07 varbaseyellowbird --no-dev >> installlog.txt
After running it my project drupal folder was not looking good so I runned it again.