Describe the bug
Application cannot be built successfully as the image used to build doesnt have Python inside.
Below you can find error log from the build task from the default nodejs pipeline:
> dtrace-provider@0.8.8 install /opt/app-root/src/node_modules/dtrace-provider
> node-gyp rebuild || node suppress-error.js
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 "python" can be used
gyp ERR! find Python - "python" is not in PATH or produced an error
gyp ERR! find Python checking if "python2" can be used
gyp ERR! find Python - "python2" is not in PATH or produced an error
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
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
To Reproduce
Steps to reproduce the behavior:
Generate your app based on template
Setup project and pipeline
Start pipeline
See error above
Expected behavior
A clear and concise description of what you expected to happen.
Application successfully deployed using default pipeline created based on ibm-nodejs tekton pipeline.
Desktop (please complete the following information):
Describe the bug Application cannot be built successfully as the image used to build doesnt have Python inside. Below you can find error log from the build task from the default nodejs pipeline:
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen. Application successfully deployed using default pipeline created based on ibm-nodejs tekton pipeline.
Desktop (please complete the following information):