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
Unable to install 2.8.1 under Windows #316
Comments
PS: version 2.8.0 installs fine. |
I see. I should be ok in master, since source code was moved to Pls try. |
To be sure it's better "apigen/apigen": "~2.8.2" 😉 BTW, I have the following error now: and indeed there's no 2.2 in https://github.com/nette/nette/releases |
I took a look at the nette packagist page and there the versions should be fine. I don't know why composer does not find a version compliant with ~2.2... 😕 |
To be sure is fine ) It's probably maybe by some other package dependency. I just run:
in empty dir and everything works fine. |
That was the problem. Thank you. |
Which one, if may I ask? Maybe it could help others. |
It was a problem with my package itself 😉 See https://github.com/punic/punic/blob/783f2f7e09a810e4a0fc2feca497ce14329e67f0/composer.json#L44 |
I see. Great :) |
I'm suffering from the initial problem when trying to install v2.8.1:
However if I now try I've also tried |
@ianchanning Pls try same process with last RC version. |
Brilliant, thanks! I had to delete the
installed everything fine. |
In your case, it might help to edit Thanks for the report. I'll release soon next version with few bugfixes. |
I'm trying to support an older project, and am having issues upgrading to the new 4.0.x. I would really appreciate a ~2.8.1 which would be installable. :) Perhaps moving the apigen to a subdirectory and updating the composer bin directive to the below would resolve the installation issue: {
"bin": ["bin/apigen"]
} Could perhaps a working 2.8.2 be released with this? The only other option is to downgrade to an even older version (2.8.0 works but yeah, older... =( ). |
@tractorcow - I don't think I will do any work on previous versions. I recently took responsibility of maintaining this repository but just trying to finish a couple previous engagements before I can start doing some work/fixes on current and upcoming versions. |
No that's fine, @jadb and understandable. I've taken the liberty of forking the module and creating a 2.8 branch, in case anyone else wishes to try it out. https://github.com/silverstripe-labs/ApiGen Thanks for your work and for taking the time to get back to me. :D |
Under Windows I have the following error:
I think that's because the zip archive contains a file named
apigen
and a folder namedApiGen
.Composer first extracts the file
apigen
and after tries to create theApiGen
directory (or the viceversa), but since Windows is not case sensitive that's not possible.The text was updated successfully, but these errors were encountered: