hackgvl / hackgreenville-com

HackGreenville's Website
https://hackgreenville.com
MIT License
16 stars 15 forks source link

Only register the telescope service provider if its enabled #242

Closed zach2825 closed 1 month ago

zach2825 commented 1 month ago
zach2825 commented 1 month ago

@allella This should resolve the composer issue you saw when telescope is not enabled. I only register the telescope provider if its enabled

allella commented 1 month ago

@zach2825 this was merged and pulled, but I'm still getting the error on stage.

Would the following in config.app be causing the class to load?

App\Providers\TelescopeServiceProvider::class

allella commented 1 month ago

Sorry, I meant to say config/app.php

I just patched that file on stage, removing the App\Providers\TelescopeServiceProvider::class and that did allow composer to run without an error.