huguiqi commented on issue #11171:
URL: https://github.com/apache/superset/issues/11171#issuecomment-2767910555
我是Mac电脑,我遇到同样的问题,登陆后一直loading。我的电脑环境:
macbook M1 Pro, 系统版本:13.0.1;
使用docker compose 部署superset版本是4.1.2;docker 是:28.0.1.
问题我已经解决了,我是这样解决的,docker目录中:
1. .env 文件修改:BUILD_SUPERSET_FRONTEND_IN_DOCKER=true;
2. 修改 docker-frontend.sh 文件:
``` echo "Running `npm install`"
# npm install
npm ci
echo "Start webpack dev server"
# start the webpack dev server, serving dynamically at
http://localhost:9000
# it proxies to the backend served at http://localhost:8088
echo "chmod root for node_modules"
chmod -R a+x node_modules
npm run dev-server
```
--
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]