techenby / radnight

A dark mode for the Statamic v3 control panel.
7 stars 3 forks source link

Tag 1.2.4 not published, Statamic 3.3 Composer Error #5

Closed OzairP closed 2 years ago

OzairP commented 2 years ago

I see #3 is closed however there is no tag pushed to git, nor available on packagist. This gives the error:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires andymnewhouse/radnight ^1.2 -> satisfiable by andymnewhouse/radnight[1.2.0, 1.2.1, 1.2.2, 1.2.3].
    - andymnewhouse/radnight[1.2.0, ..., 1.2.3] require statamic/cms ~3.1.0 || ~3.2.0 -> found statamic/cms[v3.1.0-alpha.1, ..., 3.2.x-dev] but it conflicts with your root composer.json require (^3.3).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require andymnewhouse/radnight:*" to figure out if any version is installable, or "composer require andymnewhouse/radnight:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Running composer require andymnewhouse/radnight:^1.2.4 gives

  Problem 1
    - Root composer.json requires andymnewhouse/radnight ^1.2.4, found andymnewhouse/radnight[dev-master, 0.1.0, ..., 0.1.10, 1.0.0, ..., 1.2.3] but it does not match the constraint.

The current workaround is to use composer require andymnewhouse/radnight:master

techenby commented 2 years ago

Whoops, tag 1.2.4 should be published now. Sorry about that!