Running the install snippet on a local environment (docker run --rm -it -v "$(pwd)":/var/www/tome mortenson/tome init) results in an error:
The command "/usr/local/bin/drush tome:export --yes --uri=default --root=/var/www/tome/web" failed.
Exit Code: 1(General error)
Working directory:
Output:
================
ParseError: syntax error, unexpected '|', expecting ';' or '{' in Composer\
Autoload\includeFile() (line 37 of /var/www/tome/web/modules/contrib/tome/modules/tome_sync/src/Normalize
r/EntityReferenceRevisionItemNormalizer.php).
I believe this is also the reason why spinning an instance of https://github.com/drupal-tome/tome-project with Gitpod (or anything using this repo image) results with a loading screen stuck (I couldn't find any log).
I believe it has to do with the PHP version (7.4) being too low for the latest Drupal 9.5.x (although this doesn't happen with the Netifly job).
Running the install snippet on a local environment (
docker run --rm -it -v "$(pwd)":/var/www/tome mortenson/tome init
) results in an error:I believe this is also the reason why spinning an instance of https://github.com/drupal-tome/tome-project with Gitpod (or anything using this repo image) results with a loading screen stuck (I couldn't find any log).
I believe it has to do with the PHP version (7.4) being too low for the latest Drupal 9.5.x (although this doesn't happen with the Netifly job).
This has also been flagged on the Drupal module page: https://www.drupal.org/project/tome/issues/3359312
The current version of Drupal 9 should run on PHP 8.1 https://www.drupal.org/docs/getting-started/system-requirements/php-requirements#versions