I am currently working on deploying a Flutter web application to Render.com and have encountered several challenges that I hope to get some help with. I’ve followed the typical Flutter web deployment processes but seem to be missing something crucial for Render.com environments.
Here’s what I’ve done so far:
Build Configuration: I have configured the Flutter build command to generate a web-specific build using flutter build web. This command runs locally without issues and generates the expected build/web directory.
Render Setup: I have set up a new Web Service on Render and pointed it to my GitHub repository containing the Flutter project. I attempted to use the default build settings initially provided by Render.
Deployment Issues: During the deployment process, I receive an error indicating that Flutter is not found in the path (bash: flutter: command not found). It seems like Render’s build environment does not have Flutter installed by default.
I’m getting the same error. I couldn’t find any tutorial for this and i’ve read the documentation too
Eco ConnectX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.