-
Notifications
You must be signed in to change notification settings - Fork 20
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
Fatal error: react/promise
declaration when running command
#246
Comments
@BrianHenryIE Seems to work fine for me:
I'm not sure how ReactPHP was added to the mix? |
I tested on another machine just now and had the same problem. Looks like the root is Composer itself requiring
..
{
"name": "composer/composer",
"version": "2.8.1",
"source": {
"type": "git",
"url": "https://github.com/composer/composer.git",
"reference": "e52b8672276cf436670cdd6bd5de4353740e83b2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/composer/composer/zipball/e52b8672276cf436670cdd6bd5de4353740e83b2",
"reference": "e52b8672276cf436670cdd6bd5de4353740e83b2",
"shasum": ""
},
"require": {
"composer/ca-bundle": "^1.5",
"composer/class-map-generator": "^1.4.0",
"composer/metadata-minifier": "^1.0",
"composer/pcre": "^2.2 || ^3.2",
"composer/semver": "^3.3",
"composer/spdx-licenses": "^1.5.7",
"composer/xdebug-handler": "^2.0.2 || ^3.0.3",
"justinrainbow/json-schema": "^5.3",
"php": "^7.2.5 || ^8.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"react/promise": "^3.2",
"seld/jsonlint": "^1.4",
"seld/phar-utils": "^1.2",
"seld/signal-handler": "^2.0",
"symfony/console": "^5.4.35 || ^6.3.12 || ^7.0.3",
"symfony/filesystem": "^5.4.35 || ^6.3.12 || ^7.0.3",
"symfony/finder": "^5.4.35 || ^6.3.12 || ^7.0.3",
"symfony/polyfill-php73": "^1.24",
"symfony/polyfill-php80": "^1.24",
"symfony/polyfill-php81": "^1.24",
"symfony/process": "^5.4.35 || ^6.3.12 || ^7.0.3"
},
... Related: |
came searching for the exact same issue.
|
Bug Report
Describe the current, buggy behavior
Describe how other contributors can replicate this bug
Also tried with
@stable
Describe what you would expect as the correct outcome
Let us know what environment you are running this on
Provide a possible solution
Maybe the required package is locked and a bugfix version is available?
Provide additional context/Screenshots
Same issue under PHP 8.3 and 7.4 and on another machine.
The text was updated successfully, but these errors were encountered: