Strange php artisan optimize error
Hi there, so when i use this command on forge:
php artisan optimize
I get this error:
INFO Caching framework bootstrap, configuration, and metadata.
config ........................................................ 58.73ms DONE events ......................................................... 2.00ms DONE routes ........................................................ 85.83ms DONE views ........................................................ 799.51ms FAIL In ComponentTagCompiler.php line 316:
[InvalidArgumentException]
Unable to locate a class or view for component [heroicon-s-clipboard-document].
The strange this is, i don't get this error on my local server. I searched my codebase for this icon and it is only used my the breezy plugin that I am using. Anyone has any idea how to fix this? (i already use artisan filament:cache-components, but I think artisan optimize does more general laravel caching right?)
config ........................................................ 58.73ms DONE events ......................................................... 2.00ms DONE routes ........................................................ 85.83ms DONE views ........................................................ 799.51ms FAIL In ComponentTagCompiler.php line 316:
[InvalidArgumentException]
Unable to locate a class or view for component [heroicon-s-clipboard-document].
The strange this is, i don't get this error on my local server. I searched my codebase for this icon and it is only used my the breezy plugin that I am using. Anyone has any idea how to fix this? (i already use artisan filament:cache-components, but I think artisan optimize does more general laravel caching right?)
2 Replies