This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Our company uses Octobercms. I recently cloned our repo to my local computer. I ran composer install and it didn't finish with this error:
Class 'October\Rain\Redis\RedisServiceProvider' not found
Script php artisan october:util set build handling the post-update-cmd event returned with error code 1
I have tried to run php artisan cache:clear, dumpautload, composer update, composer require predis/predis and none of these made a difference.
Can someone tell me how to resolve this error? It's been extremely frustrating and slowing me down.
Make sure you are not using dev-develop
as a dependency. This is a bleeding-edge, developer branch, so it will cause issues unless you are watching the codebase (you may notice we are preparing for a new release). It is best to switch to 1.1
version instead
Thanks for the reply daftspunk. You are correct in pointing out the dev-develop dependency. Once I changed the requirements to version 1.1, it fixed the composer install issue. Thanks again. Was pulling my hair out all day!
1-3 of 3