Error While trying to Deploy Flutter Web App on cPanel: "We're sorry, but something went wrong.."
392
You need to generate Flutter web build files using the following command. Hit it on your terminal:
flutter build web
It will generate files at your_project/build/web/ location. You need to upload all the files to cPanel at public_html folder. It has index.html file, which will run in your browser with its dart javascript library. You don't need any third server with Node.js or python.
Detailed explanation at: How to Deploy Flutter Web App on cPanel Shared Hosting
Author by
Dami Qay
Updated on December 23, 2022Comments
-
Dami Qay over 1 year
I have followed the steps in this article to deploy flutter app as node.js app. My app directory in the server is: home/username/app/app, and here is what I entered to create node.js app:
and when I visit the web app url that's what I get:
How to solve it?