Jun 29, 2024
0
Level 2
Vite | adding non-existent module
Vite is working and the page loads without errors. But the page includes a file.js that doesn't exist. It looks it's coming from the cache. I cleanup Laravel cache, but didn't fix the issue:
php artisan cache:clear
Then I tried to clean Vite cache, but the terminal says Vite doesn't exist:
vite --force
- Vite 5
- Laravel 11
Can you please help. Thanks
https://vitejs.dev/guide/dep-pre-bundling.html#browser-cache
Please or to participate in this conversation.