geerlingguy / geerlingguy/drupal-for-kubernetes

Composer install hits errors with scaffold files

Open
#33 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
177
Forks
53
PR merge metrics
No merged PRs in 30d

Description

After the Drupal 9 upgrade (see video: https://www.youtube.com/watch?v=nLoJ2L0AzDY), I noticed that when running `composer install` I'm getting the following:

```
Class DrupalProject\composer\ScriptHandler is not autoloadable, can not call post-install-cmd script
```

To get the site upgraded in a 2-hour timespan, I kinda cut a few corners tossing out some old `composer.json` cruft, and I seem to have broken some of the stuff that the drupal-project/composer-template had originally injected into the Composer config (like the ScriptHandler... might not even be needed anymore?).

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect composer.json and the DrupalProject\composer\ScriptHandler reference first, then compare the current Composer configuration with the scaffold files mentioned in the issue. Confirm which configuration is required after the Drupal 9 upgrade and verify that composer install completes without the autoloadable-class error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.