-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Bug with self-update #1226
Comments
I can work this. |
I'm out of my element. Everything seems to be there- Pharmap, use, proper require of classloader etc. What is causing the issue? |
I don't know. This command is ok:
But in this way:
Got this:
|
I will take checkout of 5.0.0 version and try there. How do I build the phar though? |
|
Tested by building locally. Somehow, The code fails to include some php files with Deployer namespace.
after manually including that file at the top, getting same error for a new class- I think this is some autoloader related issue. |
really strange. work's well for me. |
I haven't been able to find anything related to this online too. Any solutions I've found, have already been implemented in the codebase. It needs in-depth understanding of Phars and composer autoloading. So, you should remove the "good for beginner" tag I think. |
Nailed it! Tricky one. |
Just in case someone has this issue when executing a globally phar-installed Deployer, and you get this error on using
You can create an alias to that file; open your
Then just
You should see something like this:
I don't have the time now to understand why that happens, but there's just a little tricky move to (somehow) make it work. Also thanks for this great software :) |
Description
Download 5.0.0, run
dep self-update
.Update is successful, but there are errors in terminal:
Steps to reproduce
The text was updated successfully, but these errors were encountered: