superset: failed to solve: process "/bin/sh -c npm run ${BUILD_CMD}" did not complete successfully: exit code: 1

Bug description

I am running docker on Mac OS(M3) Cloned fresh repository. Ran the command “docker compose up” Ran into error

How to reproduce the bug

[+] Building 92.7s (29/132)                                                                                                                                                                      docker:desktop-linux
 => [superset-init internal] load build definition from Dockerfile                                                                                                                                               0.0s
 => => transferring dockerfile: 7.11kB                                                                                                                                                                           0.0s
 => [superset internal] load build definition from Dockerfile                                                                                                                                                    0.0s
 => => transferring dockerfile: 7.11kB                                                                                                                                                                           0.0s
 => [superset-worker-beat internal] load metadata for docker.io/library/python:3.10-slim-bookworm                                                                                                                3.3s
 => [superset-worker-beat internal] load metadata for docker.io/library/node:18-bullseye-slim                                                                                                                    2.3s
 => [superset-worker internal] load build definition from Dockerfile                                                                                                                                             0.0s
 => => transferring dockerfile: 7.11kB                                                                                                                                                                           0.0s
 => [superset-worker-beat internal] load build definition from Dockerfile                                                                                                                                        0.0s
 => => transferring dockerfile: 7.11kB                                                                                                                                                                           0.0s
 => [superset-init internal] load .dockerignore                                                                                                                                                                  0.0s
 => => transferring context: 1.26kB                                                                                                                                                                              0.0s
 => [superset-worker internal] load .dockerignore                                                                                                                                                                0.0s
 => => transferring context: 1.26kB                                                                                                                                                                              0.0s
 => [superset-worker-beat internal] load .dockerignore                                                                                                                                                           0.0s
 => => transferring context: 1.26kB                                                                                                                                                                              0.0s
 => [superset internal] load .dockerignore                                                                                                                                                                       0.0s
 => => transferring context: 1.26kB                                                                                                                                                                              0.0s
 => [superset-init] importing cache manifest from apache/superset-cache:3.10-slim-bookworm                                                                                                                       3.6s
 => => inferred cache manifest type: application/vnd.oci.image.index.v1+json                                                                                                                                     0.0s
 => [superset-worker superset-node  1/12] FROM docker.io/library/node:18-bullseye-slim@sha256:19f9bdb1890bcb6cc5e91f1c786984ab42bde48cf3f9f040d889d00830b756dc                                                   0.0s
 => [superset-worker-beat internal] load build context                                                                                                                                                           1.0s
 => => transferring context: 84.07MB                                                                                                                                                                             1.0s
 => [superset-worker lean  1/14] FROM docker.io/library/python:3.10-slim-bookworm@sha256:38ced5e623fb8a6b256826a9f1bbcf5247a05123d6b6cb3847c9cd6ba46ef9ac                                                        0.0s
 => [superset-init internal] load build context                                                                                                                                                                  1.6s
 => => transferring context: 84.07MB                                                                                                                                                                             1.5s
 => [superset internal] load build context                                                                                                                                                                       1.5s
 => => transferring context: 84.07MB                                                                                                                                                                             1.4s
 => [superset-worker internal] load build context                                                                                                                                                                1.6s
 => => transferring context: 84.07MB                                                                                                                                                                             1.5s
 => CACHED [superset-worker-beat superset-node  2/12] RUN apt-get update -qq     && apt-get install         -yqq --no-install-recommends         build-essential         python3                                 0.0s
 => CACHED [superset-worker-beat superset-node  3/12] RUN --mount=type=bind,target=/frontend-mem-nag.sh,src=./docker/frontend-mem-nag.sh     /frontend-mem-nag.sh                                                0.0s
 => CACHED [superset-worker-beat superset-node  4/12] WORKDIR /app/superset-frontend                                                                                                                             0.0s
 => CACHED [superset-worker-beat superset-node  5/12] RUN --mount=type=bind,target=./package.json,src=./superset-frontend/package.json     --mount=type=bind,target=./package-lock.json,src=./superset-frontend  0.0s
 => CACHED [superset-worker-beat superset-node  6/12] COPY superset-frontend /app/superset-frontend                                                                                                              0.0s
 => ERROR [superset-worker-beat superset-node  7/12] RUN npm run build                                                                                                                                          84.6s
 => CACHED [superset-worker-beat lean  2/14] WORKDIR /app                                                                                                                                                        0.0s
 => CACHED [superset-worker-beat lean  3/14] RUN mkdir -p /app/pythonpath superset/static requirements superset-frontend apache_superset.egg-info requirements     && useradd --user-group -d /app/superset_hom  0.0s
 => CACHED [superset-worker-beat lean  4/14] COPY --chown=superset:superset pyproject.toml setup.py MANIFEST.in README.md ./                                                                                     0.0s
 => CACHED [superset-worker-beat lean  5/14] COPY --chown=superset:superset superset-frontend/package.json superset-frontend/                                                                                    0.0s
 => CACHED [superset-worker-beat lean  6/14] COPY --chown=superset:superset requirements/base.txt requirements/                                                                                                  0.0s
 => CACHED [superset-worker-beat lean  7/14] RUN --mount=type=cache,target=/root/.cache/pip     apt-get update -qq && apt-get install -yqq --no-install-recommends       build-essential     && pip install --u  0.0s
------                                                                                                                                                                                                                
 > [superset-worker-beat superset-node  7/12] RUN npm run build:                                                                                                                                                      
0.898                                                                                                                                                                                                                 
0.898 > superset@0.0.0-dev build                                                                                                                                                                                      
0.898 > cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=production BABEL_ENV="${BABEL_ENV:=production}" webpack --mode=production --color                                                                   
0.898                                                                                                                                                                                                                 
1.594 [Superset Plugin] Use symlink source for @superset-ui/chart-controls @ ./packages/superset-ui-chart-controls
1.595 [Superset Plugin] Use symlink source for @superset-ui/core @ ./packages/superset-ui-core
1.596 [Superset Plugin] Use symlink source for @superset-ui/legacy-plugin-chart-calendar @ ./plugins/legacy-plugin-chart-calendar
1.596 [Superset Plugin] Use symlink source for @superset-ui/legacy-plugin-chart-chord @ ./plugins/legacy-plugin-chart-chord
1.597 [Superset Plugin] Use symlink source for @superset-ui/legacy-plugin-chart-country-map @ ./plugins/legacy-plugin-chart-country-map
1.597 [Superset Plugin] Use symlink source for @superset-ui/legacy-plugin-chart-event-flow @ ./plugins/legacy-plugin-chart-event-flow
1.597 [Superset Plugin] Use symlink source for @superset-ui/legacy-plugin-chart-heatmap @ ./plugins/legacy-plugin-chart-heatmap
1.598 [Superset Plugin] Use symlink source for @superset-ui/legacy-plugin-chart-histogram @ ./plugins/legacy-plugin-chart-histogram
1.598 [Superset Plugin] Use symlink source for @superset-ui/legacy-plugin-chart-horizon @ ./plugins/legacy-plugin-chart-horizon
1.599 [Superset Plugin] Use symlink source for @superset-ui/legacy-plugin-chart-map-box @ ./plugins/legacy-plugin-chart-map-box
1.599 [Superset Plugin] Use symlink source for @superset-ui/legacy-plugin-chart-paired-t-test @ ./plugins/legacy-plugin-chart-paired-t-test
1.599 [Superset Plugin] Use symlink source for @superset-ui/legacy-plugin-chart-parallel-coordinates @ ./plugins/legacy-plugin-chart-parallel-coordinates
1.600 [Superset Plugin] Use symlink source for @superset-ui/legacy-plugin-chart-partition @ ./plugins/legacy-plugin-chart-partition
1.600 [Superset Plugin] Use symlink source for @superset-ui/legacy-plugin-chart-rose @ ./plugins/legacy-plugin-chart-rose
1.600 [Superset Plugin] Use symlink source for @superset-ui/legacy-plugin-chart-sankey @ ./plugins/legacy-plugin-chart-sankey
1.601 [Superset Plugin] Use symlink source for @superset-ui/legacy-plugin-chart-sankey-loop @ ./plugins/legacy-plugin-chart-sankey-loop
1.601 [Superset Plugin] Use symlink source for @superset-ui/legacy-plugin-chart-world-map @ ./plugins/legacy-plugin-chart-world-map
1.601 [Superset Plugin] Use symlink source for @superset-ui/legacy-preset-chart-deckgl @ ./plugins/legacy-preset-chart-deckgl
1.602 [Superset Plugin] Use symlink source for @superset-ui/legacy-preset-chart-nvd3 @ ./plugins/legacy-preset-chart-nvd3
1.602 [Superset Plugin] Use symlink source for @superset-ui/plugin-chart-echarts @ ./plugins/plugin-chart-echarts
1.603 [Superset Plugin] Use symlink source for @superset-ui/plugin-chart-handlebars @ ./plugins/plugin-chart-handlebars
1.603 [Superset Plugin] Use symlink source for @superset-ui/plugin-chart-pivot-table @ ./plugins/plugin-chart-pivot-table
1.603 [Superset Plugin] Use symlink source for @superset-ui/plugin-chart-table @ ./plugins/plugin-chart-table
1.604 [Superset Plugin] Use symlink source for @superset-ui/plugin-chart-word-cloud @ ./plugins/plugin-chart-word-cloud
1.604 [Superset Plugin] Use symlink source for @superset-ui/switchboard @ ./packages/superset-ui-switchboard
1.604 
1.954 <s> [webpack.Progress] 0% 
1.954 
1.954 <s> [webpack.Progress] 1% setup before run
1.954 <s> [webpack.Progress] 1% setup before run NodeEnvironmentPlugin
1.954 <s> [webpack.Progress] 1% setup before run
1.954 <s> [webpack.Progress] 2% setup run
1.955 <s> [webpack.Progress] 2% setup run webpack-cli
1.955 <s> [webpack.Progress] 2% setup run ForkTsCheckerWebpackPlugin
1.955 <s> [webpack.Progress] 2% setup run WebpackManifestPlugin
1.955 <s> [webpack.Progress] 2% setup run
1.956 <s> [webpack.Progress] 4% setup normal module factory
1.956 <s> [webpack.Progress] 4% setup normal module factory
1.956 <s> [webpack.Progress] 5% setup context module factory
1.956 <s> [webpack.Progress] 5% setup context module factory
1.957 <s> [webpack.Progress] 6% setup before compile
1.957 <s> [webpack.Progress] 6% setup before compile ProgressPlugin
1.957 <s> [webpack.Progress] 6% setup before compile
1.957 <s> [webpack.Progress] 7% setup compile
1.957 <s> [webpack.Progress] 7% setup compile ExternalsPlugin
1.957 <s> [webpack.Progress] 7% setup compile ExternalsPlugin
1.957 <s> [webpack.Progress] 7% setup compile
1.959 <s> [webpack.Progress] 8% setup compilation
1.959 <s> [webpack.Progress] 8% setup compilation CopyPlugin
1.959 <s> [webpack.Progress] 8% setup compilation mini-css-extract-plugin
1.960 <s> [webpack.Progress] 8% setup compilation ArrayPushCallbackChunkFormatPlugin
1.960 <s> [webpack.Progress] 8% setup compilation JsonpChunkLoadingPlugin
1.960 <s> [webpack.Progress] 8% setup compilation StartupChunkDependenciesPlugin
1.960 <s> [webpack.Progress] 8% setup compilation ImportScriptsChunkLoadingPlugin
1.960 <s> [webpack.Progress] 8% setup compilation FetchCompileWasmPlugin
1.960 <s> [webpack.Progress] 8% setup compilation FetchCompileAsyncWasmPlugin
1.960 <s> [webpack.Progress] 8% setup compilation WorkerPlugin
1.960 <s> [webpack.Progress] 8% setup compilation SplitChunksPlugin
1.961 <s> [webpack.Progress] 8% setup compilation ResolverCachePlugin
1.961 <s> [webpack.Progress] 8% setup compilation HtmlWebpackPlugin
1.961 <s> [webpack.Progress] 8% setup compilation HtmlWebpackPlugin
1.961 <s> [webpack.Progress] 8% setup compilation WebpackManifestPlugin
1.961 <s> [webpack.Progress] 8% setup compilation
1.961 <s> [webpack.Progress] 9% setup compilation
1.961 <s> [webpack.Progress] 9% setup compilation ProvidePlugin
1.961 <s> [webpack.Progress] 9% setup compilation DefinePlugin
1.964 <s> [webpack.Progress] 9% setup compilation ProgressPlugin
1.964 <s> [webpack.Progress] 9% setup compilation mini-css-extract-plugin
1.964 <s> [webpack.Progress] 9% setup compilation ForkTsCheckerWebpackPlugin
1.964 <s> [webpack.Progress] 9% setup compilation ChunkPrefetchPreloadPlugin
1.964 <s> [webpack.Progress] 9% setup compilation SourceMapDevToolPlugin
1.965 <s> [webpack.Progress] 9% setup compilation JavascriptModulesPlugin
1.965 <s> [webpack.Progress] 9% setup compilation JsonModulesPlugin
1.965 <s> [webpack.Progress] 9% setup compilation AssetModulesPlugin
1.965 <s> [webpack.Progress] 9% setup compilation EntryPlugin
1.965 <s> [webpack.Progress] 9% setup compilation EntryPlugin
1.965 <s> [webpack.Progress] 9% setup compilation EntryPlugin
1.965 <s> [webpack.Progress] 9% setup compilation EntryPlugin
1.965 <s> [webpack.Progress] 9% setup compilation EntryPlugin
1.965 <s> [webpack.Progress] 9% setup compilation EntryPlugin
1.965 <s> [webpack.Progress] 9% setup compilation EntryPlugin
1.965 <s> [webpack.Progress] 9% setup compilation EntryPlugin
1.965 <s> [webpack.Progress] 9% setup compilation RuntimePlugin
1.965 <s> [webpack.Progress] 9% setup compilation InferAsyncModulesPlugin
1.965 <s> [webpack.Progress] 9% setup compilation DataUriPlugin
1.965 <s> [webpack.Progress] 9% setup compilation FileUriPlugin
1.966 <s> [webpack.Progress] 9% setup compilation CompatibilityPlugin
1.966 <s> [webpack.Progress] 9% setup compilation HarmonyModulesPlugin
1.966 <s> [webpack.Progress] 9% setup compilation AMDPlugin
1.966 <s> [webpack.Progress] 9% setup compilation RequireJsStuffPlugin
1.966 <s> [webpack.Progress] 9% setup compilation CommonJsPlugin
1.966 <s> [webpack.Progress] 9% setup compilation LoaderPlugin
1.966 <s> [webpack.Progress] 9% setup compilation LoaderPlugin
1.966 <s> [webpack.Progress] 9% setup compilation NodeStuffPlugin
1.966 <s> [webpack.Progress] 9% setup compilation APIPlugin
1.967 <s> [webpack.Progress] 9% setup compilation ExportsInfoApiPlugin
1.967 <s> [webpack.Progress] 9% setup compilation WebpackIsIncludedPlugin
1.967 <s> [webpack.Progress] 9% setup compilation ConstPlugin
1.967 <s> [webpack.Progress] 9% setup compilation UseStrictPlugin
1.967 <s> [webpack.Progress] 9% setup compilation RequireIncludePlugin
1.967 <s> [webpack.Progress] 9% setup compilation RequireEnsurePlugin
1.967 <s> [webpack.Progress] 9% setup compilation RequireContextPlugin
1.967 <s> [webpack.Progress] 9% setup compilation ImportPlugin
1.967 <s> [webpack.Progress] 9% setup compilation ImportMetaContextPlugin
1.967 <s> [webpack.Progress] 9% setup compilation SystemPlugin
1.967 <s> [webpack.Progress] 9% setup compilation ImportMetaPlugin
1.967 <s> [webpack.Progress] 9% setup compilation URLPlugin
1.967 <s> [webpack.Progress] 9% setup compilation DefaultStatsFactoryPlugin
1.967 <s> [webpack.Progress] 9% setup compilation DefaultStatsPresetPlugin
1.967 <s> [webpack.Progress] 9% setup compilation DefaultStatsPrinterPlugin
1.968 <s> [webpack.Progress] 9% setup compilation JavascriptMetaInfoPlugin
1.968 <s> [webpack.Progress] 9% setup compilation EnsureChunkConditionsPlugin
1.968 <s> [webpack.Progress] 9% setup compilation RemoveEmptyChunksPlugin
1.968 <s> [webpack.Progress] 9% setup compilation MergeDuplicateChunksPlugin
1.968 <s> [webpack.Progress] 9% setup compilation FlagIncludedChunksPlugin
1.968 <s> [webpack.Progress] 9% setup compilation SideEffectsFlagPlugin
1.968 <s> [webpack.Progress] 9% setup compilation FlagDependencyExportsPlugin
1.968 <s> [webpack.Progress] 9% setup compilation FlagDependencyUsagePlugin
1.968 <s> [webpack.Progress] 9% setup compilation InnerGraphPlugin
1.968 <s> [webpack.Progress] 9% setup compilation MangleExportsPlugin
1.968 <s> [webpack.Progress] 9% setup compilation ModuleConcatenationPlugin
1.969 <s> [webpack.Progress] 9% setup compilation NoEmitOnErrorsPlugin
1.969 <s> [webpack.Progress] 9% setup compilation RealContentHashPlugin
1.969 <s> [webpack.Progress] 9% setup compilation WasmFinalizeExportsPlugin
1.969 <s> [webpack.Progress] 9% setup compilation DeterministicModuleIdsPlugin
1.969 <s> [webpack.Progress] 9% setup compilation DeterministicChunkIdsPlugin
1.969 <s> [webpack.Progress] 9% setup compilation DefinePlugin
1.969 <s> [webpack.Progress] 9% setup compilation CssMinimizerPlugin
1.969 <s> [webpack.Progress] 9% setup compilation TerserPlugin
1.972 <s> [webpack.Progress] 9% setup compilation TemplatedPathPlugin
1.972 <s> [webpack.Progress] 9% setup compilation RecordIdsPlugin
1.972 <s> [webpack.Progress] 9% setup compilation WarnCaseSensitiveModulesPlugin
1.972 <s> [webpack.Progress] 9% setup compilation AddBuildDependenciesPlugin
1.972 <s> [webpack.Progress] 9% setup compilation AddBuildDependenciesPlugin
1.972 <s> [webpack.Progress] 9% setup compilation AddBuildDependenciesPlugin
1.972 <s> [webpack.Progress] 9% setup compilation IgnoreWarningsPlugin
1.972 <s> [webpack.Progress] 9% setup compilation WebpackManifestPlugin
1.972 <s> [webpack.Progress] 9% setup compilation
1.972 <s> [webpack.Progress] 10% building
1.972 <s> [webpack.Progress] 10% building 0/1 entries 0/0 dependencies 0/0 modules
2.051 <s> [webpack.Progress] 10% building import loader ./node_modules/thread-loader/dist/cjs.js
2.055 <s> [webpack.Progress] 10% building import loader ./node_modules/babel-loader/lib/index.js
2.142 <s> [webpack.Progress] 10% building import loader ./node_modules/ts-loader/index.js
2.162 <s> [webpack.Progress] 10% building 0/8 entries 8/8 dependencies 0/5 modules
3.496 `isModuleDeclaration` has been deprecated, please migrate to `isImportOrExportDeclaration`
3.496     at isModuleDeclaration (/app/superset-frontend/node_modules/@babel/types/lib/validators/generated/index.js:2748:35)
3.496     at PluginPass.Program (/app/superset-frontend/node_modules/babel-plugin-lodash/lib/index.js:102:44)
3.497 `isModuleDeclaration` has been deprecated, please migrate to `isImportOrExportDeclaration`
3.497     at isModuleDeclaration (/app/superset-frontend/node_modules/@babel/types/lib/validators/generated/index.js:2748:35)
3.497     at PluginPass.Program (/app/superset-frontend/node_modules/babel-plugin-lodash/lib/index.js:102:44)
3.501 `isModuleDeclaration` has been deprecated, please migrate to `isImportOrExportDeclaration`
3.501     at isModuleDeclaration (/app/superset-frontend/node_modules/@babel/types/lib/validators/generated/index.js:2748:35)
3.501     at PluginPass.Program (/app/superset-frontend/node_modules/babel-plugin-lodash/lib/index.js:102:44)
3.506 `isModuleDeclaration` has been deprecated, please migrate to `isImportOrExportDeclaration`
3.506     at isModuleDeclaration (/app/superset-frontend/node_modules/@babel/types/lib/validators/generated/index.js:2748:35)
3.506     at PluginPass.Program (/app/superset-frontend/node_modules/babel-plugin-lodash/lib/index.js:102:44)
3.507 `isModuleDeclaration` has been deprecated, please migrate to `isImportOrExportDeclaration`
3.507     at isModuleDeclaration (/app/superset-frontend/node_modules/@babel/types/lib/validators/generated/index.js:2748:35)
3.507     at PluginPass.Program (/app/superset-frontend/node_modules/babel-plugin-lodash/lib/index.js:102:44)
3.507 <s> [webpack.Progress] 10% building 0/8 entries 8/9 dependencies 0/5 modules
3.525 <s> [webpack.Progress] 10% building import loader ./node_modules/mini-css-extract-plugin/dist/loader.js
3.526 <s> [webpack.Progress] 10% building import loader ./node_modules/css-loader/dist/cjs.js
3.608 <s> [webpack.Progress] 10% building import loader ./node_modules/less-loader/dist/cjs.js
3.613 <s> [webpack.Progress] 10% building 0/8 entries 11/13 dependencies 0/8 modules
3.649 <s> [webpack.Progress] 10% building import loader ./node_modules/react-hot-loader/webpack.js
3.659 <s> [webpack.Progress] 10% building 0/8 entries 14/74 dependencies 0/9 modules
4.237 <s> [webpack.Progress] 10% building 0/8 entries 80/179 dependencies 2/45 modules
4.822 <s> [webpack.Progress] 10% building 0/8 entries 177/266 dependencies 4/100 modules
5.555 - Processing: packages/superset-ui-chart-controls/src/components/CertifiedIconWithTooltip.tsx 
5.901 \ Processing: packages/superset-ui-chart-controls/src/components/ColumnOption.tsx 
5.963 | Processing: packages/superset-ui-chart-controls/src/components/ColumnTypeLabel/ColumnTypeLabel.tsx 
6.022 / Processing: packages/superset-ui-chart-controls/src/components/ControlHeader.tsx 
6.054 <s> [webpack.Progress] 10% building 0/8 entries 192/300 dependencies 4/113 modules
6.073 - Processing: packages/superset-ui-chart-controls/src/components/ControlSubSectionHeader.tsx 
6.091 \ Processing: packages/superset-ui-chart-controls/src/components/Dropdown.tsx 
6.114 | Processing: packages/superset-ui-chart-controls/src/components/InfoTooltipWithTrigger.tsx 
6.139 / Processing: packages/superset-ui-chart-controls/src/components/Menu.tsx 
6.161 - Processing: packages/superset-ui-chart-controls/src/components/MetricOption.tsx 
6.201 \ Processing: packages/superset-ui-chart-controls/src/components/SQLPopover.tsx 
6.241 | Processing: packages/superset-ui-chart-controls/src/components/Select.tsx 
6.277 / Processing: packages/superset-ui-chart-controls/src/components/Tooltip.tsx 
6.303 - Processing: packages/superset-ui-chart-controls/src/components/labelUtils.tsx 
6.323 `isModuleDeclaration` has been deprecated, please migrate to `isImportOrExportDeclaration`
6.323     at isModuleDeclaration (/app/superset-frontend/node_modules/@babel/types/lib/validators/generated/index.js:2748:35)
6.323     at PluginPass.Program (/app/superset-frontend/node_modules/babel-plugin-lodash/lib/index.js:102:44)
6.323 `isModuleDeclaration` has been deprecated, please migrate to `isImportOrExportDeclaration`
6.323     at isModuleDeclaration (/app/superset-frontend/node_modules/@babel/types/lib/validators/generated/index.js:2748:35)
6.323     at PluginPass.Program (/app/superset-frontend/node_modules/babel-plugin-lodash/lib/index.js:102:44)
6.327 `isModuleDeclaration` has been deprecated, please migrate to `isImportOrExportDeclaration`
6.327     at isModuleDeclaration (/app/superset-frontend/node_modules/@babel/types/lib/validators/generated/index.js:2748:35)
6.327     at PluginPass.Program (/app/superset-frontend/node_modules/babel-plugin-lodash/lib/index.js:102:44)
6.328 `isModuleDeclaration` has been deprecated, please migrate to `isImportOrExportDeclaration`
6.328     at isModuleDeclaration (/app/superset-frontend/node_modules/@babel/types/lib/validators/generated/index.js:2748:35)
6.328     at PluginPass.Program (/app/superset-frontend/node_modules/babel-plugin-lodash/lib/index.js:102:44)
6.328 `isModuleDeclaration` has been deprecated, please migrate to `isImportOrExportDeclaration`
6.328     at isModuleDeclaration (/app/superset-frontend/node_modules/@babel/types/lib/validators/generated/index.js:2748:35)
6.328     at PluginPass.Program (/app/superset-frontend/node_modules/babel-plugin-lodash/lib/index.js:102:44)
6.348 \ Processing: packages/superset-ui-chart-controls/src/constants.ts 
6.379 | Processing: packages/superset-ui-chart-controls/src/fixtures.ts 
6.414 / Processing: packages/superset-ui-chart-controls/src/index.ts 
6.432 - Processing: packages/superset-ui-chart-controls/src/operators/boxplotOperator.ts 
6.453 \ Processing: packages/superset-ui-chart-controls/src/operators/contributionOperator.ts 
6.465 | Processing: packages/superset-ui-chart-controls/src/operators/flattenOperator.ts 
6.477 / Processing: packages/superset-ui-chart-controls/src/operators/histogramOperator.ts 
6.497 - Processing: packages/superset-ui-chart-controls/src/operators/index.ts 
6.516 \ Processing: packages/superset-ui-chart-controls/src/operators/pivotOperator.ts 
6.536 | Processing: packages/superset-ui-chart-controls/src/operators/prophetOperator.ts 
6.553 / Processing: packages/superset-ui-chart-controls/src/operators/rankOperator.ts 
6.566 - Processing: packages/superset-ui-chart-controls/src/operators/renameOperator.ts 
6.585 \ Processing: packages/superset-ui-chart-controls/src/operators/resampleOperator.ts 
6.601 | Processing: packages/superset-ui-chart-controls/src/operators/rollingWindowOperator.ts 
6.628 / Processing: packages/superset-ui-chart-controls/src/operators/sortOperator.ts 
6.651 - Processing: packages/superset-ui-chart-controls/src/operators/timeCompareOperator.ts 
6.667 \ Processing: packages/superset-ui-chart-controls/src/operators/timeComparePivotOperator.ts 
6.683 | Processing: packages/superset-ui-chart-controls/src/operators/types.ts 
6.692 / Processing: packages/superset-ui-chart-controls/src/operators/utils/constants.ts 
6.706 - Processing: packages/superset-ui-chart-controls/src/operators/utils/extractExtraMetrics.ts 
6.720 \ Processing: packages/superset-ui-chart-controls/src/operators/utils/getMetricOffsetsMap.ts 
6.733 | Processing: packages/superset-ui-chart-controls/src/operators/utils/index.ts 
6.744 / Processing: packages/superset-ui-chart-controls/src/operators/utils/isDerivedSeries.ts 
6.749 `isModuleDeclaration` has been deprecated, please migrate to `isImportOrExportDeclaration`
6.749     at isModuleDeclaration (/app/superset-frontend/node_modules/@babel/types/lib/validators/generated/index.js:2748:35)
6.749     at PluginPass.Program (/app/superset-frontend/node_modules/babel-plugin-lodash/lib/index.js:102:44)
6.760 - Processing: packages/superset-ui-chart-controls/src/operators/utils/isTimeComparison.ts 
6.774 \ Processing: packages/superset-ui-chart-controls/src/operators/utils/timeOffset.ts 
6.793 | Processing: packages/superset-ui-chart-controls/src/sections/advancedAnalytics.tsx 
6.827 / Processing: packages/superset-ui-chart-controls/src/sections/annotationsAndLayers.tsx 
6.830 <s> [webpack.Progress] 10% building 0/8 entries 300/589 dependencies 7/179 modules
6.844 - Processing: packages/superset-ui-chart-controls/src/sections/chartTitle.tsx 
6.864 \ Processing: packages/superset-ui-chart-controls/src/sections/echartsTimeSeriesQuery.tsx 
6.882 | Processing: packages/superset-ui-chart-controls/src/sections/forecastInterval.tsx 
6.896 / Processing: packages/superset-ui-chart-controls/src/sections/index.ts 
6.908 - Processing: packages/superset-ui-chart-controls/src/sections/sections.tsx 
6.927 \ Processing: packages/superset-ui-chart-controls/src/sections/timeComparison.tsx 
6.948 | Processing: packages/superset-ui-chart-controls/src/shared-controls/components/RadioButtonControl.tsx 
6.968 / Processing: packages/superset-ui-chart-controls/src/shared-controls/components/index.tsx 
6.979 - Processing: packages/superset-ui-chart-controls/src/shared-controls/components/types.ts 
6.995 \ Processing: packages/superset-ui-chart-controls/src/shared-controls/customControls.tsx 
7.034 | Processing: packages/superset-ui-chart-controls/src/shared-controls/dndControls.tsx 
7.064 / Processing: packages/superset-ui-chart-controls/src/shared-controls/index.ts 
7.083 - Processing: packages/superset-ui-chart-controls/src/shared-controls/mixins.tsx 
7.131 \ Processing: packages/superset-ui-chart-controls/src/shared-controls/sharedControls.tsx 
7.192 | Processing: packages/superset-ui-chart-controls/src/types.ts 
7.245 / Processing: packages/superset-ui-chart-controls/src/utils/D3Formatting.ts 
7.259 - Processing: packages/superset-ui-chart-controls/src/utils/checkColumnType.ts 
7.274 \ Processing: packages/superset-ui-chart-controls/src/utils/columnChoices.ts 
7.291 | Processing: packages/superset-ui-chart-controls/src/utils/defineSavedMetrics.ts 
7.302 / Processing: packages/superset-ui-chart-controls/src/utils/displayTimeRelatedControls.ts 
7.315 - Processing: packages/superset-ui-chart-controls/src/utils/expandControlConfig.tsx 
7.341 \ Processing: packages/superset-ui-chart-controls/src/utils/getColorFormatters.ts 
7.381 | Processing: packages/superset-ui-chart-controls/src/utils/getStandardizedControls.ts 
7.405 / Processing: packages/superset-ui-chart-controls/src/utils/getTemporalColumns.ts 
7.420 - Processing: packages/superset-ui-chart-controls/src/utils/index.ts 
7.435 \ Processing: packages/superset-ui-chart-controls/src/utils/mainMetric.ts 
7.442 <s> [webpack.Progress] 10% building 0/8 entries 587/638 dependencies 12/314 modules
7.449 | Processing: packages/superset-ui-chart-controls/src/utils/selectOptions.ts 
7.470 / Processing: packages/superset-ui-core/src/api/types/core.ts 
7.485 - Processing: packages/superset-ui-core/src/chart/clients/ChartClient.ts 
7.529 \ Processing: packages/superset-ui-core/src/chart/components/ChartDataProvider.tsx 
7.560 | Processing: packages/superset-ui-core/src/chart/components/FallbackComponent.tsx 
7.586 / Processing: packages/superset-ui-core/src/chart/components/NoResultsComponent.tsx 
7.631 - Processing: packages/superset-ui-core/src/chart/components/SuperChart.tsx 
7.680 \ Processing: packages/superset-ui-core/src/chart/components/SuperChartCore.tsx 
.
.
.
.
.
.
.
.
.
.
.
.

59.52 <s> [webpack.Progress] 92% sealing asset processing
59.52 <s> [webpack.Progress] 92% sealing asset processing copy-webpack-plugin
59.61 <s> [webpack.Progress] 92% sealing asset processing PersistentChildCompilerSingletonPlugin
59.61 <s> [webpack.Progress] 92% sealing asset processing CssMinimizerPlugin
59.64 \ Processing: src/explore/components/controls/HiddenControl.tsx 
59.84 | Processing: src/explore/components/controls/MetricControl/AdhocMetricEditPopover/AdhocMetricEditPopover.test.tsx 
60.03 / Processing: src/explore/components/controls/MetricControl/AdhocMetricEditPopoverTitle.test.tsx 
60.13 - Processing: src/explore/components/controls/MetricControl/AdhocMetricEditPopoverTitle.tsx 
60.24 \ Processing: src/explore/components/controls/MetricControl/AdhocMetricPopoverTrigger.tsx 
60.33 | Processing: src/explore/components/controls/MetricControl/AggregateOption.test.tsx 
60.40 / Processing: src/explore/components/controls/MetricControl/MetricDefinitionOption.test.tsx 
60.58 - Processing: src/explore/components/controls/MetricControl/types.ts 
60.59 \ Processing: src/explore/components/controls/OptionControls/OptionControls.test.tsx 
60.62 | Processing: src/explore/components/controls/OptionControls/index.tsx 
60.67 / Processing: src/explore/components/controls/SelectAsyncControl/SelectAsyncControl.test.tsx 
60.69 - Processing: src/explore/components/controls/SelectAsyncControl/index.tsx 
60.78 \ Processing: src/explore/components/controls/SliderControl.stories.tsx 
60.79 | Processing: src/explore/components/controls/SliderControl.tsx 
60.88 / Processing: src/explore/components/controls/TextControl/TextControl.test.tsx 
60.90 - Processing: src/explore/components/controls/TextControl/index.tsx 
60.93 \ Processing: src/explore/components/controls/TimeOffsetControl.tsx 
60.96 | Processing: src/explore/components/controls/TimeSeriesColumnControl/TimeSeriesColumnControl.test.tsx 
61.06 / Processing: src/explore/components/controls/ViewQuery.tsx 
61.10 - Processing: src/explore/components/controls/ViewQueryModal.tsx 
61.12 \ Processing: src/explore/components/controls/ViewQueryModalFooter.tsx 
61.19 | Processing: src/explore/components/controls/VizTypeControl/FastVizSwitcher.tsx 
61.25 / Processing: src/explore/components/controls/VizTypeControl/VizTypeControl.test.tsx 
61.31 - Processing: src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx 
61.39 \ Processing: src/explore/components/controls/VizTypeControl/index.tsx 
61.42 | Processing: src/explore/components/controls/XAxisSortControl.tsx 
61.45 <s> [webpack.Progress] 92% sealing asset processing TerserPlugin
61.57 / Processing: src/explore/components/controls/withAsyncVerification.test.tsx 
61.63 - Processing: src/explore/components/controls/withAsyncVerification.tsx 
61.65 \ Processing: src/explore/components/optionRenderers.tsx 
61.67 | Processing: src/explore/components/useExploreAdditionalActionsMenu/DashboardsSubMenu.test.tsx 
61.70 / Processing: src/explore/components/useExploreAdditionalActionsMenu/DashboardsSubMenu.tsx 
61.79 - Processing: src/explore/constants.ts 
61.83 \ Processing: src/explore/controlPanels/sections.tsx 
61.87 | Processing: src/explore/controlUtils/controlUtils.test.tsx 
61.90 / Processing: src/explore/controlUtils/getColumnKeywords.test.tsx 
61.91 - Processing: src/explore/controlUtils/getColumnKeywords.tsx 
61.93 \ Processing: src/explore/controlUtils/getControlConfig.ts 
61.99 | Processing: src/explore/controlUtils/getControlState.ts 
62.04 / Processing: src/explore/controlUtils/getControlValuesCompatibleWithDatasource.test.ts 
62.07 - Processing: src/explore/controlUtils/getControlValuesCompatibleWithDatasource.ts 
62.09 \ Processing: src/explore/controlUtils/getFormDataFromControls.ts 
62.12 | Processing: src/explore/controlUtils/getFormDataFromDashboardContext.test.ts 
62.17 / Processing: src/explore/controlUtils/getFormDataWithDashboardContext.ts 
62.25 - Processing: src/explore/controlUtils/getSectionsToRender.ts 
62.33 \ Processing: src/explore/controlUtils/index.ts 
62.42 | Processing: src/explore/controlUtils/standardizedFormData.test.ts 
62.54 / Processing: src/explore/controlUtils/standardizedFormData.ts 
62.86 - Processing: src/explore/exploreUtils/formData.test.ts 
62.93 \ Processing: src/explore/exploreUtils/formData.ts 
62.96 | Processing: src/explore/exploreUtils/getChartDataUri.test.ts 
63.11 / Processing: src/explore/exploreUtils/getChartKey.test.ts 
63.16 - Processing: src/explore/exploreUtils/getExploreUrl.test.ts 
63.20 \ Processing: src/explore/exploreUtils/getHostName.test.ts 
63.27 | Processing: src/explore/exploreUtils/getLegacyEndpointType.test.ts 
63.31 / Processing: src/explore/exploreUtils/getParsedExploreURLParams.test.ts 
63.40 - Processing: src/explore/exploreUtils/getParsedExploreURLParams.ts 
63.46 \ Processing: src/explore/exploreUtils/getSimpleSQLExpression.test.ts 
63.49 | Processing: src/explore/exploreUtils/getURIDirectory.test.ts 
63.68 / Processing: src/explore/exploreUtils/shouldUseLegacyApi.test.ts 
63.72 - Processing: src/explore/fixtures.tsx 
63.78 \ Processing: src/explore/reducers/datasourcesReducer.ts 
64.24 | Processing: src/explore/types.ts 
64.40 / Processing: src/features/alerts/AlertReportModal.test.tsx 
65.00 - Processing: src/features/alerts/AlertReportModal.tsx 
65.74 \ Processing: src/features/alerts/buildErrorTooltipMessage.test.tsx 
65.84 | Processing: src/features/alerts/buildErrorTooltipMessage.tsx 
65.89 / Processing: src/features/alerts/components/AlertReportCronScheduler.tsx 
65.99 - Processing: src/features/alerts/components/AlertStatusIcon.tsx 
66.06 \ Processing: src/features/alerts/components/NotificationMethod.test.tsx 
66.15 | Processing: src/features/alerts/components/NotificationMethod.tsx 
66.24 / Processing: src/features/alerts/components/NumberInput.tsx 
66.26 - Processing: src/features/alerts/components/RecipientIcon.test.tsx 
66.29 \ Processing: src/features/alerts/components/RecipientIcon.tsx 
66.34 | Processing: src/features/alerts/components/StyledPanel.tsx 
66.42 / Processing: src/features/alerts/components/ValidatedPanelHeader.tsx 
66.50 - Processing: src/features/alerts/types.ts 
66.57 \ Processing: src/features/allEntities/AllEntitiesTable.tsx 
66.80 | Processing: src/features/annotationLayers/AnnotationLayerModal.tsx 
66.91 / Processing: src/features/annotationLayers/types.ts 
67.09 - Processing: src/features/annotations/AnnotationModal.tsx 
67.21 \ Processing: src/features/annotations/types.ts 
67.27 | Processing: src/features/charts/ChartCard.tsx 
67.47 / Processing: src/features/cssTemplates/CssTemplateModal.tsx 
67.54 - Processing: src/features/cssTemplates/types.ts 
67.58 \ Processing: src/features/dashboards/DashboardCard.test.tsx 
67.67 | Processing: src/features/dashboards/DashboardCard.tsx 
67.78 / Processing: src/features/dashboards/types.ts 
67.82 - Processing: src/features/databases/DatabaseModal/DatabaseConnectionForm/CommonParameters.tsx 
67.95 \ Processing: src/features/databases/DatabaseModal/DatabaseConnectionForm/EncryptedField.tsx 
68.03 | Processing: src/features/databases/DatabaseModal/DatabaseConnectionForm/TableCatalog.tsx 
68.08 / Processing: src/features/databases/DatabaseModal/DatabaseConnectionForm/ValidatedInputField.tsx 
68.14 - Processing: src/features/databases/DatabaseModal/DatabaseConnectionForm/index.tsx 
68.21 \ Processing: src/features/databases/DatabaseModal/ExtraOptions.tsx 
68.46 | Processing: src/features/databases/DatabaseModal/ModalHeader.tsx 
68.52 / Processing: src/features/databases/DatabaseModal/SSHTunnelForm.tsx 
68.60 - Processing: src/features/databases/DatabaseModal/SSHTunnelSwitch.test.tsx 
68.63 \ Processing: src/features/databases/DatabaseModal/SSHTunnelSwitch.tsx 
68.69 | Processing: src/features/databases/DatabaseModal/SqlAlchemyForm.tsx 
68.79 / Processing: src/features/databases/DatabaseModal/index.test.tsx 
69.18 - Processing: src/features/databases/DatabaseModal/index.tsx 
69.46 \ Processing: src/features/databases/DatabaseModal/styles.ts 
69.55 | Processing: src/features/databases/UploadDataModel/ColumnsPreview.tsx 
69.57 / Processing: src/features/databases/UploadDataModel/StyledFormItemWithTip.tsx 
69.61 - Processing: src/features/databases/UploadDataModel/UploadDataModal.test.tsx 
69.96 \ Processing: src/features/databases/UploadDataModel/index.tsx 
70.17 | Processing: src/features/databases/UploadDataModel/styles.ts 
70.24 / Processing: src/features/databases/state.ts 
70.29 - Processing: src/features/databases/types.ts 
70.37 \ Processing: src/features/datasets/AddDataset/DatasetPanel/DatasetPanel.stories.tsx 
70.44 | Processing: src/features/datasets/AddDataset/DatasetPanel/DatasetPanel.test.tsx 
70.52 / Processing: src/features/datasets/AddDataset/DatasetPanel/DatasetPanel.tsx 
70.60 - Processing: src/features/datasets/AddDataset/DatasetPanel/MessageContent.tsx 
70.78 \ Processing: src/features/datasets/AddDataset/DatasetPanel/fixtures.ts 
70.89 | Processing: src/features/datasets/AddDataset/DatasetPanel/index.tsx 
84.10 / Processing: src/features/datasets/AddDataset/DatasetPanel/types.ts 
84.13 - Processing: src/features/datasets/AddDataset/EditDataset/EditDataset.test.tsx 
84.20 \ Processing: src/features/datasets/AddDataset/EditDataset/UsageTab/UsageTab.test.tsx 
84.32 | Processing: src/features/datasets/AddDataset/EditDataset/UsageTab/index.tsx 
84.40 / Processing: src/features/datasets/AddDataset/EditDataset/index.tsx 
------
failed to solve: process "/bin/sh -c npm run ${BUILD_CMD}" did not complete successfully: exit code: 1

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn’t find a solution to my problem.
  • I have searched the GitHub issue tracker and didn’t find a similar bug report.
  • I have checked Superset’s logs for errors and if I found a relevant Python stacktrace, I included it here as text in the “additional context” section.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

After a few attempts, I was able to make it work by:

  • Switching to the 4.0.2 tag instead of using the main branch
  • Running both Docker as admin

@brantian I wasn’t able to run it on Windows. I was able to run it on my Mac with Docker Desktop and resources settings of CPU=8core, memory/ram=8GBm, and swap=4.