skip to Main Content

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

2

Answers


  1. 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.

    Login or Signup to reply.
  2. you need to update your index.html

    Change

    <base href="/">  to <base href="./"> 
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search