Closed ghost closed 6 years ago
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.
@CharlotteDunois first PR is up at #22 :sunglasses:
Command used docker exec -it react-cli sh -c 'php ./composer.phar update'
Do not run Composer as root/super user! See https://getcomposer.org/root for details
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
- Conclusion: remove clue/stdio-react v2.1.0
- Conclusion: remove react/stream v0.7.7
- Conclusion: don't install react/stream v0.7.7
- Conclusion: don't install react/stream v0.4.6
- Conclusion: don't install react/stream v0.7.6
- Conclusion: don't install react/stream v0.7.5
- Conclusion: don't install react/stream v0.4.5
- Conclusion: don't install react/stream v0.7.4
- Conclusion: don't install react/stream v0.7.3
- Conclusion: don't install react/stream v0.4.4
- Conclusion: don't install react/stream v0.7.2
- Conclusion: don't install react/stream v0.7.1
- Conclusion: don't install react/stream v0.4.3
- Installation request for clue/stdio-react ~2.1 -> satisfiable by clue/stdio-react[v2.1.0].
- Installation request for react/filesystem ~0.1.0 -> satisfiable by react/filesystem[v0.1.0].
- react/filesystem v0.1.0 requires react/stream ^0.4 -> satisfiable by react/stream[v0.4.0, v0.4.1, v0.4.2, v0.4.3, v0.4.4, v0.4.5, v0.4.6].
- Can only install one of: react/stream[v0.6.0, v0.4.0].
- Can only install one of: react/stream[v0.6.0, v0.4.1].
- Can only install one of: react/stream[v0.6.0, v0.4.2].
- clue/stdio-react v2.1.0 requires react/stream ^1.0 || ^0.7 || ^0.6 -> satisfiable by react/stream[v0.7.7, v0.6.0, v0.7.0, v0.7.1, v0.7.2, v0.7.3, v0.7.4, v0.7.5, v0.7.6].
- Conclusion: don't install react/stream v0.7.0
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"
}
}
$ 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
How to fix that problem&?
@valVk It's fixed in the upcoming v0.1.1
. Just 4 more PR's and it should be ready.
Great to hear that. Thanks!
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.
It can, but something is locking the event loop to v0.5.2. Look at your composer.json
, make sure it contains ^0.4 | ^0.5
for react/event-loop
.
@WyriHaximus You should probably add a PR for event loop v0.5 compatibility to your v0.1.1 milestone. :)
I've deleted vendors and composer.lock and it was installed but I've got another issue with undefined constant here https://github.com/reactphp/filesystem/issues/34
@CharlotteDunois PR for that is up at #35
@WyriHaximus Added my worthless approve :)
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.
@WyriHaximus I'm facing this issue now even with dev-master
or 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/buzz-react": "^2.5",
"clue/reactphp-flux": "^1.1"
@irazasyed The output seems to suggest you may be using an outdated version of wyrihaximus/react-child-process-messenger
which 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 outdated
and make sure that neither package has any outdated dependencies?
@clue I'm not actually using wyrihaximus/react-child-process-messenger
anywhere. It's probably a dependency of one of the react packages.
There doesn't seem to any outdated packages (ran the aforementioned command).
@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
@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-master
composer require react/filesystem:dev-master
Problem 1
- Conclusion: remove evenement/evenement v3.0.1
- Conclusion: don't install evenement/evenement v3.0.1
- wyrihaximus/react-child-process-messenger 2.7.1 requires react/child-process ^0.4 -> satisfiable by react/child-process[v0.4.0, v0.4.1, v0.4.2, v0.4.3].
- wyrihaximus/react-child-process-messenger 2.7.2 requires react/child-process ^0.4 -> satisfiable by react/child-process[v0.4.0, v0.4.1, v0.4.2, v0.4.3].
- wyrihaximus/react-child-process-messenger 2.7.3 requires react/child-process ^0.4 -> satisfiable by react/child-process[v0.4.0, v0.4.1, v0.4.2, v0.4.3].
- react/child-process v0.4.3 requires evenement/evenement ^2.0 || ^1.0 -> satisfiable by evenement/evenement[1.0.x-dev, 2.0.x-dev, v1.0.0, v1.1.0, v2.0.0, v2.1.0].
- wyrihaximus/react-child-process-pool 1.3.0 requires evenement/evenement ^2.0 -> satisfiable by evenement/evenement[2.0.x-dev, v2.0.0, v2.1.0].
- wyrihaximus/react-child-process-pool 1.4.0 requires evenement/evenement ^2.0 -> satisfiable by evenement/evenement[2.0.x-dev, v2.0.0, v2.1.0].
- react/child-process v0.4.0 requires evenement/evenement ~2.0 -> satisfiable by evenement/evenement[2.0.x-dev, v2.0.0, v2.1.0].
- react/child-process v0.4.1 requires evenement/evenement ~2.0 -> satisfiable by evenement/evenement[2.0.x-dev, v2.0.0, v2.1.0].
- react/child-process v0.4.2 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[1.0.x-dev, v3.0.1].
- Can only install one of: evenement/evenement[2.0.x-dev, v3.0.1].
- Can only install one of: evenement/evenement[v1.0.0, v3.0.1].
- Can only install one of: evenement/evenement[v1.1.0, 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].
- Installation request for react/filesystem dev-master -> satisfiable by react/filesystem[dev-master].
- Conclusion: 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: 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
- react/filesystem dev-master requires wyrihaximus/react-child-process-pool ^1.3 -> satisfiableby wyrihaximus/react-child-process-pool[1.3.0, 1.4.0, 1.4.1, 1.4.2].
- wyrihaximus/react-child-process-pool 1.4.2 requires wyrihaximus/react-child-process-messenger^2.7.1 -> satisfiable by wyrihaximus/react-child-process-messenger[2.7.1, 2.7.2, 2.7.3, 2.8.0, 2.8.1, 2.8.2].
- wyrihaximus/react-child-process-pool 1.4.1 requires wyrihaximus/react-child-process-messenger^2.7.1 -> satisfiable by wyrihaximus/react-child-process-messenger[2.7.1, 2.7.2, 2.7.3, 2.8.0, 2.8.1, 2.8.2].
- wyrihaximus/react-child-process-messenger 2.8.0 requires paragonie/random_compat ^2.0 -> satisfiable by paragonie/random_compat[v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9].
- wyrihaximus/react-child-process-messenger 2.8.1 requires paragonie/random_compat ^2.0 -> satisfiable by paragonie/random_compat[v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9].
- wyrihaximus/react-child-process-messenger 2.8.2 requires paragonie/random_compat ^2.0 -> satisfiable by paragonie/random_compat[v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9].
- Can only install one of: paragonie/random_compat[v2.0.0, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.1, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.10, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.11, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.12, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.13, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.14, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.15, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.16, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.17, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.2, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.3, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.4, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.5, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.6, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.7, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.8, v9.99.99].
- Can only install one of: paragonie/random_compat[v2.0.9, v9.99.99].
- Installation request for paragonie/random_compat (locked at v9.99.99) -> satisfiable by paragonie/random_compat[v9.99.99].
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.
And I also tried by installing evenement/evenement
package and dev-master
of this package and it still fails.
Thanks for the replies btw. Appreciate both your help @clue @WyriHaximus!
@irazasyed still looks like you're pulling in old versions. Have you tried composer update
before attempting to require react/filesystem
.
Yes, I did. I'm fully up-to-date with all my dependencies.
Can you post the output of composer show
and composer show -t
here?
Doh found the issue so paragonie/random_compat
issued a special version v9
as explained here https://github.com/paragonie/random_compat#version-99999 I'll issue a new release of wyrihaximus/react-child-process-messenger
tomorrow resolving this issue. PR is already up for it at https://github.com/WyriHaximus/reactphp-child-process-messenger/pull/18
That's good to know. Thank you so much!! Highly appreciated 👍
@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
@WyriHaximus Sounds good. Just installed and it works ofc. Thanks!
Hello
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?
Best Regards Charlotte