Uncaught ReferenceError: _flutter is not defined

Troubleshooting

Hi everyone,

has anyone seen this error before? After I deploy my web app to my server, and run the app, I get this error in the console "Uncaught ReferenceError: _flutter is not defined". The actual browser is blank.

Steps:

  1. Download code from FlutterFlow

  2. Open code in VS code

  3. run flutter pub get

  4. execute flutter build web

  5. ftp the contents of /build/web to my home directory

  6. Run the app

I only have it on two of the five apps I am currently working on. Never had this issue before. It started yesterday. They were running fine, until I updated the apps, redeployed, then this started to happen. I made the same changes to the other three apps, and they are fine after redeployment with the exact same steps.

Any ideas?

What have you tried so far?

I've cleared the cache, both on my server and on the clients. I've done a flutter clean. I've changed the index.html base ref, nothing works.

Did you check FlutterFlow's Documentation for this topic?
No