-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Dev-server page isn't rendered #29677
Comments
To address the issue of the broken page and garbled text when running the Superset development server at
These steps should help resolve the issue of garbled text due to incorrect character encoding [1]. |
@dosu Nope, it didn't work. |
I tried the same thing and it didn't work |
To fix the issue of a broken page and garbled text when running the Superset development server at
This setup ensures that the front-end assets are served correctly by the Webpack dev server while backend requests are proxied to the Flask server [1]. |
@goldjee hi bro, I use safari and it's working fine |
@monsterkai233 Hi! Good tip, Safari works. It seems very odd to me as I thought that as Chrome and Safari both use Webkit, they would behave similarly. It's worth mentioning I haven't seen stuff like that with other React projects. So it's probably related to something in the Superset repo. Webpack, maybe? Regarding Safari, I'm much more used to Chrome dev tools. It would be great if maintainers could take a look. |
Hi @goldjee. I also noticed this problem but haven't had the time to take a look. I hope other maintainers can fix it. In the meantime, I discovered that it works on Chrome if you use the IP address instead of |
Hi! Thank you for the suggestion. Just tried |
Not 127.0.0.1, your internal LAN IP such as 192.... Your IP will be in the output of |
Ah, I see. Yep, internal LAN IP worked. |
I have got around that by downgrading to node 16.20. Superset isn't heavily tested on Node 18. |
@geido I'm able to reproduce this issue with Node v16.20.2 |
Node 20 doesn't seem to magically fix this. Still looking for a good fix... |
Setting |
Fixed! Closing this thanks to #30034 |
Bug description
After installing all dependencies and running dev-server, I get broken page at
http://localhost:9000
.I've found the same very old issue #12040. The author supposed that it is specific to Chrome. But both Chrome and Firefox show broken page. Also it's worth mentioning that, as far as I see, there are no related errors in terminal or console output.
How to reproduce the bug
export SUPERSET_CONFIG_PATH=./docker/pythonpath_dev/superset_config_local.py superset run -p 8088 --with-threads --reload
Screenshots/recordings
Superset version
master / latest-dev
Python version
3.11
Node version
18 or greater
Browser
Chrome
Additional context
node.js version:
18.20.4
(same error on22.5.1
)Checklist
The text was updated successfully, but these errors were encountered: