Trying to install on the 1.0.0 branch without node-gyp installed failed with unhelpful errors. This should be included in the installation instructions.
Same is happening in 0.9.13.
npm ERR! Linux 4.4.0-119-generic
npm ERR! argv "/home/admin/.nvm/versions/node/v6.14.1/bin/node" "/home/admin/.nvm/versions/node/v6.14.1/bin/npm" "i"
npm ERR! node v6.14.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the libpq package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs libpq
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls libpq
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/admin/git/lisk/npm-debug.log
@willclarktech Why not include it in package.json?
I did some looking. sodium-native does include it in package.json, so this is no longer an issue. I was able to build this on a system that otherwise does not have node-gyp installed.
I recommend closing this
Thanks @Nazgolze
Most helpful comment
I did some looking. sodium-native does include it in package.json, so this is no longer an issue. I was able to build this on a system that otherwise does not have node-gyp installed.
I recommend closing this