How to Solve Vite manifest not found at Error In Laravel 9 without installing npm
HTML-код
- Опубликовано: 6 авг 2022
- I just feel this will help someone because I encountered this issue and the solutions I saw online just all about installing npm which I didn't want since the application was made for a server that doesn't support npm/node js
You can solve Vite manifest not found error in Laravel 9 without you installing npm.
1. Open your Laravel Project
2. Go to resources folder
3. Open views folder
4. Open layouts folder
5. Open app.blade.php file
6. Check the head tag and remove this:
@vite(['resources/sass/app.scss', 'resources/js/app.js'])
7. Save the file and refresh your browser
Thank you... it was of help to me. Was searching for best way to solve that within installing NPM.
THANK YOU BRO! GOD BLESS YOU! YOU SAVED ME BUNCH OF TIME AND STRESS!
Thanks bro this saved me loads of stress kudos thumbs up
thanks a lot bro it's really helpfull i waste a lots of hours to solve but u solve it in just a mint thanks .. keep shining
Thank yo bro. I watched video and I solved my error. From Turkey.
thank you so much.watching your video ,I have solved my error.I am from bangladashi
Thanks a lot I really needed this video
waste of time, if you can not fix it then comment it , Whf
Thanks you for sharing 🙂
MUCHAS GRACIAS!!
For this reason I have given you a subscription
thank you bro love u
so much
thank you so much
Thank you sooooooooooooooooo much bro
thanks it fix the error from pakistan
I never wanted to comment, but this video does not solve the problem. what about if you are using inertia js. your app will not load. in my case, i try to change the build directory when i got this error same error. instead of removing that code, just add
build: {
manifest: true,
outDir: '../build', //this build is what vite is looking for
},
so just in case, you change your build directory like me, just make sure you add the build to it
So in which file do you input this function ?
This answer is correct. Sorry for my english, but you need run `npm run build` this command create a folder in public folder named "build", you need upload this folder to your project and don't need delete the line of this video.
no work
😍
nice solution
thanx
seriously bro?
i might love you
This doesn't solve anything, you're just removing vite from your project 🤣
No joda
Hahaha a mí si me funcionó...