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

Installation #32

Closed
gbouteiller opened this issue Feb 15, 2017 · 3 comments
Closed

Installation #32

gbouteiller opened this issue Feb 15, 2017 · 3 comments
Assignees

Comments

@gbouteiller
Copy link

Hello,
First of all, thank you for your work.
I'd like to install your package but I encounter some problems.
If I try : wp package install diggy/polylang-cli
I get : Error: Invalid package
And with : wp package install git@github.com:diggy/polylang-cli.git
I get : PHP Fatal error: require(): Failed opening required '/root/.wp- cli/packages/vendor/diggy/polylang-cli/vendor/autoload.php'.
What is the right way to do it ? Thank you very much.

@diggy diggy self-assigned this Feb 16, 2017
@diggy
Copy link
Owner

diggy commented Feb 16, 2017

@gbouteiller thank you for your interest in this package! I've been struggling with Behat not autoloading the commands. For now, as this package is still in alpha, I'm giving priority to the tests, hence this line. If you comment out that line in the package dir on your local machine (e.g. /Users/username/.wp-cli/packages/vendor/diggy/polylang-cli/command.php) you should be able to run the commands. Alternatively, you could download the package, and require it in your wp-cli.local.yml file. I know this is far from ideal, but I'm actively looking for a solution, and will ping you here when resolved.

@diggy
Copy link
Owner

diggy commented Feb 17, 2017

@gbouteiller skipping autoloading for now, package should be installable with

wp package install git@github.com:diggy/polylang-cli.git

@diggy diggy closed this as completed Feb 17, 2017
@gbouteiller
Copy link
Author

@diggy Thank you very much!

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