dosubot[bot] commented on issue #29678:
URL: https://github.com/apache/superset/issues/29678#issuecomment-2247311112
<!-- Greeting -->
@monsterkai233 Hello there! I'm here to help you with any bugs, questions,
or contributions. Let's tackle this issue together while we wait for a human
maintainer.
<!-- Answer -->
The garbled characters on `localhost:9000` are likely due to the Webpack dev
server not running. To resolve this, ensure that the Webpack dev server is
started in parallel with the Flask server. Here are the steps:
1. Start the Flask server on port `8088`:
```bash
superset run -p 8088 --with-threads --reload --debugger --debug
```
2. In parallel, start the Webpack dev server on port `9000`:
```bash
npm run dev-server
```
Access `http://localhost:9000` in your web browser. This setup ensures that
the frontend assets are properly served and hot-reloaded, while backend
requests are proxied to the Flask server running on port `8088`
<sup>[[1]](https://github.com/apache/superset/blob/master/docs/docs/contributing/development.mdx)</sup>.
If the issue persists, check the `webpack.config.js` file for any
misconfigurations related to the port, public path, or proxy settings
<sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/webpack.config.js)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]