Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.0.25 breaks on composer install #147

Closed
alsotop opened this issue Jan 12, 2016 · 4 comments
Closed

0.0.25 breaks on composer install #147

alsotop opened this issue Jan 12, 2016 · 4 comments
Labels

Comments

@alsotop
Copy link

alsotop commented Jan 12, 2016

Updating to 0.0.25 breaks on composer install, with the following error:

Script php artisan clear-compiled handling the post-install-cmd event returned with an error

[RuntimeException]
Error Output: PHP Fatal error: Class 'REBELinBLUE\Deployer\Providers\JwtServiceProvider' not found in /var/www/deploy.hightechclick.com/bootstrap/cache/compiled.php on line 6923

@REBELinBLUE
Copy link
Owner

Can you try the following rm bootstrap/cache/* first?

Looks like the php artisan clear-compiled command which composer install runs isn't working correctly, will investigate further

@javiyt
Copy link

javiyt commented Jan 12, 2016

Same here

@REBELinBLUE
Copy link
Owner

Yeah from some searching it seems to be a common problem in Laravel if you remove a service provider because it is referenced compiled.php so artisan can't remove it because it then has an error. The fix is to remove it manually from bootstrap/cache/ and then run composer install again.

I'll see if I can get composer to remove it before updating, but then that means it will be compiled on each new update which probably isn't much of an issue really

@REBELinBLUE
Copy link
Owner

laravel/framework#9660 yeah that is the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants