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

composer make-pot fails on mac when site path contains a space #1549

Open
mrlowe opened this issue Sep 21, 2023 · 0 comments
Open

composer make-pot fails on mac when site path contains a space #1549

mrlowe opened this issue Sep 21, 2023 · 0 comments

Comments

@mrlowe
Copy link

mrlowe commented Sep 21, 2023

Eg if you're using Local by Flywheel with the default Local Sites directory:

$ composer make-pot
> wp i18n make-pot . languages/_s.pot
/Users/nobody/Local Sites/edgio/app/public/wp-content/themes/edgio-theme/vendor/bin/wp: line 17: cd: ../wp-cli/wp-cli/bin: No such file or directory
/Users/nobody/Local Sites/edgio/app/public/wp-content/themes/edgio-theme/vendor/bin/wp: line 39: /wp: No such file or directory
Script wp i18n make-pot . languages/_s.pot handling the make-pot event returned with error code 127

Maybe an issue with the value returned by realpath?

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