TECHIES WORLD

For Techs.... Techniques.... Technologies....

CpanelLinuxPython

Docker Error: gyp ERR! find Python Python is not set from command line or npm configuration

gyp ERR! find Python Python is not set from command line or npm configuration

This is an error that may happens on building the docker image. Docker Node Alpine Image Build Fails on node-gyp.

It's due to the absence of Python library.

We can resolve this error by adding the following lines to the Docker file.

RUN apk add g++ make python

No its possible to build the docker image without any issues.

That's all…

Leave a Reply