Home  >  Q&A  >  body text

Solution: Fix the problem that Vite cannot find the manifest file in the /app/public/build/manifest.json path

It runs fine locally, but when I deploy it to the host, this problem pops up, not sure what to see or do.

Any suggestions? Thanks

P粉739886290P粉739886290377 days ago790

reply all(2)I'll reply

  • P粉647504283

    P粉6475042832023-10-30 13:13:08

    As for me,

    npm run build
    
    The

    command did the job.

    reply
    0
  • P粉330232096

    P粉3302320962023-10-30 12:24:15

    I recommend running npm install && npm run dev since this looks like the default Laravel application.

    This will generate the correct files for local development.

    If you want to run this in production, you should run npm run prod somewhere in your build pipeline.

    reply
    0
  • Cancelreply