laravel / pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.
https://pulse.laravel.com
MIT License
1.43k stars 164 forks source link

Composer compains about nunomanduro nunomaduro/collision package #199

Closed nezaboravi closed 9 months ago

nezaboravi commented 9 months ago

Pulse Version

1

Laravel Version

10.35.0

PHP Version

8.2.3

Livewire Version

not using livewire

Database Driver & Version

mysql

Description

When trying to install Pulse on existing project getting composer error

image

here is a part of composer.json

"require": {
        "php": "^8.2",
        "barryvdh/laravel-dompdf": "^2.0",
        "beyondcode/laravel-websockets": "^1.13",
        "doctrine/dbal": "^3.4",
        "guzzlehttp/guzzle": "^7.2",
        "inertiajs/inertia-laravel": "^0.6.3",
        "jenssegers/agent": "^2.6",
        "laravel/framework": "^10.0",
        "laravel/horizon": "^5.14",
        "laravel/jetstream": "^2.11",
        "laravel/sanctum": "^3.0",
        "laravel/slack-notification-channel": "^2.4",
        "laravel/tinker": "^2.7",
        "league/flysystem-aws-s3-v3": "^3.0",
        "meilisearch/meilisearch-php": "^0.24.2",
        "predis/predis": "^2.0",
        "pusher/pusher-php-server": "^7.2",
        "spatie/laravel-activitylog": "^4.5",
        "spatie/laravel-medialibrary": "^10.0.0",
        "staudenmeir/belongs-to-through": "^2.5",
        "staudenmeir/eloquent-has-many-deep": "^1.7",
        "symfony/http-client": "^6.1",
        "symfony/mailgun-mailer": "^6.1",
        "tightenco/ziggy": "^1.0",
        "laravel/spark-paddle": "^3.0"
    },
    "require-dev": {
        "barryvdh/laravel-debugbar": "^3.7",
        "barryvdh/laravel-ide-helper": "^2.12",
        "fakerphp/faker": "^1.9.1",
        "itsgoingd/clockwork": "^5.1",
        "laravel/pint": "^1.0",
        "laravel/sail": "^1.0.1",
        "mockery/mockery": "^1.4.4",
        "nunomaduro/collision": "^6.1",
        "pestphp/pest": "^1.22",
        "pestphp/pest-plugin-laravel": "^1.4",
        "phpunit/phpunit": "^9.5.10",
        "spatie/laravel-ignition": "^2.0"
    },

Steps To Reproduce

Run composer require laravel/pulse on existing application.

jbrooksuk commented 9 months ago

Which exact version of Pulse are you using?

BehnamEyvazpoorPy commented 9 months ago

I have the same problem and I just wanted to use pulse on the existence project and faced this error: laravel/pulse[v1.0.0-beta1, ..., v1.0.0-beta2] conflict with nunomaduro/collision <7.7.0.

tzurbaev commented 9 months ago

You need to upgrade nunomaduro/collision up to ^7.7 version: composer require nunomaduro/collision:^7.7 --dev

nezaboravi commented 9 months ago

Which exact version of Pulse are you using?

@jbrooksuk i am using one as for today. Dont know which one is as it never installs cause of nunomanduro/collision package error. So i just did composer require laravel/pulse

nezaboravi commented 9 months ago

Ok here is how i did it.

i removed those:

 "pestphp/pest": "^1.22",
 "pestphp/pest-plugin-laravel": "^1.4",

as they are requiring nunomanduro/collision 6

then i run composer update

then i changed in composer.json version for nunomanduro/collision to 7

run composer update

then again installed pest.

run composer require laravel/pulse

nezaboravi commented 9 months ago

Works now.

BehnamEyvazpoorPy commented 9 months ago

thanks worked for me too.

timacdonald commented 9 months ago

Hey folks, sorry for the troubles here.

This version is required in order to be able to show exceptions correctly in development environments.