Code Monkey home page Code Monkey logo

Comments (3)

hisorange avatar hisorange commented on June 16, 2024 1

Thanks, I will update the mobile detect lib, looks like in both cases it is already loaded with a newer version. Have to do a test to see if there is any breaking change for our case, and if not than I can just expand the version requirements.

from browser-detect.

hisorange avatar hisorange commented on June 16, 2024 1

New release 5.0.3 is available and now the mobile detect dependency is matching the latest 4.x version.

Thank you for your report, please update to the latest version for the solution.
Have a nice day!

from browser-detect.

JohnMSykes avatar JohnMSykes commented on June 16, 2024

We are also running into what we believe may be a similar issue - We're including Jetstream 4.3.2 and it has these dependency requirements:

            "require": {
                "ext-json": "*",
                "illuminate/console": "^10.17",
                "illuminate/support": "^10.17",
                "laravel/fortify": "^1.19",
                "mobiledetect/mobiledetectlib": "^4.8",
                "php": "^8.1.0"
            },

This is the output from our recent attempt to composer require browser-detect:

composer require hisorange/browser-detect -W
./composer.json has been updated
Running composer update hisorange/browser-detect --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - hisorange/browser-detect[0.9.1, ..., 0.9.2] require mobiledetect/mobiledetectlib 2.* -> found mobiledetect/mobiledetectlib[2.5.0, ..., 2.8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - hisorange/browser-detect[1.0.1, ..., 1.0.4] require laravel/framework 4.* -> found laravel/framework[v4.0.0-BETA2, ..., 4.2.x-dev] but it conflicts with your root composer.json require (^10.28).
    - hisorange/browser-detect[2.0.0, ..., 2.0.6] require illuminate/support ~5.0 -> found illuminate/support[v5.0.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - hisorange/browser-detect[dev-backport/3.x, 3.0.0, ..., 3.1.6] require laravel/framework ~5.0 -> found laravel/framework[v5.0.0, ..., 5.8.x-dev] but it conflicts with your root composer.json require (^10.28).
    - hisorange/browser-detect[4.0.0, ..., 4.1.0] require laravel/framework ~6.0 -> found laravel/framework[v6.0.0, ..., 6.x-dev] but it conflicts with your root composer.json require (^10.28).
    - hisorange/browser-detect[4.2.0, ..., 4.5.4] require mobiledetect/mobiledetectlib ~2.8 -> found mobiledetect/mobiledetectlib[2.8.0, ..., 2.8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - hisorange/browser-detect 4.2.2 requires php ^7.1 -> your php version (8.3.1) does not satisfy that requirement.
    - hisorange/browser-detect[dev-stable, dev-develop, 5.0.0, ..., 5.0.2] require mobiledetect/mobiledetectlib ~3.74 -> found mobiledetect/mobiledetectlib[3.74.0, 3.74.2, 3.74.3, 3.74.x-dev] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires hisorange/browser-detect * -> satisfiable by hisorange/browser-detect[dev-stable, dev-develop, dev-backport/3.x, 0.9.1, 0.9.2, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 2.0.0, 2.0.2, 2.0.6, 3.0.0, ..., 3.1.6, 4.0.0, ..., 4.5.4, 5.0.0, 5.0.1, 5.0.2, 9999999-dev].

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

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

from browser-detect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.