Instalar Laravel Shopping Cart
Comprar curso

77. Instalar Laravel Shopping Cart


2 comentarios

Inicia sesión para comentar

Comentarios:

  • Jonn Yersin Oliver Salamanca

    Jonn Yersin Oliver Salamanca hace 1 semana

    Saludo:

    Al instalar shoppingcart, me muestra ester error

     

    $ composer require codersfree/shoppingcart

    https://repo.packagist.org could not be fully loaded (curl error 60 while downloading https://repo.packagist.org/packages.json: SSL certificate problem: unable to get local issuer certificate), package information was loaded from the local cache and may be out of date                                                               

    ./composer.json has been updated

    Running composer update codersfree/shoppingcart

    Loading composer repositories with package information

    https://repo.packagist.org could not be fully loaded (curl error 60 while downloading https://repo.packagist.org/packages.json: SSL certificate problem: unable to get local issuer certificate), package information was loaded from the local cache and may be out of date                                                               

    Updating dependencies

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

     

      Problem 1

        - Root composer.json requires codersfree/shoppingcart * -> satisfiable by codersfree/shoppingcart[v1.0.0].

        - codersfree/shoppingcart v1.0.0 requires illuminate/support 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|^6|^7|^8|^9|^10|^11.0 -> found illuminate/support[v5.1.1, ..., 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.16, v10.0.0, ..., v10.48.28, v11.0.0, ..., v11.45.0] but these were not loaded, likely because it conflicts with another require.

     

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

     

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

     

    La configuracion que se tienes es:

    Composer version 2.8.6 2025-02-25 13:03:50

    PHP version 8.2.12 (C:\xampp\php\php.exe)

    "require": {

            "php": "^8.2",

            "laravel/framework": "^12.0",

            "laravel/jetstream": "^5.3",

            "laravel/sanctum": "^4.0",

            "laravel/tinker": "^2.10.1",

            "livewire/livewire": "^3.0",

            "pbmedia/laravel-ffmpeg": "^8.7"

        },

     

    Lo probe en laravel 11, y se instalo sin problemas. 

    En la sección de introducción y la lección creación de un nuevo proyecto de este curso,

    se observa que se inicia con Laravel 12.0.1, se instala sin problemas.

    En mi caso cual seria el problema y como solucionarlo, porque el proyecto lo inicie con "laravel/framework": "^12.0" y quisiera mantenerlo con esa versión.

    Cual seria la manera de darle una solución.

    Gracias de antemano.
     

  • Aabad

    Aabad hace 1 mes

    https://github.com/codersfree/shoppingcart