Categories
Fixing Stuff Laravel Samuel

Fixing mix-manifest Error

If you are working in WordPress and see the error message:

Warning: file_get_contents(/file-path/build/mix-manifest.json): failed to open stream: No such file or directory

You can fix this error message with the steps below:

From the root of your project open up the command line and type:

npm install

npm run dev

This will create the build file and the mix-manifest file, and your error should go away.

If you are working in Laravel and see the error message:

The mix manifest does not exist. View:/var/www/html/site-name/resources/views/layouts/app.blad.php

You can fix this with the exact same steps that are listed above 🙂