GitHub user sainikhilsamineni added a comment to the discussion: Cutom Docker Image Build and deplument via Helm
@dosu then why am i getting these errors WARNING in ./src/components/Tooltip/index.tsx 22:0-42 115.1 export 'TooltipProps' (reexported as 'TooltipProps') was not found in 'antd-v5/lib/tooltip' (possible exports: __esModule, default) 115.1 115.1 WARNING in ./src/components/Tooltip/index.tsx 22:0-42 115.1 export 'TooltipPlacement' (reexported as 'TooltipPlacement') was not found in 'antd-v5/lib/tooltip' (possible exports: __esModule, default) 115.1 115.1 ERROR in ./plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts:106:3 115.1 TS6133: 'getXAxisFormatter' is declared but its value is never read. 115.1 104 | getPercentFormatter, 115.1 105 | getTooltipTimeFormatter, 115.1 > 106 | getXAxisFormatter, 115.1 | ^^^^^^^^^^^^^^^^^ 115.1 107 | getYAxisFormatter, 115.1 108 | } from '../utils/formatters'; 115.1 109 | 115.1 115.1 ERROR in ./plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts:193:5 115.1 TS6133: 'xAxisTimeFormat' is declared but its value is never read. 115.1 191 | xAxisSortSeries, 115.1 192 | xAxisSortSeriesAscending, 115.1 > 193 | xAxisTimeFormat, 115.1 | ^^^^^^^^^^^^^^^ 115.1 194 | xAxisTitle, 115.1 195 | xAxisTitleMargin, 115.1 196 | yAxisBounds, 115.1 115.1 ERROR in ./src/dashboard/reducers/dashboardState.test.ts:37:38 115.1 TS2345: Argument of type '{ activeTabs: never[]; }' is not assignable to parameter of type '{ timezone: string; }'. 115.1 Object literal may only specify known properties, and 'activeTabs' does not exist in type '{ timezone: string; }'. 115.1 35 | const thunkAction = request(store.dispatch, store.getState); 115.1 36 | 115.1 > 37 | expect(dashboardStateReducer({ activeTabs: [] }, thunkAction)).toEqual({ 115.1 | ^^^^^^^^^^ 115.1 38 | activeTabs: ['tab1'], 115.1 39 | inactiveTabs: [], 115.1 40 | }); 115.1 115.1 ERROR in ./src/dashboard/reducers/dashboardState.test.ts:45:33 115.1 TS2345: Argument of type '{ activeTabs: string[]; }' is not assignable to parameter of type '{ timezone: string; }'. 115.1 Object literal may only specify known properties, and 'activeTabs' does not exist in type '{ timezone: string; }'. 115.1 43 | const thunkAction2 = request2(store.dispatch, store.getState); 115.1 44 | expect( 115.1 > 45 | dashboardStateReducer({ activeTabs: ['tab1'] }, thunkAction2), 115.1 | ^^^^^^^^^^ 115.1 46 | ).toEqual({ activeTabs: ['tab2'], inactiveTabs: [] }); 115.1 47 | }); 115.1 48 | 115.1 115.1 ERROR in ./src/dashboard/reducers/dashboardState.test.ts:67:11 115.1 TS2345: Argument of type '{ activeTabs: string[]; }' is not assignable to parameter of type '{ timezone: string; }'. 115.1 Object literal may only specify known properties, and 'activeTabs' does not exist in type '{ timezone: string; }'. 115.1 65 | let thunkAction = request(store.dispatch, store.getState); 115.1 66 | let result = dashboardStateReducer( 115.1 > 67 | { activeTabs: ['TAB-1', 'TAB-A', 'TAB-__a'] }, 115.1 | ^^^^^^^^^^ 115.1 68 | thunkAction, 115.1 69 | ); 115.1 70 | expect(result).toEqual({ 115.1 115.1 ERROR in ./src/dashboard/reducers/dashboardState.test.ts:128:31 115.1 TS2345: Argument of type '{ activeTabs: never[]; }' is not assignable to parameter of type '{ timezone: string; }'. 115.1 Object literal may only specify known properties, and 'activeTabs' does not exist in type '{ timezone: string; }'. 115.1 126 | it('SET_ACTIVE_TABS', () => { 115.1 127 | expect( 115.1 > 128 | dashboardStateReducer({ activeTabs: [] }, setActiveTabs(['tab1'])), 115.1 | ^^^^^^^^^^ 115.1 129 | ).toEqual({ activeTabs: ['tab1'] }); 115.1 130 | expect( 115.1 131 | dashboardStateReducer( 115.1 115.1 ERROR in ./src/dashboard/reducers/dashboardState.test.ts:132:11 115.1 TS2345: Argument of type '{ activeTabs: string[]; }' is not assignable to parameter of type '{ timezone: string; }'. 115.1 Object literal may only specify known properties, and 'activeTabs' does not exist in type '{ timezone: string; }'. 115.1 130 | expect( 115.1 131 | dashboardStateReducer( 115.1 > 132 | { activeTabs: ['tab1', 'tab2'] }, 115.1 | ^^^^^^^^^^ 115.1 133 | setActiveTabs(['tab3', 'tab4']), 115.1 134 | ), 115.1 135 | ).toEqual({ activeTabs: ['tab3', 'tab4'] }); 115.1 115.1 ERROR in ./src/explore/components/controls/DateFilterControl/DateFilterLabel.tsx:141:37 115.1 TS7006: Parameter 'timeRange' implicitly has an 'any' type. 115.1 139 | `; 115.1 140 | 115.1 > 141 | function convertTimeRangeToTimezone(timeRange, timezone) { 115.1 | ^^^^^^^^^ 115.1 142 | // Example: "2025-07-23T05:59:49 ≤ col < 2025-07-23T06:05:49" 115.1 143 | // You may need to adjust this regex for your actual format 115.1 144 | if (!timeRange || !timezone) return timeRange; 115.1 115.1 ERROR in ./src/explore/components/controls/DateFilterControl/DateFilterLabel.tsx:141:48 115.1 TS7006: Parameter 'timezone' implicitly has an 'any' type. 115.1 139 | `; 115.1 140 | 115.1 > 141 | function convertTimeRangeToTimezone(timeRange, timezone) { 115.1 | ^^^^^^^^ 115.1 142 | // Example: "2025-07-23T05:59:49 ≤ col < 2025-07-23T06:05:49" 115.1 143 | // You may need to adjust this regex for your actual format 115.1 144 | if (!timeRange || !timezone) return timeRange; 115.1 115.1 ERROR in ./src/explore/components/controls/DateFilterControl/DateFilterLabel.tsx:147:5 115.1 TS7006: Parameter 'match' implicitly has an 'any' type. 115.1 145 | return timeRange.replace( 115.1 146 | /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/g, 115.1 > 147 | match => dayjs.utc(match).tz(timezone).format('YYYY-MM-DD HH:mm:ss') 115.1 | ^^^^^ 115.1 148 | ); 115.1 149 | } 115.1 150 | 115.1 115.1 webpack 5.97.1 compiled with 10 errors and 2 warnings in 105635 ms ------ Dockerfile:82 -------------------- 81 | # Build the frontend if not in dev mode 82 | >>> RUN --mount=type=cache,target=/root/.npm \ 83 | >>> if [ "$DEV_MODE" = "false" ]; then \ 84 | >>> echo "Running 'npm run ${BUILD_CMD}'"; \ 85 | >>> npm run ${BUILD_CMD}; \ 86 | >>> else \ 87 | >>> echo "Skipping 'npm run ${BUILD_CMD}' in dev mode"; \ 88 | >>> fi; 89 | -------------------- ERROR: failed to solve: process "/bin/sh -c if [ \"$DEV_MODE\" = \"false\" ]; then echo \"Running 'npm run ${BUILD_CMD}'\"; npm run ${BUILD_CMD}; else echo \"Skipping 'npm run ${BUILD_CMD}' in dev mode\"; fi;" did not complete successfully: exit code: 1 which i havent gotten when i use docker compse dev mode adding few new features onto frontend ? GitHub link: https://github.com/apache/superset/discussions/34882#discussioncomment-14244431 ---- This is an automatically sent email for notifications@superset.apache.org. To unsubscribe, please send an email to: notifications-unsubscr...@superset.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org