Skip to content

Instantly share code, notes, and snippets.

@patak-dev
Created December 7, 2021 09:38
Show Gist options
  • Save patak-dev/0e058c8e043c55d225800381decd18fd to your computer and use it in GitHub Desktop.
Save patak-dev/0e058c8e043c55d225800381decd18fd to your computer and use it in GitHub Desktop.
netlify issue after #5881
9:55:26 AM: packages/playground/ssr-deps/node-addon install$ node-gyp install && node-gyp rebuild
9:55:26 AM: packages/playground/ssr-deps/node-addon install: gyp info it worked if it ends with ok
9:55:26 AM: packages/playground/ssr-deps/node-addon install: gyp info using node-gyp@8.4.1
9:55:26 AM: packages/playground/ssr-deps/node-addon install: gyp info using node@16.13.1 | linux | x64
9:55:26 AM: packages/playground/ssr-deps/node-addon install: gyp http GET https://nodejs.org/download/release/v16.13.1/node-v16.13.1-headers.tar.gz
9:55:26 AM: packages/playground/ssr-deps/node-addon install: gyp http 200 https://nodejs.org/download/release/v16.13.1/node-v16.13.1-headers.tar.gz
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp http GET https://nodejs.org/download/release/v16.13.1/SHASUMS256.txt
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp http 200 https://nodejs.org/download/release/v16.13.1/SHASUMS256.txt
9:55:27 AM: packages/playground/ssr-deps/node-addon install: undefined
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp info ok
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp info it worked if it ends with ok
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp info using node-gyp@8.4.1
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp info using node@16.13.1 | linux | x64
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python Python is not set from command line or npm configuration
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python Python is not set from environment variable PYTHON
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python checking if "python3" can be used
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python - executable path is "/usr/bin/python3"
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python - version is "3.5.2"
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python - version is 3.5.2 - should be >=3.6.0
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python checking if "python" can be used
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python - executable path is "/opt/buildhome/python2.7/bin/python"
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python - version is "2.7.12"
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python - version is 2.7.12 - should be >=3.6.0
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python **********************************************************
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python You need to install the latest version of Python.
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python you can try one of the following options:
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python (accepted by both node-gyp and npm)
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python - Set the environment variable PYTHON
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python - Set the npm configuration variable python:
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python npm config set python "/path/to/pythonexecutable"
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python For more information consult the documentation at:
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python **********************************************************
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! find Python
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! configure error
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! stack Error: Could not find any Python installation to use
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! stack at PythonFinder.fail (/opt/build/repo/node_modules/.pnpm/node-gyp@8.4.1/node_modules/node-gyp/lib/find-python.js:330:47)
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! stack at PythonFinder.runChecks (/opt/build/repo/node_modules/.pnpm/node-gyp@8.4.1/node_modules/node-gyp/lib/find-python.js:159:21)
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! stack at PythonFinder.<anonymous> (/opt/build/repo/node_modules/.pnpm/node-gyp@8.4.1/node_modules/node-gyp/lib/find-python.js:266:16)
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! stack at PythonFinder.execFileCallback (/opt/build/repo/node_modules/.pnpm/node-gyp@8.4.1/node_modules/node-gyp/lib/find-python.js:297:7)
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! stack at ChildProcess.exithandler (node:child_process:388:7)
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! stack at ChildProcess.emit (node:events:390:28)
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! stack at maybeClose (node:internal/child_process:1064:16)
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! stack at Socket.<anonymous> (node:internal/child_process:450:11)
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! stack at Socket.emit (node:events:390:28)
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! stack at Pipe.<anonymous> (node:net:687:12)
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! System Linux 4.19.167+
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! command "/opt/buildhome/.nvm/versions/node/v16.13.1/bin/node" "/opt/build/repo/node_modules/.pnpm/node-gyp@8.4.1/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! cwd /opt/build/repo/packages/playground/ssr-deps/node-addon
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! node -v v16.13.1
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! node-gyp -v v8.4.1
9:55:27 AM: packages/playground/ssr-deps/node-addon install: gyp ERR! not ok
9:55:28 AM: packages/playground/ssr-deps/node-addon install: Failed
9:55:28 AM:  ELIFECYCLE  Command failed with exit code 1.
9:55:28 AM: ​
9:55:28 AM: ────────────────────────────────────────────────────────────────
9:55:28 AM: "build.command" failed
9:55:28 AM: ────────────────────────────────────────────────────────────────
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment