Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank Screen when Running Flutter Web Ap #7221

Open
1 task done
jinxlo opened this issue Jun 16, 2024 · 1 comment
Open
1 task done

Blank Screen when Running Flutter Web Ap #7221

jinxlo opened this issue Jun 16, 2024 · 1 comment
Assignees

Comments

@jinxlo
Copy link

jinxlo commented Jun 16, 2024

⚠️ Search for existing issues first ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

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
Copy link
Contributor

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

@Swiftyos Swiftyos self-assigned this Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants