-
Notifications
You must be signed in to change notification settings - Fork 6
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
Package doesn't install with wp package install [email protected]:alwaysblank/blade-generate.git
#5
Comments
Getting the same error. I'm also getting a memory max on the alternative posted above. |
Got the same error with the memory limit. |
What helped for me (general issue):
|
For me, from running
I got it to work with the instructions in wp-cli/package-command#69. Basically installed with the command |
The Error
Composer errors out while trying to install blade-generate with the supplied installation command,
# wp package install [email protected]:alwaysblank/blade-generate.git
Error output:
Replicating the Error
This happened to me on my local macOS and Ubuntu environments, and also my remote Debian environment. The solutions listed at https://bit.ly/wpclimem all seem to deal with memory allocation, but none of them worked for me.
I also tried downloading the package and trying the different options the
wp package install
command offers:wp package install <name|git|path|zip>
None of those worked.
Solution?
Finally, I tried installing it to WP-CLI "manually", by requiring the package in
~/.wp-cli/packages/composer.json
and adding the GitHub repo as a repository:Composer returned this lint error:
However, the package installed and seems to work okay, so I'm not sure if that error is related to the installation?
Finally, a funny story: I was trying to install this package because I was getting a white screen of death on certain pages after pushing new templates for them up to my staging server. After taking a detour to try all the above and get it working, I realized that the real reason the templates weren't rendering was because I forgot to save my work and had uploaded empty template files to the server. 🤣
The text was updated successfully, but these errors were encountered: