Giter Club home page Giter Club logo

Comments (6)

KanCiGamer avatar KanCiGamer commented on May 24, 2024

I just want to install laravel/socialite but every time I install it, it deletes default packages like framework or tinker.. and crashes my whole project. I don't know how to fix it

from socialite.

crynobone avatar crynobone commented on May 24, 2024

composer require doesn't have the ability to delete other requirements.

from socialite.

KanCiGamer avatar KanCiGamer commented on May 24, 2024

@crynobone I don't know what I installed wrong that caused this problem. You can see the information when I used composer require below:
`PS E:\TestAPI\GoogleAPI2> composer require laravel/socialite
D:\Composer has been updated
Running composer update laravel/socialite
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 44 installs, 3 updates, 64 removals

  • Removing webmozart/assert (1.11.0)
  • Removing vlucas/phpdotenv (v5.6.0)
  • Removing tijsverkoyen/css-to-inline-styles (v2.2.7)
  • Removing theseer/tokenizer (1.2.2)
  • Removing symfony/yaml (v7.0.3)
  • Removing symfony/uid (v6.4.3)
  • Removing symfony/routing (v6.4.3)
  • Removing symfony/polyfill-uuid (v1.29.0)
  • Removing symfony/mailer (v6.4.4)
  • Removing symfony/css-selector (v7.0.3)
  • Removing spatie/laravel-ignition (2.4.2)
  • Removing spatie/ignition (1.12.0)
  • Removing spatie/flare-client-php (1.4.4)
  • Removing spatie/backtrace (1.5.3)
  • Removing sebastian/version (4.0.1)
  • Removing sebastian/type (4.0.0)
  • Removing sebastian/recursion-context (5.0.0)
  • Removing sebastian/object-reflector (3.0.0)
  • Removing sebastian/object-enumerator (5.0.0)
  • Removing sebastian/lines-of-code (2.0.2)
  • Removing sebastian/global-state (6.0.2)
  • Removing sebastian/exporter (5.1.2)
  • Removing sebastian/environment (6.0.1)
  • Removing sebastian/diff (5.1.1)
  • Removing sebastian/complexity (3.2.0)
  • Removing sebastian/comparator (5.0.1)
  • Removing sebastian/code-unit-reverse-lookup (3.0.0)
  • Removing sebastian/code-unit (2.0.0)
  • Removing sebastian/cli-parser (2.0.1)
  • Removing psy/psysh (v0.12.0)
  • Removing phpunit/phpunit (10.5.11)
  • Removing phpunit/php-timer (6.0.0)
  • Removing phpunit/php-text-template (3.0.1)
  • Removing phpunit/php-invoker (4.0.0)
  • Removing phpunit/php-file-iterator (4.1.0)
  • Removing phpunit/php-code-coverage (10.1.12)
  • Removing phpoption/phpoption (1.9.2)
  • Removing phar-io/version (3.2.1)
  • Removing phar-io/manifest (2.0.3)
  • Removing nunomaduro/collision (v7.10.0)
  • Removing nikic/php-parser (v5.0.1)
  • Removing nette/utils (v4.0.4)
  • Removing nette/schema (v1.3.0)
  • Removing myclabs/deep-copy (1.11.1)
  • Removing monolog/monolog (3.5.0)
  • Removing mockery/mockery (1.6.7)
  • Removing league/mime-type-detection (1.15.0)
  • Removing league/flysystem-local (3.23.1)
  • Removing league/flysystem (3.24.0)
  • Removing league/config (v1.2.0)
  • Removing league/commonmark (2.4.2)
  • Removing laravel/tinker (v2.9.0)
  • Removing laravel/sanctum (v3.3.3)
  • Removing laravel/sail (v1.28.1)
  • Removing laravel/pint (v1.14.0)
  • Removing laravel/framework (v10.46.0)
  • Removing hamcrest/hamcrest-php (v2.0.1)
  • Removing graham-campbell/result-type (v1.1.2)
  • Removing filp/whoops (2.15.4)
  • Removing fakerphp/faker (v1.23.1)
  • Removing egulias/email-validator (4.0.2)
  • Removing dragonmantank/cron-expression (v3.3.3)
  • Removing doctrine/lexer (3.0.1)
  • Removing dflydev/dot-access-data (v3.0.2)
  • Installing dasprid/enum (1.0.5): Extracting archive
  • Installing bacon/bacon-qr-code (2.0.8): Extracting archive
  • Installing illuminate/macroable (v10.46.0): Extracting archive
  • Installing illuminate/contracts (v10.46.0): Extracting archive
  • Installing illuminate/conditionable (v10.46.0): Extracting archive
  • Installing illuminate/collections (v10.46.0): Extracting archive
  • Installing illuminate/support (v10.46.0): Extracting archive
  • Installing illuminate/pipeline (v10.46.0): Extracting archive
  • Installing illuminate/bus (v10.46.0): Extracting archive
  • Installing illuminate/filesystem (v10.46.0): Extracting archive
  • Installing illuminate/container (v10.46.0): Extracting archive
  • Installing illuminate/database (v10.46.0): Extracting archive
  • Installing illuminate/events (v10.46.0): Extracting archive
  • Installing illuminate/view (v10.46.0): Extracting archive
  • Installing illuminate/console (v10.46.0): Extracting archive
  • Installing illuminate/queue (v10.46.0): Extracting archive
  • Installing illuminate/session (v10.46.0): Extracting archive
  • Installing mobiledetect/mobiledetectlib (4.8.06): Extracting archive
  • Installing paragonie/constant_time_encoding (v2.6.3): Extracting archive
  • Installing pragmarx/google2fa (v8.0.1): Extracting archive
  • Installing laravel/fortify (v1.20.1): Extracting archive
  • Installing laravel/jetstream (v4.3.0): Extracting archive
  • Downgrading psr/http-message (2.0 => 1.1): Extracting archive
  • Installing symfony/psr-http-message-bridge (v2.3.1): Extracting archive
  • Installing paragonie/random_compat (v9.99.100): Extracting archive
  • Installing phpseclib/phpseclib (3.0.37): Extracting archive
  • Installing nyholm/psr7 (1.8.1): Extracting archive
  • Installing league/uri-interfaces (2.3.0): Extracting archive
  • Installing league/uri (6.8.0): Extracting archive
  • Installing league/event (2.2.0): Extracting archive
  • Installing stella-maris/clock (0.1.7): Extracting archive
  • Installing lcobucci/clock (2.3.0): Extracting archive
  • Installing lcobucci/jwt (4.0.4): Extracting archive
  • Installing defuse/php-encryption (v2.4.0): Extracting archive
  • Installing league/oauth2-server (8.4.2): Extracting archive
  • Upgrading symfony/var-dumper (v6.4.4 => v7.0.4): Extracting archive
  • Upgrading symfony/error-handler (v6.4.4 => v7.0.4): Extracting archive
  • Installing illuminate/http (v10.46.0): Extracting archive
  • Installing illuminate/encryption (v10.46.0): Extracting archive
  • Installing illuminate/cookie (v10.46.0): Extracting archive
  • Installing illuminate/auth (v10.46.0): Extracting archive
  • Installing firebase/php-jwt (v6.10.0): Extracting archive
  • Installing laravel/passport (v11.8.4): Extracting archive
  • Installing league/oauth1-client (v1.10.1): Extracting archive
  • Installing laravel/socialite (v5.12.1): Extracting archive
  • Installing socialiteproviders/manager (v4.5.1): Extracting archive
  • Installing socialiteproviders/zoho (4.1.0): Extracting archive
    Generating autoload files
    45 packages you are using are looking for funding.
    Use the composer fund command to find out more!
    No security vulnerability advisories found.
    Using version ^5.12 for laravel/socialite`

from socialite.

crynobone avatar crynobone commented on May 24, 2024
Running composer update laravel/socialite
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file

Based on above information it's clear that:

  1. laravel/socialite requirements already exists in composer.lock.
  2. laravel/framework requirements is not available in composer.lock.

from socialite.

KanCiGamer avatar KanCiGamer commented on May 24, 2024

So what exactly should I do? I'm new and don't know how to determine exactly how to fix it. Please help me, thank you

from socialite.

KanCiGamer avatar KanCiGamer commented on May 24, 2024

I have solved the problem

from socialite.

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.