Advertisement
Guest User

Untitled

a guest
Feb 27th, 2022
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.73 KB | None | 0 0
  1. ...
  2. + docker build --network=host -t clipface:latest .
  3. Sending build context to Docker daemon 180.4MB
  4. Step 1/11 : FROM node:alpine
  5. ---> edcab4f7b190
  6. Step 2/11 : ADD client/docker-bundle.tgz /
  7. ---> 972bf1ef0e50
  8. Step 3/11 : WORKDIR /app
  9. ---> Running in 3cd41180f670
  10. Removing intermediate container 3cd41180f670
  11. ---> 1ec77e8e2336
  12. Step 4/11 : RUN yarn --prod
  13. ---> Running in d66561c0c5d4
  14. yarn install v1.22.17
  15. [1/4] Resolving packages...
  16. [2/4] Fetching packages...
  17. [3/4] Linking dependencies...
  18. warning "next > styled-jsx > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
  19. warning " > [email protected]" has unmet peer dependency "@types/react@>=16".
  20. warning " > [email protected]" has incorrect peer dependency "react@^15.0.0 || ^16.0.0".
  21. warning " > [email protected]" has unmet peer dependency "react-is@>= 16.8.0".
  22. [4/4] Building fresh packages...
  23. error /app/node_modules/bcrypt: Command failed.
  24. Exit code: 1
  25. Command: node-pre-gyp install --fallback-to-build
  26. Arguments:
  27. Directory: /app/node_modules/bcrypt
  28. Output:
  29. node-pre-gyp info it worked if it ends with ok
  30. node-pre-gyp info using [email protected]
  31. node-pre-gyp info using [email protected] | linux | arm64
  32. node-pre-gyp info check checked for "/app/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node" (not found)
  33. 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
  34. 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
  35. 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)
  36. 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
  37. gyp info it worked if it ends with ok
  38. gyp info using [email protected]
  39. gyp info using [email protected] | linux | arm64
  40. gyp info ok
  41. gyp info it worked if it ends with ok
  42. gyp info using [email protected]
  43. gyp info using [email protected] | linux | arm64
  44. gyp ERR! find Python
  45. gyp ERR! find Python Python is not set from command line or npm configuration
  46. gyp ERR! find Python Python is not set from environment variable PYTHON
  47. gyp ERR! find Python checking if "python3" can be used
  48. gyp ERR! find Python - "python3" is not in PATH or produced an error
  49. gyp ERR! find Python checking if "python" can be used
  50. gyp ERR! find Python - "python" is not in PATH or produced an error
  51. gyp ERR! find Python
  52. gyp ERR! find Python **********************************************************
  53. gyp ERR! find Python You need to install the latest version of Python.
  54. gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
  55. gyp ERR! find Python you can try one of the following options:
  56. gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
  57. gyp ERR! find Python (accepted by both node-gyp and npm)
  58. gyp ERR! find Python - Set the environment variable PYTHON
  59. gyp ERR! find Python - Set the npm configuration variable python:
  60. gyp ERR! find Python npm config set python "/path/to/pythonexecutable"
  61. gyp ERR! find Python For more information consult the documentation at:
  62. gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
  63. gyp ERR! find Python **********************************************************
  64. gyp ERR! find Python
  65. gyp ERR! configure error
  66. gyp ERR! stack Error: Could not find any Python installation to use
  67. gyp ERR! stack at PythonFinder.fail (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)
  68. gyp ERR! stack at PythonFinder.runChecks (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:159:21)
  69. gyp ERR! stack at PythonFinder.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:202:16)
  70. gyp ERR! stack at PythonFinder.execFileCallback (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:294:16)
  71. gyp ERR! stack at exithandler (node:child_process:406:5)
  72. gyp ERR! stack at ChildProcess.errorhandler (node:child_process:418:5)
  73. gyp ERR! stack at ChildProcess.emit (node:events:527:28)
  74. gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
  75. gyp ERR! stack at onErrorNT (node:internal/child_process:476:16)
  76. gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:83:21)
  77. gyp ERR! System Linux 5.10.92-v8+
  78. 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"
  79. gyp ERR! cwd /app/node_modules/bcrypt
  80. gyp ERR! node -v v17.6.0
  81. gyp ERR! node-gyp -v v8.4.1
  82. gyp ERR! not ok
  83. node-pre-gyp ERR! build error
  84. 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)
  85. node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/app/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
  86. node-pre-gyp ERR! stack at ChildProcess.emit (node:events:527:28)
  87. node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1090:16)
  88. node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
  89. node-pre-gyp ERR! System Linux 5.10.92-v8+
  90. node-pre-gyp ERR! command "/usr/local/bin/node" "/app/node_modules/bcrypt/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
  91. node-pre-gyp ERR! cwd /app/node_modules/bcrypt
  92. node-pre-gyp ERR! node -v v17.6.0
  93. node-pre-gyp ERR! node-pre-gyp -v v1.0.5
  94. node-pre-gyp ERR! not ok
  95. 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)
  96. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
  97. The command '/bin/sh -c yarn --prod' returned a non-zero code: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement