Skip to content

Fails to install when using Laravel 10 #2301

@AnthoniG

Description

@AnthoniG

When creating a fresh install of Laravel, it now defaults to v10
However when I try to install lighthouse, composer outputs the following :-

❯ composer require nuwave/lighthouse
./composer.json has been updated
Running composer update nuwave/lighthouse
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - nuwave/lighthouse[v0.1.0, ..., v0.7.8, v1.0.0] require illuminate/support ^5.2 -> found illuminate/support[v5.2.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
    - nuwave/lighthouse[v1.0.1, ..., v1.1.0] require illuminate/console ^5.2 || ^5.3 -> found illuminate/console[v5.2.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
    - nuwave/lighthouse[v2.0.0, ..., v2.2.1] require illuminate/contracts ^5.4 -> found illuminate/contracts[v5.4.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
    - nuwave/lighthouse[v2.3, ..., v2.6.4] require illuminate/contracts 5.5.*|5.6.*|5.7.* -> found illuminate/contracts[v5.5.0, ..., v5.7.28] but these were not loaded, likely because it conflicts with another require.
    - nuwave/lighthouse[v3.0.0, ..., v3.7.0, v4.0.0, ..., v4.1.1] require illuminate/contracts 5.5.*|5.6.*|5.7.*|5.8.* -> found illuminate/contracts[v5.5.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
    - nuwave/lighthouse[v4.2.0, ..., v4.9.0] require illuminate/contracts 5.5.* || 5.6.* || 5.7.* || 5.8.* || ^6.0 -> found illuminate/contracts[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44] but these were not loaded, likely because it conflicts with another require.
    - nuwave/lighthouse[v4.10.0, ..., 4.11.0] require illuminate/contracts 5.5.* || 5.6.* || 5.7.* || 5.8.* || ^6.0 || ^7.0 -> found illuminate/contracts[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require.
    - nuwave/lighthouse[v4.12.0, ..., v4.16.3] require illuminate/auth 5.5.* || 5.6.* || 5.7.* || 5.8.* || ^6.0 || ^7.0 -> found illuminate/auth[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require.
    - nuwave/lighthouse[v4.17.0, ..., v4.18.0] require illuminate/auth 5.5.* || 5.6.* || 5.7.* || 5.8.* || ^6.0 || ^7.0 || ^8.0 -> found illuminate/auth[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
    - nuwave/lighthouse[v5.0.0, ..., v5.39.2] require illuminate/auth 5.6.* || 5.7.* || 5.8.* || ^6 || ^7 || ^8 -> found illuminate/auth[v5.6.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
    - nuwave/lighthouse[v5.40.0, ..., v5.70.3] require illuminate/auth 5.6.* || 5.7.* || 5.8.* || ^6 || ^7 || ^8 || ^9 -> found illuminate/auth[v5.6.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.0] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires nuwave/lighthouse * -> satisfiable by nuwave/lighthouse[v0.1.0, ..., v0.7.8, v1.0.0, ..., v1.1.0, v2.0.0, ..., v2.6.4, v3.0.0, ..., v3.7.0, v4.0.0, ..., v4.18.0, v5.0.0, ..., v5.70.3].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require nuwave/lighthouse:*" to figure out if any version is installable, or "composer require nuwave/lighthouse:^2.1" if you know which you need.

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

Is anyone else experiencing this as well?
Any help is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions