Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- + docker build --network=host -t clipface:latest .
- Sending build context to Docker daemon 180.4MB
- Step 1/11 : FROM node:alpine
- ---> edcab4f7b190
- Step 2/11 : ADD client/docker-bundle.tgz /
- ---> 972bf1ef0e50
- Step 3/11 : WORKDIR /app
- ---> Running in 3cd41180f670
- Removing intermediate container 3cd41180f670
- ---> 1ec77e8e2336
- Step 4/11 : RUN yarn --prod
- ---> Running in d66561c0c5d4
- yarn install v1.22.17
- [1/4] Resolving packages...
- [2/4] Fetching packages...
- [3/4] Linking dependencies...
- warning "next > styled-jsx > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
- warning " > [email protected]" has unmet peer dependency "@types/react@>=16".
- warning " > [email protected]" has incorrect peer dependency "react@^15.0.0 || ^16.0.0".
- warning " > [email protected]" has unmet peer dependency "react-is@>= 16.8.0".
- [4/4] Building fresh packages...
- error /app/node_modules/bcrypt: Command failed.
- Exit code: 1
- Command: node-pre-gyp install --fallback-to-build
- Arguments:
- Directory: /app/node_modules/bcrypt
- Output:
- node-pre-gyp info it worked if it ends with ok
- node-pre-gyp info using [email protected]
- node-pre-gyp info using [email protected] | linux | arm64
- node-pre-gyp info check checked for "/app/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node" (not found)
- node-pre-gyp http GET https://github.com/kelektiv/node.bcrypt.js/releases/download/v5.0.1/bcrypt_lib-v5.0.1-napi-v3-linux-arm64-musl.tar.gz
- node-pre-gyp ERR! install response status 404 Not Found on https://github.com/kelektiv/node.bcrypt.js/releases/download/v5.0.1/bcrypt_lib-v5.0.1-napi-v3-linux-arm64-musl.tar.gz
- node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v102 ABI, musl) (falling back to source compile with node-gyp)
- node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/kelektiv/node.bcrypt.js/releases/download/v5.0.1/bcrypt_lib-v5.0.1-napi-v3-linux-arm64-musl.tar.gz
- gyp info it worked if it ends with ok
- gyp info using [email protected]
- gyp info using [email protected] | linux | arm64
- gyp info ok
- gyp info it worked if it ends with ok
- gyp info using [email protected]
- gyp info using [email protected] | linux | arm64
- gyp ERR! find Python
- gyp ERR! find Python Python is not set from command line or npm configuration
- gyp ERR! find Python Python is not set from environment variable PYTHON
- gyp ERR! find Python checking if "python3" can be used
- gyp ERR! find Python - "python3" is not in PATH or produced an error
- gyp ERR! find Python checking if "python" can be used
- gyp ERR! find Python - "python" is not in PATH or produced an error
- gyp ERR! find Python
- gyp ERR! find Python **********************************************************
- gyp ERR! find Python You need to install the latest version of Python.
- gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
- gyp ERR! find Python you can try one of the following options:
- gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
- gyp ERR! find Python (accepted by both node-gyp and npm)
- gyp ERR! find Python - Set the environment variable PYTHON
- gyp ERR! find Python - Set the npm configuration variable python:
- gyp ERR! find Python npm config set python "/path/to/pythonexecutable"
- gyp ERR! find Python For more information consult the documentation at:
- gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
- gyp ERR! find Python **********************************************************
- gyp ERR! find Python
- gyp ERR! configure error
- gyp ERR! stack Error: Could not find any Python installation to use
- gyp ERR! stack at PythonFinder.fail (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)
- gyp ERR! stack at PythonFinder.runChecks (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:159:21)
- gyp ERR! stack at PythonFinder.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:202:16)
- gyp ERR! stack at PythonFinder.execFileCallback (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:294:16)
- gyp ERR! stack at exithandler (node:child_process:406:5)
- gyp ERR! stack at ChildProcess.errorhandler (node:child_process:418:5)
- gyp ERR! stack at ChildProcess.emit (node:events:527:28)
- gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
- gyp ERR! stack at onErrorNT (node:internal/child_process:476:16)
- gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:83:21)
- gyp ERR! System Linux 5.10.92-v8+
- gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/app/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=/app/node_modules/bcrypt/lib/binding/napi-v3" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3"
- gyp ERR! cwd /app/node_modules/bcrypt
- gyp ERR! node -v v17.6.0
- gyp ERR! node-gyp -v v8.4.1
- gyp ERR! not ok
- node-pre-gyp ERR! build error
- node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/app/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/app/node_modules/bcrypt/lib/binding/napi-v3 --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
- node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/app/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
- node-pre-gyp ERR! stack at ChildProcess.emit (node:events:527:28)
- node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1090:16)
- node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
- node-pre-gyp ERR! System Linux 5.10.92-v8+
- node-pre-gyp ERR! command "/usr/local/bin/node" "/app/node_modules/bcrypt/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
- node-pre-gyp ERR! cwd /app/node_modules/bcrypt
- node-pre-gyp ERR! node -v v17.6.0
- node-pre-gyp ERR! node-pre-gyp -v v1.0.5
- node-pre-gyp ERR! not ok
- Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/app/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/app/node_modules/bcrypt/lib/binding/napi-v3 --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
- info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
- The command '/bin/sh -c yarn --prod' returned a non-zero code: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement