Navid61 commented on issue #33686:
URL: https://github.com/apache/superset/issues/33686#issuecomment-2938975367
Hi @dosu,
Thanks for your suggestions. I double-checked and removed all instances of
PUPPETEER_SKIP_DOWNLOAD from both my docker/.env and
docker-compose-non-dev.yml, leaving only PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true.
I also tried adding back PUPPETEER_SKIP_DOWNLOAD=true so both variables are
set, but unfortunately, the build is still failing with the same
Puppeteer/Chromium download error.
I made sure to do a full rebuild with --no-cache and verified that the .env
file is being used correctly. Is there anything else that could be causing this
issue, or another workaround I can try?
Thank you for your continued support!
```bash
docker compose -f docker-compose-non-dev.yml build --no-cache
✔
Compose can now delegate builds to bake for better performance.
To do so, set COMPOSE_BAKE=true.
[+] Building 97.7s (32/47)
docker:default
=> [superset-init internal] load build definition from Dockerfile
0.0s
=> => transferring dockerfile: 32B
0.0s
=> [superset-init internal] load .dockerignore
0.0s
=> => transferring context: 35B
0.0s
=> [superset-init internal] load metadata for
docker.io/library/python:3.11.12-slim-bookworm
0.4s
=> [superset-init internal] load metadata for
docker.io/library/node:20-bookworm-slim
0.4s
=> [superset-init] importing cache manifest from
apache/superset-cache:3.10-slim-bookworm
0.7s
=> [superset-init internal] load build context
0.3s
=> => transferring context: 487.94kB
0.3s
=> CACHED [superset-init superset-node-ci 1/8] FROM
docker.io/library/node:20-bookworm-slim@sha256:cb4abfbba7dfaa78e21ddf2a72a592e5f9ed36ccf98bdc8ad3ff945673d288c2
0.0s
=> CACHED [superset-init python-base 1/6] FROM
docker.io/library/python:3.11.12-slim-bookworm@sha256:dbf1de478a55d6763afaa39c2f3d7b54b25230614980276de5cacdde79529d0c
0.0s
=> [superset-init python-base 2/6] RUN mkdir -p /app/superset_home
0.3s
=> [superset-init python-base 3/6] RUN useradd --user-group -d
/app/superset_home -m --no-log-init --shell /bin/bash superset && chmod -R
1777 /app/superset_home && chown -R superset:superset /app/superset_ho 0.6s
=> [superset-init superset-node-ci 2/8] COPY docker/ /app/docker/
0.0s
=> [superset-init superset-node-ci 3/8] RUN /app/docker/apt-install.sh
build-essential python3 zstd
12.9so
=> [superset-init python-base 4/6] COPY --chmod=755 docker/*.sh
/app/docker/
0.0so
=> [superset-init python-base 5/6] RUN pip install --no-cache-dir --upgrade
uv
2.6so
=> [superset-init python-base 6/6] RUN uv venv /app/.venv
0.5s
=> [superset-init python-translation-compiler 1/4] COPY
requirements/translations.txt requirements/
0.0s
=> [superset-init python-common 1/14] COPY --chmod=755 docker/entrypoints
/app/docker/entrypoints
0.0s
=> [superset-init python-translation-compiler 2/4] RUN
--mount=type=cache,target=/root/.cache/uv . /app/.venv/bin/activate &&
/app/docker/pip-install.sh --requires-build-essential -r
requirements/translations.tx 12.5s
=> [superset-init python-common 2/14] WORKDIR /app
0.0s
=> [superset-init python-common 3/14] RUN mkdir -p /app/pythonpath
superset/static requirements superset-frontend
apache_superset.egg-info requirements && touch superset/stati 0.5s
=> [superset-init python-common 4/14] RUN
--mount=type=cache,target=/app/superset_home/.cache/uv if [ "true" = "true"
] || [ "false" = "true" ]; then uv pip install playwright &&
playwright inst 52.7s
=> [superset-init superset-node-ci 4/8] RUN /app/docker/frontend-mem-nag.sh
0.3s
=> [superset-init superset-node-ci 5/8] WORKDIR /app/superset-frontend
0.0s
=> [superset-init superset-node-ci 6/8] RUN mkdir -p
/app/superset/static/assets /app/superset/translations
0.5s
=> **ERROR** [superset-init superset-node-ci 7/8] RUN
--mount=type=bind,source=./superset-frontend/package.json,target=./package.json
--mount=type=bind,source=./superset-frontend/package-lock.json,target=./package-l
82.4s
=> [superset-init python-translation-compiler 3/4] COPY
superset/translations/ /app/translations_mo/
0.0s
=> [superset-init python-translation-compiler 4/4] RUN if [ "false" =
"true" ]; then pybabel compile -d /app/translations_mo | true; fi;
rm -f /app/translations_mo/*/*/*.po; rm -f /app/translation 0.4s
=> [superset-init python-common 5/14] COPY pyproject.toml setup.py
MANIFEST.in README.md ./
0.0s
=> [superset-init python-common 6/14] COPY superset-frontend/package.json
superset-frontend/
0.0s
=> [superset-init python-common 7/14] COPY scripts/check-env.py scripts/
0.0s
=> [superset-init python-common 8/14] COPY --chmod=755
./docker/entrypoints/run-server.sh /usr/bin/
0.0s
=> [superset-init python-common 9/14] RUN /app/docker/apt-install.sh
curl libsasl2-dev libsasl2-modules-gssapi-mit libpq-dev
libecpg-dev libldap2-dev 4.0s
------
> [superset-init superset-node-ci 7/8] RUN
--mount=type=bind,source=./superset-frontend/package.json,target=./package.json
--mount=type=bind,source=./superset-frontend/package-lock.json,target=./package-lock.json
--mount=type=cache,target=/root/.cache
--mount=type=cache,target=/root/.npm if [ "false" = "false" ]; then
npm ci; else echo "Skipping 'npm ci' in dev mode"; fi:
7.998 npm warn deprecated [email protected]: Package no longer
supported. Contact Support at https://www.npmjs.com/support for more info.
9.955 npm warn deprecated [email protected]: The querystring API is
considered Legacy. new code should use the URLSearchParams API instead.
10.02 npm warn deprecated [email protected]: Use topojson-client,
topojson-server or topojson-simplify directly.
11.01 npm warn deprecated [email protected]: Package no longer supported. Contact
[email protected] for more info.
12.40 npm warn deprecated [email protected]: This module is not supported, and
leaks memory. Do not use it. Check out lru-cache if you want a good and tested
way to coalesce async requests by a key value, which is much more comprehensive
and powerful.
12.86 npm warn deprecated [email protected]: Glob versions prior to v9 are no
longer supported
15.96 npm warn deprecated [email protected]: Use your platform's native atob() and
btoa() methods instead
19.39 npm warn deprecated @humanwhocodes/[email protected]: Use
@eslint/object-schema instead
19.42 npm warn deprecated @humanwhocodes/[email protected]: Use
@eslint/config-array instead
20.71 npm warn deprecated @babel/[email protected]:
This proposal has been merged to the ECMAScript standard and thus this plugin
is no longer maintained. Please use @babel/plugin-transform-class-properties
instead.
20.71 npm warn deprecated
@babel/[email protected]: This proposal has
been merged to the ECMAScript standard and thus this plugin is no longer
maintained. Please use @babel/plugin-transform-nullish-coalescing-operator
instead.
20.73 npm warn deprecated @babel/[email protected]:
This proposal has been merged to the ECMAScript standard and thus this plugin
is no longer maintained. Please use @babel/plugin-transform-private-methods
instead.
20.73 npm warn deprecated @babel/[email protected]: 🚨 This package has been
deprecated in favor of separate inclusion of a polyfill and regenerator-runtime
(when needed). See the @babel/polyfill docs
(https://babeljs.io/docs/en/babel-polyfill) for more information.
20.74 npm warn deprecated @babel/[email protected]:
This proposal has been merged to the ECMAScript standard and thus this plugin
is no longer maintained. Please use @babel/plugin-transform-optional-chaining
instead.
22.47 npm warn deprecated [email protected]: Rimraf versions prior to v4 are no
longer supported
22.92 npm warn deprecated [email protected]: Rimraf versions prior to v4 are no
longer supported
23.06 npm warn deprecated [email protected]: Rimraf versions prior to v4 are no
longer supported
23.90 npm warn deprecated [email protected]: Rimraf versions prior to v4 are no
longer supported
24.84 npm warn deprecated [email protected]: Use your platform's native
DOMException instead
24.86 npm warn deprecated [email protected]: Rimraf versions prior to v4 are no
longer supported
25.31 npm warn deprecated [email protected]: Rimraf versions prior to v4 are no
longer supported
25.75 npm warn deprecated [email protected]: This package is deprecated.
Use require('node:util').isDeepStrictEqual instead.
26.27 npm warn deprecated [email protected]: Glob versions prior to v9 are no
longer supported
27.53 npm warn deprecated [email protected]: This version is no longer
supported. Please see https://eslint.org/version-support for other options.
82.02 npm error code 1
82.02 npm error path /app/superset-frontend/node_modules/puppeteer
82.02 npm error command failed
82.02 npm error command sh -c node install.mjs
82.02 npm error Error: ERROR: Failed to set up Chrome v127.0.6533.88! Set
"PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
82.02 npm error at
file:///app/superset-frontend/node_modules/puppeteer/lib/esm/puppeteer/node/install.js:58:23
82.02 npm error at process.processTicksAndRejections
(node:internal/process/task_queues:95:5)
82.02 npm error at async Promise.all (index 0)
82.02 npm error at async downloadBrowser
(file:///app/superset-frontend/node_modules/puppeteer/lib/esm/puppeteer/node/install.js:90:9)
{
82.02 npm error [cause]: Error: Download failed: server returned code 403.
URL:
https://storage.googleapis.com/chrome-for-testing-public/127.0.6533.88/linux64/chrome-linux64.zip
82.02 npm error at
file:///app/superset-frontend/node_modules/@puppeteer/browsers/lib/esm/httpUtil.js:67:31
82.02 npm error at ClientRequest.requestCallback
(file:///app/superset-frontend/node_modules/@puppeteer/browsers/lib/esm/httpUtil.js:45:13)
82.02 npm error at Object.onceWrapper (node:events:639:26)
82.02 npm error at ClientRequest.emit (node:events:524:28)
82.02 npm error at HTTPParser.parserOnIncomingClient
(node:_http_client:702:27)
82.02 npm error at HTTPParser.parserOnHeadersComplete
(node:_http_common:118:17)
82.02 npm error at TLSSocket.socketOnData (node:_http_client:544:22)
82.02 npm error at TLSSocket.emit (node:events:524:28)
82.02 npm error at addChunk (node:internal/streams/readable:561:12)
82.02 npm error at readableAddChunkPushByteMode
(node:internal/streams/readable:512:3)
82.02 npm error }
82.02 npm notice
82.02 npm notice New major version of npm available! 10.8.2 -> 11.4.1
82.02 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.1
82.02 npm notice To update run: npm install -g [email protected]
82.02 npm notice
82.02 npm error A complete log of this run can be found in:
/root/.npm/_logs/2025-06-04T07_35_55_238Z-debug-0.log
------
failed to solve: executor failed running [/bin/sh -c if [ "$DEV_MODE" =
"false" ]; then npm ci; else echo "Skipping 'npm ci' in dev
mode"; fi]: exit code: 1
```
--
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]