Skip to content

[Fix] Issues with ramsey/uuid when installing? #17

Closed
@smoopins

Description

@smoopins

Hey folks, not a bug, but a compatibility issue downstream from this package.

This is likely a newbie issue more than anything, but if you're using Laravel 7 (in my case 7.13) it requires ramsey/uuid ^3|^4".

However, opencensus/opencensus (a dependency of this package) has its ramsey/uuid dependency set to "~3".

Thus, you need to manually downgrade ramsey/uuid directly in your project PRIOR to requiring gluedev/laravel-stackdriver or you too could wind up in the dependency-hell I just escaped from.

Do this by running composer require ramsey/uuid "^3". Then you can proceed on and run composer require gluedev/laravel-stackdriver.

Again, this dependency tracing may be second nature to others... but it just gobbled up about 90 minutes of my time. Thus, I hope this helps others.

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