alex32's avatar
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

https://stackoverflow.com/questions/76926120/vite-includes-module-that-does-not-exist-how-to-clear-cache

0 likes
0 replies

Please or to participate in this conversation.