Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conflict with Wordpress tab completion in .bash_profile #10

Open
HughP opened this issue Feb 9, 2017 · 1 comment
Open

conflict with Wordpress tab completion in .bash_profile #10

HughP opened this issue Feb 9, 2017 · 1 comment

Comments

@HughP
Copy link

HughP commented Feb 9, 2017

Greetings,
am exploring what it means to us WP-CLI. I chose to install the bash tab for completion script mentioned in the cli handbook here: https://make.wordpress.org/cli/handbook/installing/#tab-completions

When this is installed and I then use cli to install wp-cli-git-helper I get the following error.

I am wondering if the error unique to my setup or if this configuration also causes others to error.

PHP Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in /home/greenlantern/.wp-cli/packages/vendor/boonebgorges/wp-cli-git-helper/wp-cli-git-helper.php on line 4 PHP Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='phar:///usr/local/bin/wp/vendor/phpunit/php-token-stream:phar:///usr/local/bin/wp/vendor/phpunit/phpunit-mock-objects:phar:///usr/local/bin/wp/vendor/phpunit/php-code-coverage:phar:///usr/local/bin/wp/vendor/phpunit/phpunit:phar:///usr/local/bin/wp/vendor/symfony/yaml:.:/usr/share/php') in /home/greenlantern/.wp-cli/packages/vendor/boonebgorges/wp-cli-git-helper/wp-cli-git-helper.php on line 4

all the best,

@boonebgorges
Copy link
Owner

Hi there - Sorry for the troubles. I ran into some issues when building the Composer dependencies for this command, which are outlined somewhat at #9. For the time being, if you want to run this command, I recommend installing it as a Git checkout rather than via wp package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants