Filament vite manifest not found!
How can I fix manifest.json not found on Laravel Cloud? I know npm run build will work correctly. But on Laravel Cloud, the first command is
composer install --no-dev that command run all the things before npm install. That's why I got the error. So here is how I fixed? - I removed php artisan package:discover --ansi . But I run after npm install. Is that best approach or not? How you guys handle this case?
Solution
It's because of the package:discover command. You might need to remove it and run it manually after
npm run build