Closed adamwalter closed 7 years ago
Hey @adamwalter - Sorry for the troubles. The Composer requirements work weirdly in this command because of some dependencies I'm trying (unsuccessfully, it seems) to build between different wp-cli commands. For the time being, you should be able to work around it by putting the following into your ~/.wp-cli/config.yml file:
require:
- /yourhomedir/.wp-cli/commands/vendor/boonebgorges/wp-cli-git-helper.php
Sorry for the trouble. I will try to figure this out when I get a chance.
No luck. That file doesn't exist for me after installation. Not really sure what's up. How would one go about installing this without using wp package install
?
Does "that file" mean ~/.wp-cli/config.yml
? If it doesn't exist, then create it.
No, .wp-cli/commands/vendor/boonebgorges/wp-cli-git-helper.php
.
Ah. Clone this repo somewhere - say, ~/.wp-cli/commands/wp-cli-git-helper
- and replace the require
path with the correct path.
Okay, I've got it in there. However, now WP-CLI returns nothing when I try wp gh
or even a core command like wp plugin list
. Sorry!
It sounds like you might be getting a fatal error, maybe because you're now loading the package more than once. Check your error logs.
On 01/02/2017 02:10 PM, Adam Walter wrote:
Okay, I've got it in there. However, now WP-CLI returns nothing when I try |wp gh| or even a core command like |wp plugin list|. Sorry!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/boonebgorges/wp-cli-git-helper/issues/9#issuecomment-270015363, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPDYyiKnLI30W2v44cI87rOe3ozF33qks5rOVmxgaJpZM4LMIp6.
My apologies. I discovered that I was having an Allowed memory size exhausted
error behind the scenes due to my Mac's CLI PHP settings.
Your package is the first one that needed > 128M of memory to install, so I had never had a problem installing packages before. This led me to direct my focus on the package and not my system. Thanks for the help regardless!
Glad it's working!
I tried installing this package via
wp package install
using both the package name and the Git URL to this repo, but it is not working.I've tried new bash sessions and different WP sites, to no avail. I am seeing the package in my
composer.json
under bothrequire
andrepositories
, but I do not see the package in myvendors
directory.Any idea what's up?