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

Better output when makepot fails due to missing PHP cli #84

Open
jnachtigall opened this issue Jul 29, 2020 · 0 comments
Open

Better output when makepot fails due to missing PHP cli #84

jnachtigall opened this issue Jul 29, 2020 · 0 comments

Comments

@jnachtigall
Copy link

jnachtigall commented Jul 29, 2020

I switched over to a new laptop and made development based on docker. Then I did not notice that makepot did not work anymore: It did run, but just outputted: undefined.

Took me some time to notice, then some time to find the culprit: PHP cli was not installed locally (only in docker).

The https://github.com/cedaro/grunt-wp-i18n#requirements say so: PHP CLI must be in your system path. but still I think the makepot output could be a bit more helpful and instead of undefined print something like Could not find php in your system path - is PHP CLI installed locally?

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

1 participant