dosubot[bot] commented on issue #31428: URL: https://github.com/apache/superset/issues/31428#issuecomment-2540655578
<!-- Answer --> I found a couple of similar discussions that might be relevant to your issue: 1. [Error while building the superset non-dev](https://github.com/apache/superset/discussions/30195) - This discussion is still open and might contain insights related to build issues in the Superset project <sup>[[1]](https://github.com/apache/superset/discussions/30195)</sup>. 2. [Problem compiling translations](https://github.com/apache/superset/discussions/26763) - This is another open discussion that deals with issues related to compiling translations, which might be similar to the problem you're encountering <sup>[[2]](https://github.com/apache/superset/discussions/26763)</sup>. Regarding your specific issue with the `npm run build-translation` command not being recognized, ensure that you have installed all necessary dependencies by running `npm ci` in the `superset-frontend` directory. This step is crucial as it installs the required Node.js packages that might include the `po2json` tool used in the `build-translation` script <sup>[[3]](https://github.com/apache/superset/blob/master/superset-frontend/package.json)</sup>. Additionally, verify that your environment is set up correctly with Node.js version 18 or greater, as specified in the prerequisites for running the `build-translation` script <sup>[[4]](https://github.com/apache/superset/blob/master/.github/workflows/superset-translations.yml)</sup>. If the command is still not recognized, it might be helpful to check if the `scripts/po2json.sh` file is executable and that the `po2json` command is available in your PATH. <!-- 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/f997e57e-4014-48cb-b89f-022a6ac0e2f8?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/f997e57e-4014-48cb-b89f-022a6ac0e2f8?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/f997e57e-4014-48cb-b89f-022a6ac0e2f8?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/f997e57e-4014-48cb-b89f-022a6ac0e2f8?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/f997e57e-4014-48cb-b89f-022a6ac0e2f8?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/f997e57e-4014-48cb-b89f-022a6ac0e2f8?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]
