Composer Install stuck

We’re having trouble doing a composer install of Concrete CMS which we’ve been able to do without a problem in a the past.

The composer install gets stuck in the same place every time:

Gathering patches from concretecms/dependency-patches (extra.patches). Applying patch concretecms/dependency-patches/Add PHP 8.1 compatibility to anahkiasen/html-object...

We’ve tried various Composer and PHP version but without success.

Is anyone experiencing similar issues or have an idea how to resolve?

Are you using a Mac or FreeBSD?
If so, you have to install the GNU flavor of the “patch” program

Yes, using a Mac.

How do I ‘install the GNU flavor of the “patch” program’?

I think with brew install gpatch but I don’t own a Mac and I know nothing more about it.

2 Likes

Thanks @mlocati working now.

1 Like