-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Broke composer commands when used with wp-cli/package-command #59
Comments
I get the same error just requiring |
These are triggered by the |
Not yet sure why, but this example works: {
"scripts": {
"post-install-message": [
"echo 'OK'"
],
"post-install-cmd": [
"@post-install-message"
],
"post-update-cmd": [
"@post-install-message"
]
}
}
So this problem is isolated to when Composer invokes itself? Investigating a little more. |
When running the full command from within the So this would actually trigger the same error:
Which seems to use a different autoloader (I've tested and confirmed there is an autoloader present). Continue to look into it.. |
OK, so the |
This has been fixed in the current |
Problem/Motivation
When used with
wp-cli/package-command
, composer fails to execute post-install commands.note that this issue has been cross-posted to wp-cli/package-command#99
Steps to reproduce
composer install
Expected behaviour
Displays OK
Actual behaviour
Throws the following error
The text was updated successfully, but these errors were encountered: