Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Peak's avatar
Level 1

Deploying Laravel-Vue on Shared Hosting

Hello, all.

I'm given these legacy source code that uses Laravel and Vue and was asked to deploy it to a server. I'm really new to Laravel and Vue, so this was kinda hard. Because of budget constraints, I chose a shared hosting. My problem was that after I have extracted all the required public files to the 'public_html' folder, I encountered the "Missing Mix Manifest File" error.

I have searched for a solution to this, and was asked to run npm install and npm run dev. Yet after I followed this instructions, my 'npm run dev' command ran into an error in which it stopped the build at 70% and did not progress at all. I suspect that it was because I had to move the contents of the public folder in my original laravel project folder to the public_html, but that situation is something that needed to be done in deploying to shared hosting as I was told. Does anyone know how I can solve this problem..?

0 likes
8 replies
Peak's avatar
Level 1

@jlrdw Does this mean that I do not need to run any npm commands whatsoever in that server if my project involves Vue as well..?

Peak's avatar
Level 1

@jlrdw I tried the solution and it displays this weird string of numbers :

" 1.46 / 8 16 Days 07:17:34 "

I have pointed my subdomain root to the subdomain folder containing the public folder's contents and rerouted the paths in my index.php to my core folder as well

Edit: I ran "npm run dev" on the core folder, but it still throws a "Missing Mix Manifest File" error when I try to open it

jlrdw's avatar

@Peak It's hard to troubleshoot another project in a forum. But try:

  • Re-read mix instructions and see if you missed something
  • Read over the deployment chapter in the documentation
  • See if the host has any how to articles on laravel installation

These are my suggestions only.

Edit:

Another possibility is placing the project in a GitHub repository and see if anyone can help.

Peak's avatar
Level 1

@jlrdw Understood. I'll try tinkering with it some more. Thank you for your help!

Please or to participate in this conversation.