helfull's avatar

Laravel vite manifest file not found

I am super confused

Running npm run dev results in everything working. Running npm run build results in a 500 Vite manifest file not found

I tried it locally as well, where it works without problems.

What i tried already:

rm -rf node_modules
npm ci
npm run build
rm -rf node_modules
npm install
npm run build
rm -rf storage/framework/views/*
php artisan optimize:clear

And many more, forgot likely a few.

I am really stuck on why i get this error. As if i look for the files in the public/build/assets folder, they do exist, as well as in the resources. So it cant be that they do not exist.

Can some one explain this to me?

0 likes
2 replies
helfull's avatar

After rebuilding the project locally i end up also getting the error locally i do not understand this at all

helfull's avatar

Well the problem was sitting right infront of the PC

manifest file not found ***.scss

Existing file ***.css

yeah okay

Please or to participate in this conversation.