#Driver [discord] not supported.

63 messages · Page 1 of 1 (latest)

cosmic trellis
ruby scaffold
cosmic trellis
#

Thank you, I had installed socialiteproviders/discord

#

But it seems that it didnt work

#

Solved

cosmic trellis
#

it worked on the local server, but doesnt on heroku.

#

gives the same error

cosmic trellis
#

revive

fair pond
#

Then the driver probably isn't installed or registered

cosmic trellis
#

I mean it works locally and the composer packages do get installed when heroku starts hosting.

ruby scaffold
cosmic trellis
#

it is not installed as a dev-dependency. On the host I actually get the same error, in the same exact place as the last error, which i fixed by installing your package.

ruby scaffold
cosmic trellis
ruby scaffold
cosmic trellis
#

how can i install it on the server?

my composer.json

"require": {
        "php": "^8.1",
        "ext-gd": "*",
        "cloudinary-labs/cloudinary-laravel": "^2.0",
        "cloudinary/cloudinary_php": "^2",
        "doctrine/dbal": "^3.6",
        "guzzlehttp/guzzle": "^7.2",
        "intervention/image": "^2.7",
        "laravel/framework": "^10.10",
        "laravel/sanctum": "^3.2",
        "laravel/socialite": "^5.6",
        "laravel/tinker": "^2.8",
        "laravel/ui": "^4.2",
        "martinbean/socialite-discord-provider": "^1.2",
        "socialiteproviders/discord": "^4.1",
        "tightenco/ziggy": "^1.6"
    },
    "require-dev": {
        "fakerphp/faker": "^1.9.1",
        "laravel/pint": "^1.0",
        "laravel/sail": "^1.18",
        "mockery/mockery": "^1.4.4",
        "nunomaduro/collision": "^7.0",
        "phpunit/phpunit": "^10.1",
        "spatie/laravel-ignition": "^2.0",
        "martinbean/socialite-discord-provider": "^1.2",
        "socialiteproviders/discord": "^4.1",
        "laravel/socialite": "^5.6"
    },
ruby scaffold
cosmic trellis
#

it does install it, but it doesnt work

cloudinary-labs/cloudinary-laravel .................................... DONE
remote:          intervention/image .................................................... DONE
remote:          laravel/sanctum ....................................................... DONE
remote:          laravel/socialite ..................................................... DONE
remote:          laravel/tinker ........................................................ DONE
remote:          laravel/ui ............................................................ DONE
remote:          martinbean/socialite-discord-provider ................................. DONE
remote:          nesbot/carbon ......................................................... DONE
remote:          nunomaduro/termwind ................................................... DONE
remote:          socialiteproviders/manager ............................................ DONE
remote:          tightenco/ziggy ....................................................... DONE
ruby scaffold
cosmic trellis
#

umm, which package do i remove since there is no package with the name socialiteproviders/manager in my composer.json

ruby scaffold
#

There is.

cosmic trellis
#

i meant in my composer.json

ruby scaffold
#

C’mon, man 😩

cosmic trellis
#

ok

#

i always avoided removing it because it gave me an error.

#

Class "SocialiteProviders\Manager\ServiceProvider" not found

#

i fixed that error by removing mentions in app.php

#

now i'll try to push and see if it fixed the main error

#

welp still get the same error

cosmic trellis
#

i have no idea what to do

ruby scaffold
cosmic trellis
#

you mean remove laravel/socialite?

ruby scaffold
#

No.

#

The package I highlighted over an hour ago.

cosmic trellis
#

socialiteproviders is removed

ruby scaffold
#

Right. So commit the new composer.lock file and then re-deploy.

cosmic trellis
#

i did, it didnt work

#

same error

ruby scaffold
#

If you’ve installed in, then it’ll be registered.

#

Show the full output of your Heroku deploy.

cosmic trellis
cosmic trellis
#

found out how to do it. I think your package isnt compatible with heroku or something, because when I uninstalled it and tried with the socialiteproviders it worked.

fair pond
#

I think your package isnt compatible with heroku
I highly doubt that, as Martin is kinda known to be using Heroku (of having used it in the past)

#

A package "not being compatible with heroku" also doesn't make sense, at all

ruby scaffold
fair pond
#

Martin going above and beyond to prove it's PEBKAC 😅

ruby scaffold
#

Even fixed the TrustProxies middleware so the callback URI is valid…

#

…or they could just disappear offline.

#

Well, proved it’s not Heroku, so deleting app now as don’t fancy incurring an extra $7/month for the sake of “I told you so”.

cosmic trellis
#

well damn, sorry

#

it didnt work for me

#

mb 😅

#

still thanks for the help

#

martin still is a god ngl