Significant-Gravitas / AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
https://agpt.co
MIT License
167.16k stars 44.19k forks source link

Blank Screen when Running Flutter Web Ap #7221

Closed jinxlo closed 1 month ago

jinxlo commented 3 months ago

⚠️ Search for existing issues first ⚠️

Which Operating System are you using?

Windows

Which version of AutoGPT are you using?

Latest Release

Do you use OpenAI GPT-3 or GPT-4?

GPT-3.5

Which area covers your issue best?

Installation and setup

Describe your issue.

I'm trying to run the Flutter web app (AutoGPT) on my Windows 10 laptop, but instead of seeing the expected UI, I'm getting a blank screen. I'm also getting the following warnings:

Warning: In index.html:38: Local variable for "serviceWorkerVersion" is deprecated. Use "{{flutter_service_worker_version}}" template token instead.

Warning: In index.html:71: "FlutterLoader.loadEntrypoint" is deprecated. Use "FlutterLoader.load" instead.

Steps to Reproduce:

Clone the repo: git clone https://github.com/Significant-Gravitas/AutoGPT.git

Navigate to the project directory: cd AutoGPT/frontend

Run the app: flutter run -d chrome --web-port 5000

Expected Result: The app should load and display the expected UI.

Actual Result: The app loads, but the UI is blank. No error messages or loading animations are present.

Additional Information:

Flutter version: 3.22.2

Dart version: 3.4.3

OS: Windows 10

Upload Activity Log Content

No response

Upload Error Log Content

No response

Swiftyos commented 3 months ago

If to develop the flutter app, this is the way to do it and you will need to debug this yourself.

If you just want to use the UI, it is automatically handled for you when you start autogpt.

If you start autogpt and go to 0.0.0.0:8000 you should see the flutter app

github-actions[bot] commented 1 month ago

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

github-actions[bot] commented 1 month ago

This issue was closed automatically because it has been stale for 10 days with no activity.