Skip to content
Back

Error deploying on appwrite site

  • 0
  • Flutter
  • Sites
  • Cloud
ricardoc
17 Aug, 2025, 01:00

Hello.

I'm learning to program in Flutter, and after creating my first app, I concluded that I would use AppWrite as the backend. So, I created a very simple app to test and learn how the connection between my app and AppWrite works.

My experience with web programming is still very basic, so I'm asking for your help.

I'm not using Git, so I'm trying to manually deploy my web app to AppWrite Cloud. I created the web app with the "flutter build --release" command, compressed the files created in the "build/web" directory into a tar.gz file, and downloaded it to AppWrite. But after a few seconds, AppWrite returns the following error:

2025-08-17T00:11:25.450112689Z Expected to find project root in current working directory.

2025-08-17T00:11:30.000000000Z The build file was not created.

I downloaded the same files to a local web server and everything works correctly. I've searched the internet and the AppWrite documentation, but I can't find anything that helps me solve the problem.

TL;DR
Developers learning Flutter are connecting their app to AppWrite backend but facing deployment issues on AppWrite Cloud. After trying to manually deploy their web app, they receive errors like "Expected to find project root in current working directory" and "The build file was not created." The app works fine on a local web server. The solution could be to ensure the correct project structure and root directory are set up before deployment to AppWrite Cloud.
ricardoc
17 Aug, 2025, 01:00

Error deploying on appwrite site

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more