how to solve vite manifest not found at error in laravel 9

In recently laravel 9 default use vite tool bundler. To avoid vite manifest not found at error, you forget to install npm and you should install and run npm install && npm run dev.


npm install && npm run dev
Vite manifest not found at Error

Vite manifest not found at Error


If you edit blade file then you must use vite run time command like npm run dev or npm run build you can see both command.

package.json

"scripts": {
        "dev": "vite",
        "build": "vite build"
    },


To Solve Vite manifest not found at Error run below command.

npm run dev
// OR
npm run build 


Note: Use two terminal to avoid vite manifest error.

solve laravel vite error

solve laravel vite error

Clear Cache

Laravel sometimes caches configuration files. Try running the following command to clear the configuration cache.

php artisan config:clear


Upgrade Vite

Ensure that you are using the latest version of Vite. Update Vite by running.

npm install vite@latest --save-dev


Read Also

Laravel 9 Add Simple Sidebar with Tailwind CSS Example

How to Use Carousel Slider in Laravel 9 Example

Laravel 9 Posts with Tags Many to Many Relationships Example

Laravel 9 Insert Category in Posts CRUD Example

How to Use Ckeditor 5 in Laravel 9 Vite with Tailwind CSS

Laravel 9 Simple Image Upload in Ckeditor 5 Example

Laravel 9 Flash Message Timeout and Hide Message Example

Install & Setup Markdown Editor in Laravel 9

Nuxt 3 Data Fetching Using Laravel 9 Api Example

Laravel 9 Image Upload with Preview using Tailwind CSS & Alpine JS

Laravel 9 with Tailwind CSS Form Validation Example

Laravel 9 Backend Api Connect with Vue 3 Using Axios Example

Laravel 9 Authentication with Next js Example

Laravel 9 Sanctum Authentication with Nuxt JS Example

Laravel 9 Simple Search with Pagination Example

Laravel 9 Install Setup TALL(Tailwind, Alpinejs, Livewire) Admin Panel

How to Fix and Clean Code Style in laravel 9

Laravel 9 Image File Upload Example

3 Way to Create Slug in Laravel 9 without Package

How to Add Dark Mode in Laravel 9 with Tailwind CSS