System Information
- Strapi Version: 4.11.0
- Operating System: strapi cloud os
- Database:
- Node Version:
- NPM Version:
- Yarn Version:
[2023-06-12 12:48:02] ╭──────────── git repo clone ───────────╼
[2023-06-12 12:48:02] │ › fetching app source code
[2023-06-12 12:48:02] │ => Selecting branch “release”
[2023-06-12 12:48:03] │ => Checking out commit “1c83234634e720c2c778d0e264dcd8f52e042b48”
[2023-06-12 12:48:03] │
[2023-06-12 12:48:03] │ cloned repo to /.app_platform_workspace
[2023-06-12 12:48:03] ╰────────────────────────────────────────╼
[2023-06-12 12:48:03]
[2023-06-12 12:48:03] › configuring build-time app environment variables:
[2023-06-12 12:48:03] TRACKING_UUID CLIENT_APP_REPOSITORY CLIENT_APP_REPOSITORY_BRANCH BASE_DIRECTORY
[2023-06-12 12:48:03] ╭──────────── dockerfile build ───────────╼
[2023-06-12 12:48:03] │ › using dockerfile /.app_platform_workspace/Dockerfile
[2023-06-12 12:48:03] │ › using build context /.app_platform_workspace/
[2023-06-12 12:48:03] │
[2023-06-12 12:48:04] │ INFO[0000] Retrieving image manifest node:16-alpine
[2023-06-12 12:48:04] │ INFO[0000] Retrieving image library/node:16-alpine from registry mirror
[2023-06-12 12:48:04] │ INFO[0000] Retrieving image manifest node:16-alpine
[2023-06-12 12:48:04] │ INFO[0000] Returning cached image manifest
[2023-06-12 12:48:04] │ INFO[0000] Built cross stage deps: map[]
[2023-06-12 12:48:04] │ INFO[0000] Retrieving image manifest node:16-alpine
[2023-06-12 12:48:04] │ INFO[0000] Returning cached image manifest
[2023-06-12 12:48:04] │ INFO[0000] Retrieving image manifest node:16-alpine
[2023-06-12 12:48:04] │ INFO[0000] Returning cached image manifest
[2023-06-12 12:48:04] │ INFO[0000] Executing 0 build triggers
[2023-06-12 12:48:04] │ INFO[0000] Building stage ‘node:16-alpine’ [idx: ‘0’, base-idx: ‘-1’]
[2023-06-12 12:48:04] │ INFO[0000] Checking for cached layer
[2023-06-12 12:48:05] │ INFO[0001] Using caching version of cmd: RUN apk add --no-cache git rsync jq gettext
[2023-06-12 12:48:05] │ INFO[0001] Checking for cached layer
[2023-06-12 12:48:05] │ INFO[0001] No cached layer found for cmd RUN git clone --depth 1 --single-branch --branch $CLIENT_APP_REPOSITORY_BRANCH $CLIENT_APP_REPOSITORY .
[2023-06-12 12:48:05] │ INFO[0001] Unpacking rootfs as cmd COPY . $BUILD_DIR requires it.
[2023-06-12 12:48:07] │ INFO[0003] Initializing snapshotter …
[2023-06-12 12:48:07] │ INFO[0003] Taking snapshot of full filesystem…
[2023-06-12 12:48:08] │ INFO[0004] RUN apk add --no-cache git rsync jq gettext
[2023-06-12 12:48:08] │ INFO[0004] Found cached layer, extracting to filesystem
[2023-06-12 12:48:08] │ INFO[0004] ENV BUILD_DIR “/home/build”
[2023-06-12 12:48:08] │ INFO[0004] No files changed in this command, skipping snapshotting.
[2023-06-12 12:48:08] │ INFO[0004] ENV APP_DIR “/home/app”
[2023-06-12 12:48:08] │ INFO[0004] No files changed in this command, skipping snapshotting.
[2023-06-12 12:48:08] │ INFO[0004] WORKDIR $APP_DIR
[2023-06-12 12:48:08] │ INFO[0004] Cmd: workdir
[2023-06-12 12:48:08] │ INFO[0004] Changed working directory to /home/app
[2023-06-12 12:48:08] │ INFO[0004] Creating directory /home/app
[2023-06-12 12:48:08] │ INFO[0004] Taking snapshot of files…
[2023-06-12 12:48:08] │ INFO[0004] COPY . $BUILD_DIR
[2023-06-12 12:48:08] │ INFO[0004] Taking snapshot of files…
[2023-06-12 12:48:08] │ INFO[0004] ARG CLIENT_APP_REPOSITORY
[2023-06-12 12:48:08] │ INFO[0004] No files changed in this command, skipping snapshotting.
[2023-06-12 12:48:08] │ INFO[0004] ENV CLIENT_APP_REPOSITORY $CLIENT_APP_REPOSITORY
[2023-06-12 12:48:08] │ INFO[0004] No files changed in this command, skipping snapshotting.
[2023-06-12 12:48:08] │ INFO[0004] ARG CLIENT_APP_REPOSITORY_BRANCH=“main”
[2023-06-12 12:48:08] │ INFO[0004] No files changed in this command, skipping snapshotting.
[2023-06-12 12:48:08] │ INFO[0004] ENV CLIENT_APP_REPOSITORY_BRANCH $CLIENT_APP_REPOSITORY_BRANCH
[2023-06-12 12:48:08] │ INFO[0004] No files changed in this command, skipping snapshotting.
[2023-06-12 12:48:08] │ INFO[0004] ARG TRACKING_UUID
[2023-06-12 12:48:08] │ INFO[0004] No files changed in this command, skipping snapshotting.
[2023-06-12 12:48:08] │ INFO[0004] ENV TRACKING_UUID $TRACKING_UUID
[2023-06-12 12:48:08] │ INFO[0004] No files changed in this command, skipping snapshotting.
[2023-06-12 12:48:08] │ INFO[0004] ARG BASE_DIRECTORY=""
[2023-06-12 12:48:08] │ INFO[0004] No files changed in this command, skipping snapshotting.
[2023-06-12 12:48:08] │ INFO[0004] ENV BASE_DIRECTORY $BASE_DIRECTORY
[2023-06-12 12:48:08] │ INFO[0004] No files changed in this command, skipping snapshotting.
[2023-06-12 12:48:08] │ INFO[0004] RUN git clone --depth 1 --single-branch --branch $CLIENT_APP_REPOSITORY_BRANCH $CLIENT_APP_REPOSITORY .
[2023-06-12 12:48:08] │ INFO[0004] Cmd: /bin/sh
[2023-06-12 12:48:08] │ INFO[0004] Args: [-c git clone --depth 1 --single-branch --branch $CLIENT_APP_REPOSITORY_BRANCH $CLIENT_APP_REPOSITORY .]
[2023-06-12 12:48:08] │ INFO[0004] Running: [/bin/sh -c git clone --depth 1 --single-branch --branch $CLIENT_APP_REPOSITORY_BRANCH $CLIENT_APP_REPOSITORY .]
[2023-06-12 12:48:08] │ Cloning into ‘.’…
[2023-06-12 12:48:10] │ INFO[0006] Taking snapshot of files…
[2023-06-12 12:48:10] │ INFO[0006] WORKDIR “$APP_DIR/$BASE_DIRECTORY”
[2023-06-12 12:48:10] │ INFO[0006] Cmd: workdir
[2023-06-12 12:48:10] │ INFO[0006] Changed working directory to /home/app/strapi-backend
[2023-06-12 12:48:10] │ INFO[0006] No files changed in this command, skipping snapshotting.
[2023-06-12 12:48:10] │ INFO[0006] COPY overrides/commands/start.js ./
[2023-06-12 12:48:10] │ INFO[0006] Taking snapshot of files…
[2023-06-12 12:48:10] │ INFO[0006] RUN ${BUILD_DIR}/scripts/override-application-files.sh && ${BUILD_DIR}/scripts/override-application-tracking-uuid.sh && ${BUILD_DIR}/scripts/add-dependency.sh “strapi-provider-upload-strapi-cloud” “file:${BUILD_DIR}/overrides/packages/strapi-provider-upload-strapi-cloud” && ${BUILD_DIR}/scripts/add-dependency.sh “strapi-provider-email-strapi-cloud” “file:${BUILD_DIR}/overrides/packages/strapi-provider-email-strapi-cloud” && ${BUILD_DIR}/scripts/add-dependency.sh “pg” “^8.7.3” && ${BUILD_DIR}/scripts/add-dependency.sh “node-fetch” “^2.6.1”
[2023-06-12 12:48:10] │ INFO[0006] Pushing layer to cache now
[2023-06-12 12:48:10] │ INFO[0006] Pushing image to
[2023-06-12 12:48:10] │ INFO[0006] Cmd: /bin/sh
[2023-06-12 12:48:10] │ INFO[0006] Args: [-c ${BUILD_DIR}/scripts/override-application-files.sh && ${BUILD_DIR}/scripts/override-application-tracking-uuid.sh && ${BUILD_DIR}/scripts/add-dependency.sh “strapi-provider-upload-strapi-cloud” “file:${BUILD_DIR}/overrides/packages/strapi-provider-upload-strapi-cloud” && ${BUILD_DIR}/scripts/add-dependency.sh “strapi-provider-email-strapi-cloud” “file:${BUILD_DIR}/overrides/packages/strapi-provider-email-strapi-cloud” && ${BUILD_DIR}/scripts/add-dependency.sh “pg” “^8.7.3” && ${BUILD_DIR}/scripts/add-dependency.sh “node-fetch” “^2.6.1”]
[2023-06-12 12:48:10] │ INFO[0006] Running: [/bin/sh -c ${BUILD_DIR}/scripts/override-application-files.sh && ${BUILD_DIR}/scripts/override-application-tracking-uuid.sh && ${BUILD_DIR}/scripts/add-dependency.sh “strapi-provider-upload-strapi-cloud” “file:${BUILD_DIR}/overrides/packages/strapi-provider-upload-strapi-cloud” && ${BUILD_DIR}/scripts/add-dependency.sh “strapi-provider-email-strapi-cloud” “file:${BUILD_DIR}/overrides/packages/strapi-provider-email-strapi-cloud” && ${BUILD_DIR}/scripts/add-dependency.sh “pg” “^8.7.3” && ${BUILD_DIR}/scripts/add-dependency.sh “node-fetch” “^2.6.1”]
[2023-06-12 12:48:10] │ INFO[0006] Taking snapshot of files…
[2023-06-12 12:48:10] │ INFO[0006] RUN ${BUILD_DIR}/scripts/install-dependencies.sh
[2023-06-12 12:48:10] │ INFO[0006] Pushing layer to cache now
[2023-06-12 12:48:10] │ INFO[0006] Pushing image to
[2023-06-12 12:48:11] │ INFO[0007] Cmd: /bin/sh
[2023-06-12 12:48:11] │ INFO[0007] Args: [-c ${BUILD_DIR}/scripts/install-dependencies.sh]
[2023-06-12 12:48:11] │ INFO[0007] Running: [/bin/sh -c ${BUILD_DIR}/scripts/install-dependencies.sh]
[2023-06-12 12:48:13] │ INFO[0009] Pushed
[2023-06-12 12:48:14] │ INFO[0010] Pushed
[2023-06-12 12:48:20] │ npm WARN deprecated urix@0.1.0: Please see GitHub - lydell/urix: [DEPRECATED] Makes Windows-style paths more unix and URI friendly.
[2023-06-12 12:48:20] │ npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
[2023-06-12 12:48:20] │ npm WARN deprecated source-map-url@0.4.1: See GitHub - lydell/source-map-url: [DEPRECATED] Tools for working with sourceMappingURL comments.
[2023-06-12 12:48:21] │ npm WARN deprecated resolve-url@0.2.1: GitHub - lydell/resolve-url: [DEPRECATED] Like Node.js’ `path.resolve`/`url.resolve` for the browser.
[2023-06-12 12:48:21] │ npm WARN deprecated source-map-resolve@0.5.3: See GitHub - lydell/source-map-resolve: [DEPRECATED] Resolve the source map and/or sources for a generated file.
[2023-06-12 12:48:22] │ npm WARN deprecated mailcomposer@3.12.0: This project is unmaintained
[2023-06-12 12:48:23] │ npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: formidable/VERSION_NOTES.md at master · node-formidable/formidable · GitHub
[2023-06-12 12:48:24] │ npm WARN deprecated apollo-server-plugin-base@3.7.2: The apollo-server-plugin-base
package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package’s functionality is now found in the @apollo/server
package. See Previous versions of Apollo Server - Apollo GraphQL Docs for more details.
[2023-06-12 12:48:24] │ npm WARN deprecated apollo-server-types@3.8.0: The apollo-server-types
package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package’s functionality is now found in the @apollo/server
package. See Previous versions of Apollo Server - Apollo GraphQL Docs for more details.
[2023-06-12 12:48:24] │ npm WARN deprecated apollo-server-errors@3.3.1: The apollo-server-errors
package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package’s functionality is now found in the @apollo/server
package. See Previous versions of Apollo Server - Apollo GraphQL Docs for more details.
[2023-06-12 12:48:24] │ npm WARN deprecated apollo-datasource@3.3.2: The apollo-datasource
package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). See Previous versions of Apollo Server - Apollo GraphQL Docs for more details.
[2023-06-12 12:48:24] │ npm WARN deprecated buildmail@3.10.0: This project is unmaintained
[2023-06-12 12:48:24] │ npm WARN deprecated apollo-server-koa@3.10.0: The apollo-server-koa
package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package’s functionality is now found in the @apollo/server
package. See Previous versions of Apollo Server - Apollo GraphQL Docs for more details.
[2023-06-12 12:48:24] │ npm WARN deprecated apollo-server-env@4.2.1: The apollo-server-env
package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package’s functionality is now found in the @apollo/utils.fetcher
package. See Previous versions of Apollo Server - Apollo GraphQL Docs for more details.
[2023-06-12 12:48:24] │ npm WARN deprecated apollo-reporting-protobuf@3.4.0: The apollo-reporting-protobuf
package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package’s functionality is now found in the @apollo/usage-reporting-protobuf
package. See Previous versions of Apollo Server - Apollo GraphQL Docs for more details.
[2023-06-12 12:48:27] │ npm WARN deprecated apollo-server-core@3.12.0: The apollo-server-core
package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package’s functionality is now found in the @apollo/server
package. See Previous versions of Apollo Server - Apollo GraphQL Docs for more details.
[2023-06-12 12:48:28] │ npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
[2023-06-12 12:49:26] │ npm notice
[2023-06-12 12:49:26] │ npm notice New major version of npm available! 8.19.4 → 9.7.1
[2023-06-12 12:49:26] │ npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.7.1
[2023-06-12 12:49:26] │ npm notice Run npm install -g npm@9.7.1
to update!
[2023-06-12 12:49:26] │ npm notice
[2023-06-12 12:49:26] │ npm ERR! code E404
[2023-06-12 12:49:26] │ npm ERR! 404 Not Found - GET https://registry.npmjs.org/is-className-hotfix/-/is-className-hotfix-0.0.6.tgz - Not found
[2023-06-12 12:49:26] │ npm ERR! 404
[2023-06-12 12:49:26] │ npm ERR! 404 ‘is-className-hotfix@https://registry.npmjs.org/is-className-hotfix/-/is-className-hotfix-0.0.6.tgz’ is not in this registry.
[2023-06-12 12:49:26] │ npm ERR! 404 This package name is not valid, because
[2023-06-12 12:49:26] │ npm ERR! 404 1. name can no longer contain capital letters
[2023-06-12 12:49:26] │ npm ERR! 404
[2023-06-12 12:49:26] │ npm ERR! 404 Note that you can also install from a
[2023-06-12 12:49:26] │ npm ERR! 404 tarball, folder, http url, or git url.
[2023-06-12 12:49:26] │
[2023-06-12 12:49:26] │ npm ERR! A complete log of this run can be found in:
[2023-06-12 12:49:26] │ npm ERR! /root/.npm/_logs/2023-06-12T12_48_11_425Z-debug-0.log
[2023-06-12 12:49:26] │ error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1
[2023-06-12 12:49:26] │
[2023-06-12 12:49:26] │ command exited with code 1
[2023-06-12 12:49:26] │
[2023-06-12 12:49:26] │ ✘ build failed