-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
bin/mezzio-tooling is incompatible with mezzio/mezzio-tooling v2 #146
Comments
@ostrolucky I moved this to I don't have a clear overview of why this happens. @settermjd you worked with this codebase last: could you perhaps help out in troubleshooting this? |
Only just seeing this now, as I'm having the same issue. |
I've been playing with it tonight and that error seems pointless, as nothing is actually installed from this point onward. Plus, setting a bin directory in the package's composer.json results in the script saying that it worked, yet the mezzio script is still missing. Continuing to look at this. Just wondering where the binary disappeared to. |
Don't mind me. After some more experimenting, if you add the following to composer.json and run "bin": [
"bin/laminas"
] |
Without this, when running vendor/bin/mezzio-tooling in projects that use this package, the mezzio command namespace is missing when running vendor/bin/laminas. As reported in #30, the following error is printed: Installed tooling package, but package does not contain script information? Check your installation, and follow the migration documentation to use the tooling. After some experimentation, by adding this addition to the configuration, the error isn't displayed and the namespace is once again available. Signed-off-by: Matthew Setter <matthew@matthewsetter.com>
@Ocramius, I don't know if mezzio/mezzio-tooling#41 is complete, but that changed worked for me locally. Thanks for reporting the issue, @ostrolucky. |
mezzio/mezzio-tooling 2.0 switched to providing commands for laminas/laminas-cli via its |
Docs needs to be updated to outline usage with laminas-cli https://docs.mezzio.dev/mezzio/v3/reference/cli-tooling/ |
Bug Report
Summary
mezzio-tooling installation fails on this line
mezzio/bin/mezzio-tooling
Line 74 in d5bf81f
How to reproduce
The text was updated successfully, but these errors were encountered: