I\'m trying to install bcrypt on CentOS server but I got the following error:
info postuninstall bcrypt@0.5.0 ERR! bcrypt@0.5.0 install: `make build` ERR! `s
For me the answer was to ensure that I had gcc, openssl and node-gyp installed.
To install gcc and openssl, use yum:
sudo yum install gcc-c++ openssl-devel
To install node-gyp (globally), use npm:
npm install -g node-gyp
Then the npm install of bcrypt worked just fine on centos