-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Hi!
Great to see this project going again!
Describe the bug
Unable to install dependencies.
To Reproduce
I tried the installation instructions in readme by running composer install hugofara/lwt
That gave me the error Invalid argument hugofara/lwt. Use "composer require hugofara/lwt" instead to add packages to your composer.json., so I ran composer require hugofara/lwt and got this:
❯ composer require hugofara/lwt
Installation failed, deleting ./composer.json.
In RequireCommand.php line 210:
No composer.json present in the current directory (./composer.json), this may be the cause of t
he following exception.
In InitCommand.php line 907:
Could not find a version of package hugofara/lwt matching your minimum-stability (stable). Requ
ire it with an explicit version constraint allowing its desired stability.
Specifying version by running composer require hugofara/lwt:dev-master gives this:
❯ composer require hugofara/lwt:dev-master
./composer.json has been created
Running composer update hugofara/lwt
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires hugofara/lwt dev-master -> satisfiable by hugofara/lwt[dev-master].
- hugofara/lwt dev-master requires aehlke/tag-it ^2.0 -> could not be found in any version, there may be a typo in the package name.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, deleting ./composer.json.
Switching to the dev-dev version and testing on Linux result in the same error
Expected behavior
composer install hugofara/lwt simply works
Desktop:
PHP version: tested on both 7.4.3 on Ubuntu 20.04.3 with Firefox and 7.4.12 on MacOS 12.0.1 with Safari and Vivaldi
Composer version: 2.2.3 on Ubuntu 20.04.3 with Firefox and 2.3-dev on MacOS 12.0.1 with Safari and Vivaldi
Unfortunately, I know little about PHP and couldn't figure out how to resolve the issue. But I'm really looking forward to seeing the future of this project!