ERR! gyp info using node-gyp@8.4.1
kennierfranco
HOBBYOP
2 years ago
Hello,
While trying to deploy my application I got the following error related to node-gyp and Python:
#10 35.58 npm ERR! path /app/node_modules/kerberos
#10 35.58 npm ERR! command failed
#10 35.58 npm ERR! command sh -c -- prebuild-install || node-gyp rebuild
#10 35.58 npm ERR! prebuild-install WARN install libkrb5.so.3: cannot open shared object file: No such file or directory
#10 35.58 npm ERR! gyp info it worked if it ends with ok
#10 35.58 npm ERR! gyp info using node-gyp@8.4.1
#10 35.58 npm ERR! gyp info using node@16.20.2 | linux | x64
#10 35.58 npm ERR! gyp ERR! find Python
#10 35.58 npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration```
Attached is the full build log.1 Replies