dosubot[bot] commented on issue #32426: URL: https://github.com/apache/superset/issues/32426#issuecomment-2691024717
<!-- Answer --> I found two similar closed issues related to Docker and npm problems in the Superset repository, but neither provided a solution in the comments <sup>[[1]](https://github.com/apache/superset/issues/20580)</sup><sup>[[2]](https://github.com/apache/superset/issues/22429)</sup>. Regarding your issue, the error message "Cannot read properties of undefined (reading 'extraneous')" in the `superset_node` container might be related to compatibility issues between Node.js and npm versions. The logs suggest updating npm to version 11.1.0. You can try updating npm within the Docker container by modifying the Dockerfile or using a command like `npm install -g [email protected]` within the container. Additionally, ensure that the `docker-compose.yaml` file is correctly configured. The `BUILD_SUPERSET_FRONTEND_IN_DOCKER` environment variable should be set to `true` if you are building the frontend inside the Docker container. If you have less than 16GB of memory, consider setting it to `false` and running `npm install` and `npm run dev` locally for better performance <sup>[[3]](https://github.com/apache/superset/blob/master/docker-compose.yml)</sup><sup>[[4]](https://github.com/apache/superset/blob/master/docs/docs/installation/docker-compose.mdx)</sup>. If the issue persists, you might want to check the `docker-frontend.sh` script to ensure it is executing the necessary steps correctly, such as installing npm packages and starting the webpack development server <sup>[[5]](https://github.com/apache/superset/blob/master/docker/docker-frontend.sh)</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/03a455ff-e9ee-4e36-b093-b19cb6264fc9?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/03a455ff-e9ee-4e36-b093-b19cb6264fc9?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/03a455ff-e9ee-4e36-b093-b19cb6264fc9?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/03a455ff-e9ee-4e36-b093-b19cb6264fc9?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/03a455ff-e9ee-4e36-b093-b19cb6264fc9?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/03a455ff-e9ee-4e36-b093-b19cb6264fc9?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/03a455ff-e9ee-4e36-b093-b19cb6264fc9?feedback_type=other)</sup> -- 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]
