Solution: Fix the problem that Vite cannot find the manifest file in the /app/public/build/manifest.json path
P粉739886290
P粉739886290 2023-10-29 17:01:41
0
2
748

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粉739886290
P粉739886290

reply all (2)
P粉647504283

As for me,

npm run build
The

command did the job.

    P粉330232096

    I recommend runningnpm install && npm run devsince 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 runnpm run prodsomewhere in your build pipeline.

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!