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

Running the program gets a blank page #1367

Closed
ruan-xb-63 opened this issue Jan 26, 2024 · 2 comments
Closed

Running the program gets a blank page #1367

ruan-xb-63 opened this issue Jan 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ruan-xb-63
Copy link

pip install langflow
open http:https://127.0.0.1:7860
get error: Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.
I use python3.9 and I've tried versions 0.6.4, 0.2.0, 0.0.78 all with blank pages
image

Copy link

dosubot bot commented Jan 26, 2024

🤖

Hey @ruan-xb-63! Good to see you again. Looks like you've run into a new challenge! Let's find a way through this one together. 😄

The error message you're seeing, "Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.", is typically due to the server not serving the JavaScript files with the correct MIME type.

This could be due to a misconfiguration in the server or a problem with the build process of the JavaScript files.

As for the blank page issue, it could be related to the above error or it could be a separate issue. It's hard to tell without more information.

Could you please provide the following additional information to help diagnose the issue:

  1. The exact command you're using to start the server.
  2. Any additional error messages in the console.
  3. The network tab of the browser's developer tools when you load the page. This can show if any resources are failing to load which could cause a blank page.

Also, please ensure that all the dependencies listed in the pyproject.toml file are correctly installed. You can check this by running the project and checking if there are any errors related to missing or incorrect versions of dependencies.

If you're still facing the issue, it would be helpful if you could provide a minimal reproducible example. This would involve the smallest amount of code and steps necessary to reproduce the issue. This can help in identifying the exact cause of the problem.

Looking forward to your response.

Best,
Dosu

Sources


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

@dosubot dosubot bot added the bug Something isn't working label Jan 26, 2024
@anovazzi1
Copy link
Contributor

I recommend trying Python 3.10. Additionally, you can find some solutions to this problem on our Discord channel:
https://discord.com/channels/1116803230643527710/1129415917445586974

@dosubot dosubot bot added the stale label Jun 20, 2024
@dosubot dosubot bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2024
@dosubot dosubot bot removed the stale label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants