GitHub user dosubot[bot] added a comment to the discussion: Installing error
<!-- Greeting --> Merhaba @gokhangulumser! Ben buradayım, sorunlarını çözmene yardımcı olmak için bekliyorum. Herhangi bir hata, soru ya da katkıda bulunma isteğin olursa, sana yardımcı olmaktan mutluluk duyarım! <!-- Answer --> To resolve the installation error when trying to install Superset 4.1.2 or 4.1.1 on Windows 11 using Docker Desktop 4.40.0, where the process locks during the `npm run build` step with Webpack progress at 93-94%, you can try the following steps: 1. Add npm to the system dependencies in your Dockerfile: ```dockerfile RUN /app/docker/apt-install.sh build-essential python3 zstd npm ``` 2. Configure npm to use a reliable registry mirror: ```bash npm config set registry http://mirrors.ustc.edu.cn/ ``` 3. To ensure the Webpack assets are built correctly, execute the following commands in sequence: ```bash cd superset-frontend/ npm install -f --no-optional --global webpack webpack-cli npm install -f --no-optional npm install -f --global webpack webpack-cli npm install -f npm run dev cd .. docker compose -f docker-compose-non-dev.yml up cd superset docker compose down docker compose up ``` These changes should help resolve the 'npm run build' failure in the Docker setup and ensure proper frontend functionality <sup>[[1]](https://github.com/apache/superset/issues/31714)</sup><sup>[[2]](https://github.com/apache/superset/issues/32187)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/d9dcd293-16a0-4fdc-8605-9a07c27e46be?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/d9dcd293-16a0-4fdc-8605-9a07c27e46be?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/d9dcd293-16a0-4fdc-8605-9a07c27e46be?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/d9dcd293-16a0-4fdc-8605-9a07c27e46be?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/d9dcd293-16a0-4fdc-8605-9a07c27e46be?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/d9dcd293-16a0-4fdc-8605-9a07c27e46be?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/d9dcd293-16a0-4fdc-8605-9a07c27e46be?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/33017#discussioncomment-12749903 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
