laracasts / PHP-Vars-To-Js-Transformer

Transform PHP data to JavaScript.
https://packagist.org/packages/laracasts/utilities
MIT License
2.21k stars 219 forks source link

Try to remove using composer, but got error #109

Closed psutinrerk closed 6 years ago

psutinrerk commented 6 years ago

Hello, I tried to remove the package on my site using the following command

composer remove Laracasts/Utilities

I got the following error

======================================================= Package "laracasts/utilities" listed for update is not installed. Ignoring. Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postUpdate php artisan optimize [Symfony\Component\Debug\Exception\FatalThrowableError] Class 'Laracasts\Utilities\JavaScript\JavaScriptServiceProvider' not found

Script php artisan optimize handling the post-update-cmd event returned with error code 1

Removal failed, reverting ./composer.json to its original content.

and now my site is broken with error

======================================================= (1/1) FatalThrowableErrorClass 'Laracasts\Utilities\JavaScript\JavaScriptServiceProvider' not found

in ProviderRepository.php (line 208) at ProviderRepository->createProvider('Laracasts\Utilities\JavaScript\JavaScriptServiceProvider')in ProviderRepository.php (line 144)

Could you please help :(