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
As for me,
npm run build
command did the job.
I recommend running npm install && npm run dev since this looks like the default Laravel application.
npm install && npm run dev
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.
npm run prod
As for me,
Thecommand did the job.
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.