-
-
Notifications
You must be signed in to change notification settings - Fork 252
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
Build micro error when using require #476
Comments
If the problem only occurs with a recent build, it may be related to a major version upgrade of phpmicro. Could you provide a minimal reproducible phar or a process for building a phar? |
With phar on this release : https://github.com/jolicode/castor/releases/tag/v0.17.1 i get the error We execute those commands :
|
I just asked the author of phpmicro and debugged with him and found out that it should be a bug in phpmicro itself. We will fix it tomorrow. |
phpmicro has fixed phar issue, remember cleaning |
Thanks a lot <3, and also thanks to the author of phpmicro for its quick reaction. It seems to be working with last SPC version, however older versions still have the bug, (i think this fork https://github.com/static-php/phpmicro should be updated in order to make it work on older versions) |
I've updated static-php fork repo 👏 |
@crazywhalecc This new phpmicro update resolved the initial error, but now I'm getting a new error. However, when I try to run the binary with Now if I try to run the server with the command |
Not sure what changed, but since a few days when we try to build micro and adding a phar to it does not work anymore, we go those kind of errors:
I try using different versions of SPC, use specific version of PHP and even checkout specific version of
phpmicro
but we keep having this failure, not sure where it fails here.Do you have some inputs on how to debug this so we can fix this error ?
The text was updated successfully, but these errors were encountered: