dosubot[bot] commented on issue #37129: URL: https://github.com/apache/superset/issues/37129#issuecomment-3749280840
<!-- Answer --> The correct source path for BigNumberViz.tsx in Superset 6.0.0 is: ``` superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx ``` To override this file in your Docker build, place your modified BigNumberViz.tsx in your build context (for example, in frontend_overrides/BigNumberViz.tsx), then add this COPY command before running npm ci and npm run build: ```dockerfile COPY frontend_overrides/BigNumberViz.tsx superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx ``` Make sure this happens before the frontend build step, so your changes are included in the final assets. Node 20.x is required for frontend builds in Superset 6.0.0+—using Node 16 will fail [reference](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/346ca00a-6661-46c2-9554-072e79411690?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/346ca00a-6661-46c2-9554-072e79411690?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/346ca00a-6661-46c2-9554-072e79411690?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/346ca00a-6661-46c2-9554-072e79411690?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/346ca00a-6661-46c2-9554-072e79411690?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/346ca00a-6661-46c2-9554-072e79411690?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/346ca00a-6661-46c2-9554-072e79411690?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://cursor.com/link/prompt?text=The%20correct%20source%20path%20for%20BigNumberViz.tsx%20in%20Superset%206.0.0%20is%3A%0A%0A%60%60%60%0Asuperset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx%0A%60%60%60%0A%0ATo%20override%20this%20file%20in%20your%20Docker%20build%2C%20place%20your%20modified%20BigNumberViz.tsx%20in%20your%20build%20context%20%28for%20example%2C%20in%20frontend_overrides/BigNumberViz.tsx%29%2C%20then%20add%20this%20COPY%20command%20before%20running%20npm%20ci%20and%20npm%20run%20build%3A%0A%0A%60%60%60dockerfile%0ACOPY%20frontend_overrides/BigNumberViz.tsx%20superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx%0A%60%60%60%0A%0AMake%20sure%20this%20happens%20before%20the%20frontend%20build%20step%2C%20so%20your%20cha nges%20are%20included%20in%20the%20final%20assets.%20Node%2020.x%20is%20required%20for%20frontend%20builds%20in%20Superset%206.0.0%2B%E2%80%94using%20Node%2016%20will%20fail%C2%A0%5Breference%5D%28https%3A//github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx%29.) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/37129) -- 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]
