node-cylon: fix issues with node 8.11.3
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Wed, 8 Aug 2018 15:05:45 +0000 (12:05 -0300)
committerEneas U de Queiroz <cote2004-github@yahoo.com>
Wed, 8 Aug 2018 17:41:12 +0000 (14:41 -0300)
commit56fe5581e49648e6644311f0166f7ab1505f2e00
tree369ad526e6ba6afee7915ad03dea957bb14c0ad7
parent6ed62c6982563442fc9fd27f0f62cc045a6d38eb
node-cylon: fix issues with node 8.11.3

Get node version from node executable instead of keeping it hardcoded to
the Makefile.

Current version of npm install installs a link to the build directory.
The workaround is to use npm pack to make a tarball and install from
that.
npm also adds useless metadata to package.json exposing
PKG_BUILD_DIR, so it needs to be stripped.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
lang/node-cylon/Makefile