Home > Enterprise >  How to deploy a flutter web if I'm using Host Gator as server?
How to deploy a flutter web if I'm using Host Gator as server?

Time:08-15

I'm facing some problems about it

I did these steps:

Step 1: I wrote on terminal flutter build web --web-renderer canvaskit--release

Step 2: compress the files in a zip file and uploaded on public.html inside my file manager from my cPanel:

enter image description here

In the past, I updated the DNS and wait 3 days to see my website running, but unfortunately I can't see it:

enter image description here

What I am doing wrong, and finally, how can I solve this problem?

Thank you in advance

CodePudding user response:

You are missing flutter.js file. Please check ./your-app/build/web folder for the missing file(s), or try to run flutter clean and then flutter build web again.

  • Related