Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

undefined_variable's avatar

omg help, ive just jacked my production server

So basically i needed to make some quick adjustments, and I do have telescope installed locally as a dev dependancy and have had no issues, but it wasnt working so i ran artisan telescope:install.

turns out the issue was that I didnt migrate the db for the telescope entries.

after my adjustments I noticed telescope added itself to config,app when i git pushed.

anyway I get error when i try to deploy on forge Class 'Laravel\Telescope\TelescopeApplicationServiceProvider' not found

I removed this dependancy, ive ran composer remove laravel/telescope and ive deleted telescope from app/providers

I can now run composer install --no-dev locally no problems

but forge is still saying it cant find telescope, I dont know how as I've removed it so why is it looking for it?

this is part of my deploy script.

git pull origin master

composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev

php artisan migrate --force

What do I do?

0 likes
1 reply

Please or to participate in this conversation.