You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For my asynchronous project, I want to utilize reactphp/filesystem to asynchronously interface with the filesystem. But I'm having troubles installing it, due to the package locking itself to old versions of its dependencies, thus being uninstallable. According to the roadmap, there were already new releases planned, but I assume they weren't do-able.
I'm stuck with evenement being installed as v3.0, but reactphp/filesystem requires v2.x. evenement is downgradable, but there's another package locking, which is reactphp/stream. This package requires it to be v0.4.x, but reactphp/socket requires at least v0.7 (or v1.0), thus conflicts not being resolvable.
Is there any way you guys can release a new version with the dependencies updated?
Hey @CharlotteDunois I'll fix up a PR for evenement tonight, and the stream dependency is also already in the works. Which should resolve it self within a week.
$ docker exec -it react-cli sh -c 'php ./composer.phar require react/filesystem:^0.1.0' [15:12:15]
Do not run Composer as root/super user! See https://getcomposer.org/root for details
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for react/filesystem ^0.1.0 -> satisfiable by react/filesystem[v0.1.0].
- Conclusion: remove evenement/evenement v3.0.1
- Conclusion: don't install evenement/evenement v3.0.1 - react/filesystem v0.1.0 requires evenement/evenement ~2.0 -> satisfiable by evenement/evenement[v2.0.0, v2.1.0]. - Can only install one of: evenement/evenement[v2.0.0, v3.0.1]. - Can only install one of: evenement/evenement[v2.1.0, v3.0.1]. - Installation request for evenement/evenement (locked at v3.0.1) -> satisfiable by evenement/evenement[v3.0.1].Installation failed, reverting ./composer.json to its original content.FAIL
I've tried to install dev-master version but no luck
Seems like this library has to be used as standalone package, and can't be used alongside with other reactphp libraries.
$ docker exec -it react-cli sh -c 'php ./composer.phar require react/filesystem:dev-master' [16:20:38]
Do not run Composer as root/super user! See https://getcomposer.org/root for details
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for react/filesystem dev-master -> satisfiable by react/filesystem[dev-master].
- Conclusion: remove react/event-loop v0.5.2
- Conclusion: don't install react/event-loop v0.5.2
- react/filesystem dev-master requires react/event-loop ^0.4 -> satisfiable by react/event-loop[v0.4.0, v0.4.1, v0.4.2, v0.4.3].
- Can only install one of: react/event-loop[v0.4.0, v0.5.2].
- Can only install one of: react/event-loop[v0.4.1, v0.5.2].
- Can only install one of: react/event-loop[v0.4.2, v0.5.2].
- Can only install one of: react/event-loop[v0.4.3, v0.5.2].
- Installation request for react/event-loop (locked at v0.5.2) -> satisfiable by react/event-loop[v0.5.2].
Installation failed, reverting ./composer.json to its original content.
Don't suppose there's any update on this?
Just got to the point where I want to write errors to a file instead of storing it in an array and got this :(
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for react/filesystem ^0.1.0 -> satisfiable by react/filesystem[v0.1.0].
- Conclusion: remove evenement/evenement v3.0.1
- Conclusion: don't install evenement/evenement v3.0.1
- react/filesystem v0.1.0 requires evenement/evenement ~2.0 -> satisfiable by evenement/evenement[v2.0.0, v2.1.0].
- Can only install one of: evenement/evenement[v2.0.0, v3.0.1].
- Can only install one of: evenement/evenement[v2.1.0, v3.0.1].
- Installation request for evenement/evenement (locked at v3.0.1) -> satisfiable by evenement/evenement[v3.0.1].
Installation failed, reverting ./composer.json to its original content.
@irazasyed what about this line? - react/filesystem dev-feature-pthreads requires evenement/evenement ~2.0 -> satisfiable by evenement/evenement[2.0.x-dev, v2.0.0, v2.1.0]. are you using the feature-pthreads branch, if so that is ancient and hasn't been updated in for more then a year
I tried * because neither dev-master nor any stable versions worked. So thought I'd check if there's any version that would work. But if we were to install the dev-master as per the instructions in your last comment, then that's the problem I get.
@irazasyed for now this should fix it composer require wyrihaximus/react-child-process-messenger:"dev-master as 2.9.0" for now. Will ping you here once 2.9.0 has officially been released. Currently working out an edge case with a new event loop ext that might be related so holding that release of just a bit to be sure
Activity
WyriHaximus commentedon Feb 28, 2018
Hey @CharlotteDunois I'll fix up a PR for evenement tonight, and the stream dependency is also already in the works. Which should resolve it self within a week.
WyriHaximus commentedon Feb 28, 2018
@CharlotteDunois first PR is up at #22 😎
valVk commentedon Jun 20, 2018
Command used
docker exec -it react-cli sh -c 'php ./composer.phar update'composer.json{ "require": { "clue/stdio-react": "^2.1", "clue/commander": "^1.3", "clue/arguments": "^2.0", "vlucas/phpdotenv": "^2.4.0", "react/mysql": "^0.3.3", "react/filesystem": "^0.1.0" } }How to fix that problem&?
WyriHaximus commentedon Jun 20, 2018
@valVk It's fixed in the upcoming
v0.1.1. Just 4 more PR's and it should be ready.valVk commentedon Jun 20, 2018
Great to hear that. Thanks!
valVk commentedon Jun 27, 2018
I've tried to install dev-master version but no luck
Seems like this library has to be used as standalone package, and can't be used alongside with other reactphp libraries.
valVk commentedon Jul 2, 2018
I've deleted vendors and composer.lock and it was installed but I've got another issue with undefined constant here #34
WyriHaximus commentedon Jul 2, 2018
@CharlotteDunois PR for that is up at #35
Chunkford commentedon Jul 20, 2018
Don't suppose there's any update on this?
Just got to the point where I want to write errors to a file instead of storing it in an array and got this :(
WyriHaximus commentedon Jul 20, 2018
Use
dev-masteruntilv0.1.1has been released. Alternatively you can requireevenement/evenementin your project untilv0.1.1is out.irazasyed commentedon Nov 11, 2018
@WyriHaximus I'm facing this issue now even with
dev-masteror any versions :(Problem 1 - Conclusion: don't install react/filesystem v0.1.2 - Conclusion: don't install react/filesystem v0.1.1 - Conclusion: don't install react/filesystem v0.1.0 - Conclusion: don't install react/filesystem dev-master - Conclusion: don't install react/filesystem 0.1.x-dev - Conclusion: remove evenement/evenement v3.0.1 - Conclusion: don't install react/filesystem v0.1.2|remove paragonie/random_compat v9.99.99|install wyrihaximus/react-child-process-pool 1.3.0|install wyrihaximus/react-child-process-pool 1.4.0|install wyrihaximus/react-child-process-messenger 2.7.1|install wyrihaximus/react-child-process-messenger 2.7.2|install wyrihaximus/react-child-process-messenger 2.7.3 - Conclusion: don't install react/filesystem v0.1.2|don't install paragonie/random_compat v9.99.99|install wyrihaximus/react-child-process-pool 1.3.0|install wyrihaximus/react-child-process-pool 1.4.0|install wyrihaximus/react-child-process-messenger 2.7.1|install wyrihaximus/react-child-process-messenger 2.7.2|install wyrihaximus/react-child-process-messenger 2.7.3 - Conclusion: don't install react/filesystem v0.1.2|remove paragonie/random_compat v9.99.99|install wyrihaximus/react-child-process-pool 1.3.0|install wyrihaximus/react-child-process-pool 1.4.0|install wyrihaximus/react-child-process-messenger 2.7.1|install wyrihaximus/react-child-process-messenger 2.7.2|install wyrihaximus/react-child-process-messenger 2.7.3 - Conclusion: don't install react/filesystem v0.1.2|don't install paragonie/random_compat v9.99.99|install wyrihaximus/react-child-process-pool 1.3.0|install wyrihaximus/react-child-process-pool 1.4.0|install wyrihaximus/react-child-process-messenger 2.7.1|install wyrihaximus/react-child-process-messenger 2.7.2|install wyrihaximus/react-child-process-messenger 2.7.3 - Conclusion: don't install react/filesystem v0.1.1|remove paragonie/random_compat v9.99.99|install wyrihaximus/react-child-process-pool 1.3.0|install wyrihaximus/react-child-process-pool 1.4.0|install wyrihaximus/react-child-process-messenger 2.7.1|install wyrihaximus/react-child-process-messenger 2.7.2|install wyrihaximus/react-child-process-messenger 2.7.3 - Conclusion: don't install react/filesystem v0.1.1|don't install paragonie/random_compat v9.99.99|install wyrihaximus/react-child-process-pool 1.3.0|install wyrihaximus/react-child-process-pool 1.4.0|install wyrihaximus/react-child-process-messenger 2.7.1|install wyrihaximus/react-child-process-messenger 2.7.2|install wyrihaximus/react-child-process-messenger 2.7.3 - Conclusion: don't install react/filesystem v0.1.1|remove paragonie/random_compat v9.99.99|install wyrihaximus/react-child-process-pool 1.3.0|install wyrihaximus/react-child-process-pool 1.4.0|install wyrihaximus/react-child-process-messenger 2.7.1|install wyrihaximus/react-child-process-messenger 2.7.2|install wyrihaximus/react-child-process-messenger 2.7.3 - Conclusion: don't install react/filesystem v0.1.1|don't install paragonie/random_compat v9.99.99|install wyrihaximus/react-child-process-pool 1.3.0|install wyrihaximus/react-child-process-pool 1.4.0|install wyrihaximus/react-child-process-messenger 2.7.1|install wyrihaximus/react-child-process-messenger 2.7.2|install wyrihaximus/react-child-process-messenger 2.7.3 - Conclusion: don't install react/filesystem dev-master|remove paragonie/random_compat v9.99.99|install wyrihaximus/react-child-process-pool 1.3.0|install wyrihaximus/react-child-process-pool 1.4.0|install wyrihaximus/react-child-process-messenger 2.7.1|install wyrihaximus/react-child-process-messenger 2.7.2|install wyrihaximus/react-child-process-messenger 2.7.3 - Conclusion: don't install react/filesystem dev-master|don't install paragonie/random_compat v9.99.99|install wyrihaximus/react-child-process-pool 1.3.0|install wyrihaximus/react-child-process-pool 1.4.0|install wyrihaximus/react-child-process-messenger 2.7.1|install wyrihaximus/react-child-process-messenger 2.7.2|install wyrihaximus/react-child-process-messenger 2.7.3 - Conclusion: don't install react/filesystem dev-master|remove paragonie/random_compat v9.99.99|install wyrihaximus/react-child-process-pool 1.3.0|install wyrihaximus/react-child-process-pool 1.4.0|install wyrihaximus/react-child-process-messenger 2.7.1|install wyrihaximus/react-child-process-messenger 2.7.2|install wyrihaximus/react-child-process-messenger 2.7.3 - Conclusion: don't install react/filesystem dev-master|don't install paragonie/random_compat v9.99.99|install wyrihaximus/react-child-process-pool 1.3.0|install wyrihaximus/react-child-process-pool 1.4.0|install wyrihaximus/react-child-process-messenger 2.7.1|install wyrihaximus/react-child-process-messenger 2.7.2|install wyrihaximus/react-child-process-messenger 2.7.3 - Conclusion: don't install react/filesystem 0.1.x-dev|remove paragonie/random_compat v9.99.99|install wyrihaximus/react-child-process-pool 1.3.0|install wyrihaximus/react-child-process-pool 1.4.0|install wyrihaximus/react-child-process-messenger 2.7.1|install wyrihaximus/react-child-process-messenger 2.7.2|install wyrihaximus/react-child-process-messenger 2.7.3 - Conclusion: don't install react/filesystem 0.1.x-dev|don't install paragonie/random_compat v9.99.99|install wyrihaximus/react-child-process-pool 1.3.0|install wyrihaximus/react-child-process-pool 1.4.0|install wyrihaximus/react-child-process-messenger 2.7.1|install wyrihaximus/react-child-process-messenger 2.7.2|install wyrihaximus/react-child-process-messenger 2.7.3 - Conclusion: don't install react/filesystem 0.1.x-dev|remove paragonie/random_compat v9.99.99|install wyrihaximus/react-child-process-pool 1.3.0|install wyrihaximus/react-child-process-pool 1.4.0|install wyrihaximus/react-child-process-messenger 2.7.1|install wyrihaximus/react-child-process-messenger 2.7.2|install wyrihaximus/react-child-process-messenger 2.7.3 - Conclusion: don't install react/filesystem 0.1.x-dev|don't install paragonie/random_compat v9.99.99|install wyrihaximus/react-child-process-pool 1.3.0|install wyrihaximus/react-child-process-pool 1.4.0|install wyrihaximus/react-child-process-messenger 2.7.1|install wyrihaximus/react-child-process-messenger 2.7.2|install wyrihaximus/react-child-process-messenger 2.7.3 - Installation request for paragonie/random_compat (locked at v9.99.99) -> satisfiable by paragonie/random_compat[v9.99.99]. - Installation request for react/filesystem * -> satisfiable by react/filesystem[0.1.x-dev, dev-feature-pthreads, dev-master, v0.1.0, v0.1.1, v0.1.2]. - Conclusion: don't install evenement/evenement v3.0.1 - react/filesystem dev-feature-pthreads requires evenement/evenement ~2.0 -> satisfiable by evenement/evenement[2.0.x-dev, v2.0.0, v2.1.0]. - Can only install one of: evenement/evenement[2.0.x-dev, v3.0.1]. - Can only install one of: evenement/evenement[v2.0.0, v3.0.1]. - Can only install one of: evenement/evenement[v2.1.0, v3.0.1]. - Installation request for evenement/evenement (locked at v3.0.1) -> satisfiable by evenement/evenement[v3.0.1].The other packages I have are:
clue commentedon Nov 11, 2018
@irazasyed The output seems to suggest you may be using an outdated version of
wyrihaximus/react-child-process-messengerwhich does not already support the latest ReactPHP component. See https://github.com/WyriHaximus/reactphp-child-process-messenger/releases/tag/2.8.2 for the latest version.Can you try running
composer outdatedand make sure that neither package has any outdated dependencies?irazasyed commentedon Nov 11, 2018
@clue I'm not actually using
wyrihaximus/react-child-process-messengeranywhere. It's probably a dependency of one of the react packages.There doesn't seem to any outdated packages (ran the aforementioned command).
WyriHaximus commentedon Nov 11, 2018
@irazasyed what about this line?
- react/filesystem dev-feature-pthreads requires evenement/evenement ~2.0 -> satisfiable by evenement/evenement[2.0.x-dev, v2.0.0, v2.1.0].are you using thefeature-pthreadsbranch, if so that is ancient and hasn't been updated in for more then a yearirazasyed commentedon Nov 11, 2018
@WyriHaximus I actually tried to install with
*which is why it's showing all these other unneeded issues. But here's a proper stack of the problem.Happens when I try to install
dev-masterirazasyed commentedon Nov 11, 2018
I tried
*because neitherdev-masternor any stable versions worked. So thought I'd check if there's any version that would work. But if we were to install thedev-masteras per the instructions in your last comment, then that's the problem I get.irazasyed commentedon Nov 11, 2018
And I also tried by installing
evenement/evenementpackage anddev-masterof this package and it still fails.Thanks for the replies btw. Appreciate both your help @clue @WyriHaximus!
WyriHaximus commentedon Nov 11, 2018
@irazasyed still looks like you're pulling in old versions. Have you tried
composer updatebefore attempting to requirereact/filesystem.irazasyed commentedon Nov 11, 2018
Yes, I did. I'm fully up-to-date with all my dependencies.
WyriHaximus commentedon Nov 11, 2018
Can you post the output of
composer showandcomposer show -there?WyriHaximus commentedon Nov 12, 2018
Doh found the issue so
paragonie/random_compatissued a special versionv9as explained here https://github.com/paragonie/random_compat#version-99999 I'll issue a new release ofwyrihaximus/react-child-process-messengertomorrow resolving this issue. PR is already up for it at WyriHaximus/reactphp-child-process-messenger#18irazasyed commentedon Nov 12, 2018
That's good to know. Thank you so much!! Highly appreciated 👍
WyriHaximus commentedon Nov 12, 2018
@irazasyed for now this should fix it
composer require wyrihaximus/react-child-process-messenger:"dev-master as 2.9.0"for now. Will ping you here once 2.9.0 has officially been released. Currently working out an edge case with a new event loop ext that might be related so holding that release of just a bit to be sureirazasyed commentedon Nov 12, 2018
@WyriHaximus Sounds good. Just installed and it works ofc. Thanks!