Installing Aerospike client for nodejs

I have been trying to install aerospike client for nodejs on ubuntu.

I have tried with nodejs 5/6/7 with ubuntu 12 and 16

Install nodejs:

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs

Install build-essential:

sudo apt-get install -y build-essential

Installing aerospike:

sudo apt-get install libssl0.9.8 libssl-dev liblua5.1-dev sudo ln -s /usr/lib/x86_64-linux-gnu/liblua5.1.so /usr/lib/liblua.so sudo ln -s /usr/lib/x86_64-linux-gnu/liblua5.1.a /usr/lib/liblua.a

npm install aerospike

I get below error:

make: Leaving directory /opt/projects/testproj/node_modules/aerospike/build' gyp ERR! build error gyp ERR! stack Error: make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/opt/node-v5.12.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:100:13) gyp ERR! stack at ChildProcess.emit (events.js:185:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) gyp ERR! System Linux 3.13.0-32-generic gyp ERR! command “/opt/node-v5.12.0-linux-x64/bin/node” “/opt/node-v5.12.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild” gyp ERR! cwd /opt/projects/testproj/node_modules/aerospike gyp ERR! node -v v5.12.0 gyp ERR! node-gyp -v v3.3.1 gyp ERR! not ok npm WARN aerospike-node-express-seed-app@0.0.0-1 No description npm WARN aerospike-node-express-seed-app@0.0.0-1 No repository field. npm WARN aerospike-node-express-seed-app@0.0.0-1 No license field. npm ERR! Linux 3.13.0-32-generic npm ERR! argv “/opt/node-v5.12.0-linux-x64/bin/node” “/opt/node-v5.12.0-linux-x64/bin/npm” “install” npm ERR! node v5.12.0 npm ERR! npm v3.8.6 npm ERR! code ELIFECYCLE

npm ERR! aerospike@2.0.4 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the aerospike@2.0.4 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 aerospike 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 aerospike npm ERR! Or if that isn’t available, you can get their info via: npm ERR! npm owner ls aerospike npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /opt/projects/testproj/npm-debug.log

Can you please attach the npm-debug.log file which should contain additional details.

I tried to reproduce the issue on Ubuntu 16.04 with Node.js 6 and both the aerospike package version you were using (2.0.4) as well as the latest package version (2.4.1) but in both cases the package installed without issues.

0 info it worked if it ends with ok 1 verbose cli [ ‘/opt/node-v5.12.0-linux-x64/bin/node’, 1 verbose cli ‘/opt/node-v5.12.0-linux-x64/bin/npm’, 1 verbose cli ‘install’ ] 2 info using npm@3.8.6 3 info using node@v5.12.0 4 silly loadCurrentTree Starting 5 silly install loadCurrentTree 6 silly install readLocalPackageData 7 silly install normalizeTree 8 silly loadCurrentTree Finishing 9 silly loadIdealTree Starting 10 silly install loadIdealTree 11 silly cloneCurrentTree Starting 12 silly install cloneCurrentTreeToIdealTree 13 silly cloneCurrentTree Finishing 14 silly loadShrinkwrap Starting 15 silly install loadShrinkwrap 16 silly loadShrinkwrap Finishing 17 silly loadAllDepsIntoIdealTree Starting 18 silly install loadAllDepsIntoIdealTree 19 silly fetchNamedPackageData aerospike 20 silly mapToRegistry name aerospike 21 silly mapToRegistry using default registry 22 silly mapToRegistry registry https://registry.npmjs.org/ 23 silly mapToRegistry data Result { 23 silly mapToRegistry raw: ‘aerospike’, 23 silly mapToRegistry scope: null, 23 silly mapToRegistry name: ‘aerospike’, 23 silly mapToRegistry rawSpec: ‘’, 23 silly mapToRegistry spec: ‘latest’, 23 silly mapToRegistry type: ‘tag’ } 24 silly mapToRegistry uri https://registry.npmjs.org/aerospike 25 verbose request uri https://registry.npmjs.org/aerospike 26 verbose request no auth needed 27 info attempt registry request try #1 at 11:41:26 AM 28 verbose request id 72157269b7241614 29 verbose etag “9U88CGRIITGVM234CV8M50TW” 30 http request GET https://registry.npmjs.org/aerospike 31 http 304 https://registry.npmjs.org/aerospike 32 verbose headers { date: ‘Thu, 03 Nov 2016 05:56:28 GMT’, 32 verbose headers via: ‘1.1 varnish’, 32 verbose headers ‘cache-control’: ‘max-age=300’, 32 verbose headers etag: ‘“9U88CGRIITGVM234CV8M50TW”’, 32 verbose headers age: ‘0’, 32 verbose headers connection: ‘keep-alive’, 32 verbose headers ‘x-served-by’: ‘cache-sin6927-SIN’, 32 verbose headers ‘x-cache’: ‘HIT’, 32 verbose headers ‘x-cache-hits’: ‘1’, 32 verbose headers ‘x-timer’: ‘S1478152588.551787,VS0,VE254’, 32 verbose headers vary: ‘Accept-Encoding’ } 33 silly get cb [ 304, 33 silly get { date: ‘Thu, 03 Nov 2016 05:56:28 GMT’, 33 silly get via: ‘1.1 varnish’, 33 silly get ‘cache-control’: ‘max-age=300’, 33 silly get etag: ‘“9U88CGRIITGVM234CV8M50TW”’, 33 silly get age: ‘0’, 33 silly get connection: ‘keep-alive’, 33 silly get ‘x-served-by’: ‘cache-sin6927-SIN’, 33 silly get ‘x-cache’: ‘HIT’, 33 silly get ‘x-cache-hits’: ‘1’, 33 silly get ‘x-timer’: ‘S1478152588.551787,VS0,VE254’, 33 silly get vary: ‘Accept-Encoding’ } ] 34 verbose etag https://registry.npmjs.org/aerospike from cache 35 verbose get saving aerospike to /home/sugandha/.npm/registry.npmjs.org/aerospike/.cache.json 36 verbose correctMkdir /home/sugandha/.npm correctMkdir not in flight; initializing 37 silly resolveWithNewModule aerospike@2.0.4 checking installable status 38 silly cache add args [ ‘aerospike@~2.0.0’, null ] 39 verbose cache add spec aerospike@~2.0.0 40 silly cache add parsed spec Result { 40 silly cache add raw: ‘aerospike@~2.0.0’, 40 silly cache add scope: null, 40 silly cache add name: ‘aerospike’, 40 silly cache add rawSpec: ‘~2.0.0’, 40 silly cache add spec: ‘>=2.0.0 <2.1.0’, 40 silly cache add type: ‘range’ } 41 silly addNamed aerospike@>=2.0.0 <2.1.0 42 verbose addNamed “>=2.0.0 <2.1.0” is a valid semver range for aerospike 43 silly addNameRange { name: ‘aerospike’, range: ‘>=2.0.0 <2.1.0’, hasData: false } 44 silly mapToRegistry name aerospike 45 silly mapToRegistry using default registry 46 silly mapToRegistry registry https://registry.npmjs.org/ 47 silly mapToRegistry data Result { 47 silly mapToRegistry raw: ‘aerospike’, 47 silly mapToRegistry scope: null, 47 silly mapToRegistry name: ‘aerospike’, 47 silly mapToRegistry rawSpec: ‘’, 47 silly mapToRegistry spec: ‘latest’, 47 silly mapToRegistry type: ‘tag’ } 48 silly mapToRegistry uri https://registry.npmjs.org/aerospike 49 verbose addNameRange registry:https://registry.npmjs.org/aerospike not in flight; fetching 50 verbose get https://registry.npmjs.org/aerospike not expired, no request 51 silly addNameRange number 2 { name: ‘aerospike’, range: ‘>=2.0.0 <2.1.0’, hasData: true } 52 silly addNameRange versions [ ‘aerospike’, 52 silly addNameRange [ ‘1.0.0’, 52 silly addNameRange ‘1.0.1’, 52 silly addNameRange ‘1.0.2’, 52 silly addNameRange ‘1.0.3’, 52 silly addNameRange ‘1.0.4’, 52 silly addNameRange ‘1.0.5’, 52 silly addNameRange ‘1.0.6’, 52 silly addNameRange ‘1.0.7’, 52 silly addNameRange ‘1.0.8’, 52 silly addNameRange ‘1.0.9’, 52 silly addNameRange ‘1.0.10’, 52 silly addNameRange ‘1.0.11’, 52 silly addNameRange ‘1.0.12’, 52 silly addNameRange ‘1.0.14’, 52 silly addNameRange ‘1.0.15’, 52 silly addNameRange ‘1.0.16’, 52 silly addNameRange ‘1.0.18’, 52 silly addNameRange ‘1.0.19’, 52 silly addNameRange ‘1.0.21’, 52 silly addNameRange ‘1.0.22’, 52 silly addNameRange ‘1.0.23’, 52 silly addNameRange ‘1.0.24’, 52 silly addNameRange ‘1.0.25’, 52 silly addNameRange ‘1.0.26’, 52 silly addNameRange ‘1.0.27’, 52 silly addNameRange ‘1.0.28’, 52 silly addNameRange ‘1.0.29’, 52 silly addNameRange ‘1.0.30’, 52 silly addNameRange ‘1.0.31’, 52 silly addNameRange ‘1.0.34’, 52 silly addNameRange ‘1.0.35’, 52 silly addNameRange ‘1.0.36’, 52 silly addNameRange ‘1.0.37’, 52 silly addNameRange ‘1.0.38’, 52 silly addNameRange ‘1.0.39’, 52 silly addNameRange ‘1.0.40’, 52 silly addNameRange ‘1.0.41’, 52 silly addNameRange ‘1.0.42’, 52 silly addNameRange ‘1.0.43’, 52 silly addNameRange ‘1.0.44’, 52 silly addNameRange ‘1.0.45’, 52 silly addNameRange ‘1.0.47’, 52 silly addNameRange ‘1.0.48’, 52 silly addNameRange ‘1.0.49’, 52 silly addNameRange ‘1.0.50’, 52 silly addNameRange ‘1.0.51’, 52 silly addNameRange ‘1.0.52’, 52 silly addNameRange ‘1.0.53’, 52 silly addNameRange ‘1.0.54’, 52 silly addNameRange ‘1.0.55’, 52 silly addNameRange ‘1.0.56’, 52 silly addNameRange ‘1.0.57’, 52 silly addNameRange ‘2.0.0-alpha.1’, 52 silly addNameRange ‘2.0.0-alpha.2’, 52 silly addNameRange ‘2.0.0-alpha.3’, 52 silly addNameRange ‘2.0.0’, 52 silly addNameRange ‘2.0.1’, 52 silly addNameRange ‘2.0.2’, 52 silly addNameRange ‘2.0.3’, 52 silly addNameRange ‘2.0.4’, 52 silly addNameRange ‘2.1.0’, 52 silly addNameRange ‘2.1.1’, 52 silly addNameRange ‘2.2.0’, 52 silly addNameRange ‘2.3.0’, 52 silly addNameRange ‘2.3.1’, 52 silly addNameRange ‘2.4.0’, 52 silly addNameRange ‘2.4.1’, 52 silly addNameRange ‘1.0.58’ ] ] 53 silly addNamed aerospike@2.0.4 54 verbose addNamed “2.0.4” is a plain semver version for aerospike 55 silly mapToRegistry name aerospike 56 silly mapToRegistry using default registry 57 silly mapToRegistry registry https://registry.npmjs.org/ 58 silly mapToRegistry data Result { 58 silly mapToRegistry raw: ‘aerospike’, 58 silly mapToRegistry scope: null, 58 silly mapToRegistry name: ‘aerospike’, 58 silly mapToRegistry rawSpec: ‘’, 58 silly mapToRegistry spec: ‘latest’, 58 silly mapToRegistry type: ‘tag’ } 59 silly mapToRegistry uri https://registry.npmjs.org/aerospike 60 verbose addRemoteTarball https://registry.npmjs.org/aerospike/-/aerospike-2.0.4.tgz not in flight; adding 61 verbose addRemoteTarball [ ‘https://registry.npmjs.org/aerospike/-/aerospike-2.0.4.tgz’, 61 verbose addRemoteTarball ‘b52c890bf2166a3bd2f1019d7578854f8c252b78’ ] 62 info retry fetch attempt 1 at 11:41:30 AM 63 info attempt registry request try #1 at 11:41:30 AM 64 http fetch GET https://registry.npmjs.org/aerospike/-/aerospike-2.0.4.tgz 65 http fetch 200 https://registry.npmjs.org/aerospike/-/aerospike-2.0.4.tgz 66 silly fetchAndShaCheck shasum b52c890bf2166a3bd2f1019d7578854f8c252b78 67 verbose addTmpTarball /tmp/npm-23557-1b7c7a48/registry.npmjs.org/aerospike/-/aerospike-2.0.4.tgz not in flight; adding 68 verbose addTmpTarball already have metadata; skipping unpack for aerospike@2.0.4 69 verbose correctMkdir /home/sugandha/.npm correctMkdir not in flight; initializing 70 silly cache afterAdd aerospike@2.0.4 71 verbose afterAdd /home/sugandha/.npm/aerospike/2.0.4/package/package.json not in flight; writing 72 verbose correctMkdir /home/sugandha/.npm correctMkdir not in flight; initializing 73 verbose afterAdd /home/sugandha/.npm/aerospike/2.0.4/package/package.json written 74 silly fetchNamedPackageData nan 75 silly mapToRegistry name nan 76 silly mapToRegistry using default registry 77 silly mapToRegistry registry https://registry.npmjs.org/ 78 silly mapToRegistry data Result { 78 silly mapToRegistry raw: ‘nan’, 78 silly mapToRegistry scope: null, 78 silly mapToRegistry name: ‘nan’, 78 silly mapToRegistry rawSpec: ‘’, 78 silly mapToRegistry spec: ‘latest’, 78 silly mapToRegistry type: ‘tag’ } 79 silly mapToRegistry uri https://registry.npmjs.org/nan 80 verbose request uri https://registry.npmjs.org/nan 81 verbose request no auth needed 82 info attempt registry request try #1 at 11:41:31 AM 83 verbose etag “64LN9YQI6X4XTPFBYZLET8KF2” 84 http request GET https://registry.npmjs.org/nan 85 http 304 https://registry.npmjs.org/nan 86 verbose headers { date: ‘Thu, 03 Nov 2016 05:56:29 GMT’, 86 verbose headers via: ‘1.1 varnish’, 86 verbose headers ‘cache-control’: ‘max-age=300’, 86 verbose headers etag: ‘“64LN9YQI6X4XTPFBYZLET8KF2”’, 86 verbose headers age: ‘213’, 86 verbose headers connection: ‘keep-alive’, 86 verbose headers ‘x-served-by’: ‘cache-sin6927-SIN’, 86 verbose headers ‘x-cache’: ‘HIT’, 86 verbose headers ‘x-cache-hits’: ‘15’, 86 verbose headers ‘x-timer’: ‘S1478152589.920719,VS0,VE0’, 86 verbose headers vary: ‘Accept-Encoding’ } 87 silly get cb [ 304, 87 silly get { date: ‘Thu, 03 Nov 2016 05:56:29 GMT’, 87 silly get via: ‘1.1 varnish’, 87 silly get ‘cache-control’: ‘max-age=300’, 87 silly get etag: ‘“64LN9YQI6X4XTPFBYZLET8KF2”’, 87 silly get age: ‘213’, 87 silly get connection: ‘keep-alive’, 87 silly get ‘x-served-by’: ‘cache-sin6927-SIN’, 87 silly get ‘x-cache’: ‘HIT’, 87 silly get ‘x-cache-hits’: ‘15’, 87 silly get ‘x-timer’: ‘S1478152589.920719,VS0,VE0’, 87 silly get vary: ‘Accept-Encoding’ } ] 88 verbose etag https://registry.npmjs.org/nan from cache 89 verbose get saving nan to /home/sugandha/.npm/registry.npmjs.org/nan/.cache.json 90 verbose correctMkdir /home/sugandha/.npm correctMkdir not in flight; initializing 91 silly resolveWithNewModule nan@2.3.5 checking installable status 92 silly cache add args [ ‘nan@~2.3.0’, null ] 93 verbose cache add spec nan@~2.3.0 94 silly cache add parsed spec Result { 94 silly cache add raw: ‘nan@~2.3.0’, 94 silly cache add scope: null, 94 silly cache add name: ‘nan’, 94 silly cache add rawSpec: ‘~2.3.0’, 94 silly cache add spec: ‘>=2.3.0 <2.4.0’, 94 silly cache add type: ‘range’ } 95 silly addNamed nan@>=2.3.0 <2.4.0 96 verbose addNamed “>=2.3.0 <2.4.0” is a valid semver range for nan 97 silly addNameRange { name: ‘nan’, range: ‘>=2.3.0 <2.4.0’, hasData: false } 98 silly mapToRegistry name nan 99 silly mapToRegistry using default registry 100 silly mapToRegistry registry https://registry.npmjs.org/ 101 silly mapToRegistry data Result { 101 silly mapToRegistry raw: ‘nan’, 101 silly mapToRegistry scope: null, 101 silly mapToRegistry name: ‘nan’, 101 silly mapToRegistry rawSpec: ‘’, 101 silly mapToRegistry spec: ‘latest’, 101 silly mapToRegistry type: ‘tag’ } 102 silly mapToRegistry uri https://registry.npmjs.org/nan 103 verbose addNameRange registry:https://registry.npmjs.org/nan not in flight; fetching 104 verbose get https://registry.npmjs.org/nan not expired, no request 105 silly addNameRange number 2 { name: ‘nan’, range: ‘>=2.3.0 <2.4.0’, hasData: true } 106 silly addNameRange versions [ ‘nan’, 106 silly addNameRange [ ‘0.3.0-wip’, 106 silly addNameRange ‘0.3.0-wip2’, 106 silly addNameRange ‘0.3.0’, 106 silly addNameRange ‘0.3.1’, 106 silly addNameRange ‘0.3.2’, 106 silly addNameRange ‘0.4.0’, 106 silly addNameRange ‘0.4.1’, 106 silly addNameRange ‘0.4.2’, 106 silly addNameRange ‘0.4.3’, 106 silly addNameRange ‘0.4.4’, 106 silly addNameRange ‘0.5.0’, 106 silly addNameRange ‘0.5.1’, 106 silly addNameRange ‘0.5.2’, 106 silly addNameRange ‘0.6.0’, 106 silly addNameRange ‘0.7.0’, 106 silly addNameRange ‘0.7.1’, 106 silly addNameRange ‘0.8.0’, 106 silly addNameRange ‘1.0.0’, 106 silly addNameRange ‘1.1.0’, 106 silly addNameRange ‘1.1.1’, 106 silly addNameRange ‘1.1.2’, 106 silly addNameRange ‘1.2.0’, 106 silly addNameRange ‘1.3.0’, 106 silly addNameRange ‘1.4.0’, 106 silly addNameRange ‘1.4.1’, 106 silly addNameRange ‘1.5.0’, 106 silly addNameRange ‘1.4.2’, 106 silly addNameRange ‘1.4.3’, 106 silly addNameRange ‘1.5.1’, 106 silly addNameRange ‘1.5.2’, 106 silly addNameRange ‘1.6.0’, 106 silly addNameRange ‘1.5.3’, 106 silly addNameRange ‘1.6.1’, 106 silly addNameRange ‘1.6.2’, 106 silly addNameRange ‘1.7.0’, 106 silly addNameRange ‘1.8.0’, 106 silly addNameRange ‘1.8.1’, 106 silly addNameRange ‘1.8.2’, 106 silly addNameRange ‘1.8.3’, 106 silly addNameRange ‘1.8.4’, 106 silly addNameRange ‘1.9.0’, 106 silly addNameRange ‘2.0.0’, 106 silly addNameRange ‘2.0.1’, 106 silly addNameRange ‘2.0.2’, 106 silly addNameRange ‘2.0.3’, 106 silly addNameRange ‘2.0.4’, 106 silly addNameRange ‘2.0.5’, 106 silly addNameRange ‘2.0.6’, 106 silly addNameRange ‘2.0.7’, 106 silly addNameRange ‘2.0.8’, 106 silly addNameRange ‘2.0.9’, 106 silly addNameRange ‘2.1.0’, 106 silly addNameRange ‘2.2.0’, 106 silly addNameRange ‘2.2.1’, 106 silly addNameRange ‘2.3.0’, 106 silly addNameRange ‘2.3.1’, 106 silly addNameRange ‘2.3.2’, 106 silly addNameRange ‘2.3.3’, 106 silly addNameRange ‘2.3.4’, 106 silly addNameRange ‘2.3.5’, 106 silly addNameRange ‘2.4.0’ ] ] 107 silly addNamed nan@2.3.5 108 verbose addNamed “2.3.5” is a plain semver version for nan 109 silly cache afterAdd nan@2.3.5 110 verbose afterAdd /home/sugandha/.npm/nan/2.3.5/package/package.json not in flight; writing 111 verbose correctMkdir /home/sugandha/.npm correctMkdir not in flight; initializing 112 verbose afterAdd /home/sugandha/.npm/nan/2.3.5/package/package.json written 113 silly loadAllDepsIntoIdealTree Finishing 114 silly idealTree:prePrune aerospike-node-express-seed-app@0.0.0-1 114 silly idealTree:prePrune ├── accepts@1.0.0 114 silly idealTree:prePrune ├── aerospike@2.0.4 114 silly idealTree:prePrune ├── buffer-crc32@0.2.1 114 silly idealTree:prePrune ├── cookie-signature@1.0.3 114 silly idealTree:prePrune ├── cookie@0.1.0 114 silly idealTree:prePrune ├── debug@0.8.1 114 silly idealTree:prePrune ├── escape-html@1.0.1 114 silly idealTree:prePrune ├── express@4.0.0 114 silly idealTree:prePrune ├── fresh@0.2.2 114 silly idealTree:prePrune ├── merge-descriptors@0.0.2 114 silly idealTree:prePrune ├── methods@0.1.0 114 silly idealTree:prePrune ├── mime@1.2.11 114 silly idealTree:prePrune ├── nan@2.3.5 114 silly idealTree:prePrune ├── negotiator@0.3.0 114 silly idealTree:prePrune ├── parseurl@1.0.1 114 silly idealTree:prePrune ├── path-to-regexp@0.1.2 114 silly idealTree:prePrune ├── qs@0.6.6 114 silly idealTree:prePrune ├── range-parser@1.0.0 114 silly idealTree:prePrune ├── send@0.2.0 114 silly idealTree:prePrune ├─┬ serve-static@1.0.1 114 silly idealTree:prePrune │ ├── fresh@0.2.0 114 silly idealTree:prePrune │ ├── range-parser@0.0.4 114 silly idealTree:prePrune │ └── send@0.1.4 114 silly idealTree:prePrune ├── type-is@1.0.0 114 silly idealTree:prePrune └── utils-merge@1.0.0 115 silly loadIdealTree Finishing 116 silly currentTree aerospike-node-express-seed-app@0.0.0-1 116 silly currentTree ├── accepts@1.0.0 116 silly currentTree ├── buffer-crc32@0.2.1 116 silly currentTree ├── cookie-signature@1.0.3 116 silly currentTree ├── cookie@0.1.0 116 silly currentTree ├── debug@0.8.1 116 silly currentTree ├── escape-html@1.0.1 116 silly currentTree ├── express@4.0.0 116 silly currentTree ├── fresh@0.2.2 116 silly currentTree ├── merge-descriptors@0.0.2 116 silly currentTree ├── methods@0.1.0 116 silly currentTree ├── mime@1.2.11 116 silly currentTree ├── negotiator@0.3.0 116 silly currentTree ├── parseurl@1.0.1 116 silly currentTree ├── path-to-regexp@0.1.2 116 silly currentTree ├── qs@0.6.6 116 silly currentTree ├── range-parser@1.0.0 116 silly currentTree ├── send@0.2.0 116 silly currentTree ├─┬ serve-static@1.0.1 116 silly currentTree │ ├── fresh@0.2.0 116 silly currentTree │ ├── range-parser@0.0.4 116 silly currentTree │ └── send@0.1.4 116 silly currentTree ├── type-is@1.0.0 116 silly currentTree └── utils-merge@1.0.0 117 silly idealTree aerospike-node-express-seed-app@0.0.0-1 117 silly idealTree ├── accepts@1.0.0 117 silly idealTree ├── aerospike@2.0.4 117 silly idealTree ├── buffer-crc32@0.2.1 117 silly idealTree ├── cookie-signature@1.0.3 117 silly idealTree ├── cookie@0.1.0 117 silly idealTree ├── debug@0.8.1 117 silly idealTree ├── escape-html@1.0.1 117 silly idealTree ├── express@4.0.0 117 silly idealTree ├── fresh@0.2.2 117 silly idealTree ├── merge-descriptors@0.0.2 117 silly idealTree ├── methods@0.1.0 117 silly idealTree ├── mime@1.2.11 117 silly idealTree ├── nan@2.3.5 117 silly idealTree ├── negotiator@0.3.0 117 silly idealTree ├── parseurl@1.0.1 117 silly idealTree ├── path-to-regexp@0.1.2 117 silly idealTree ├── qs@0.6.6 117 silly idealTree ├── range-parser@1.0.0 117 silly idealTree ├── send@0.2.0 117 silly idealTree ├─┬ serve-static@1.0.1 117 silly idealTree │ ├── fresh@0.2.0 117 silly idealTree │ ├── range-parser@0.0.4 117 silly idealTree │ └── send@0.1.4 117 silly idealTree ├── type-is@1.0.0 117 silly idealTree └── utils-merge@1.0.0 118 silly generateActionsToTake Starting 119 silly install generateActionsToTake 120 silly generateActionsToTake Finishing 121 silly diffTrees action count 2 122 silly diffTrees add nan@2.3.5 123 silly diffTrees add aerospike@2.0.4 124 silly decomposeActions action count 16 125 silly decomposeActions fetch nan@2.3.5 126 silly decomposeActions extract nan@2.3.5 127 silly decomposeActions test nan@2.3.5 128 silly decomposeActions preinstall nan@2.3.5 129 silly decomposeActions build nan@2.3.5 130 silly decomposeActions install nan@2.3.5 131 silly decomposeActions postinstall nan@2.3.5 132 silly decomposeActions finalize nan@2.3.5 133 silly decomposeActions fetch aerospike@2.0.4 134 silly decomposeActions extract aerospike@2.0.4 135 silly decomposeActions test aerospike@2.0.4 136 silly decomposeActions preinstall aerospike@2.0.4 137 silly decomposeActions build aerospike@2.0.4 138 silly decomposeActions install aerospike@2.0.4 139 silly decomposeActions postinstall aerospike@2.0.4 140 silly decomposeActions finalize aerospike@2.0.4 141 silly executeActions Starting 142 silly install executeActions 143 silly doSerial global-install 0 144 silly doParallel fetch 2 145 verbose correctMkdir /home/sugandha/.npm/_locks correctMkdir not in flight; initializing 146 verbose lock using /home/sugandha/.npm/_locks/staging-07dddb81fe39d8dd.lock for /opt/projects/testproj/node_modules/.staging 147 silly doParallel extract 2 148 silly extract nan@2.3.5 149 silly extract aerospike@2.0.4 150 verbose unbuild node_modules/.staging/nan-6f85efe0 151 verbose unbuild node_modules/.staging/aerospike-85c985db 152 silly gentlyRm /opt/projects/testproj/node_modules/.staging/nan-6f85efe0 is being purged from base /opt/projects/testproj 153 verbose gentlyRm don’t care about contents; nuking /opt/projects/testproj/node_modules/.staging/nan-6f85efe0 154 silly gentlyRm /opt/projects/testproj/node_modules/.staging/aerospike-85c985db is being purged from base /opt/projects/testproj 155 verbose gentlyRm don’t care about contents; nuking /opt/projects/testproj/node_modules/.staging/aerospike-85c985db 156 verbose tar unpack /home/sugandha/.npm/nan/2.3.5/package.tgz 157 verbose tar unpacking to /opt/projects/testproj/node_modules/.staging/nan-6f85efe0 158 silly gentlyRm /opt/projects/testproj/node_modules/.staging/nan-6f85efe0 is being purged 159 verbose gentlyRm don’t care about contents; nuking /opt/projects/testproj/node_modules/.staging/nan-6f85efe0 160 verbose tar unpack /home/sugandha/.npm/aerospike/2.0.4/package.tgz 161 verbose tar unpacking to /opt/projects/testproj/node_modules/.staging/aerospike-85c985db 162 silly gentlyRm /opt/projects/testproj/node_modules/.staging/aerospike-85c985db is being purged 163 verbose gentlyRm don’t care about contents; nuking /opt/projects/testproj/node_modules/.staging/aerospike-85c985db 164 silly gunzTarPerm modes [ ‘775’, ‘664’ ] 165 silly gunzTarPerm modes [ ‘775’, ‘664’ ] 166 silly gunzTarPerm extractEntry package.json 167 silly gunzTarPerm extractEntry package.json 168 silly gunzTarPerm modified mode [ ‘package.json’, 420, 436 ] 169 silly gunzTarPerm extractEntry README.md 170 silly gunzTarPerm extractEntry include_dirs.js 171 silly gunzTarPerm extractEntry .npmignore 172 silly gunzTarPerm modified mode [ ‘.npmignore’, 420, 436 ] 173 silly gunzTarPerm extractEntry README.md 174 silly gunzTarPerm modified mode [ ‘README.md’, 420, 436 ] 175 silly gunzTarPerm extractEntry nan_converters.h 176 silly gunzTarPerm extractEntry LICENSE.md 177 silly gunzTarPerm extractEntry doc/node_misc.md 178 silly gunzTarPerm extractEntry LICENSE 179 silly gunzTarPerm modified mode [ ‘LICENSE’, 420, 436 ] 180 silly gunzTarPerm extractEntry doc/asyncworker.md 181 silly gunzTarPerm extractEntry benchmarks/package.json 182 silly gunzTarPerm modified mode [ ‘benchmarks/package.json’, 420, 436 ] 183 silly gunzTarPerm extractEntry benchmarks/README.md 184 silly gunzTarPerm modified mode [ ‘benchmarks/README.md’, 420, 436 ] 185 silly gunzTarPerm extractEntry doc/callback.md 186 silly gunzTarPerm extractEntry doc/converters.md 187 silly gunzTarPerm extractEntry benchmarks/alerts.js 188 silly gunzTarPerm modified mode [ ‘benchmarks/alerts.js’, 420, 436 ] 189 silly gunzTarPerm extractEntry benchmarks/inspect.js 190 silly gunzTarPerm modified mode [ ‘benchmarks/inspect.js’, 420, 436 ] 191 silly gunzTarPerm extractEntry doc/errors.md 192 silly gunzTarPerm extractEntry doc/maybe_types.md 193 silly gunzTarPerm extractEntry benchmarks/main.js 194 silly gunzTarPerm modified mode [ ‘benchmarks/main.js’, 420, 436 ] 195 silly gunzTarPerm extractEntry benchmarks/memory.js 196 silly gunzTarPerm modified mode [ ‘benchmarks/memory.js’, 420, 436 ] 197 silly gunzTarPerm extractEntry doc/methods.md 198 silly gunzTarPerm extractEntry doc/new.md 199 silly gunzTarPerm extractEntry doc/buffers.md 200 silly gunzTarPerm extractEntry doc/object_wrappers.md 201 silly gunzTarPerm extractEntry benchmarks/stats.js 202 silly gunzTarPerm modified mode [ ‘benchmarks/stats.js’, 420, 436 ] 203 silly gunzTarPerm extractEntry benchmarks/worker.js 204 silly gunzTarPerm modified mode [ ‘benchmarks/worker.js’, 420, 436 ] 205 silly gunzTarPerm extractEntry benchmarks/config.json 206 silly gunzTarPerm modified mode [ ‘benchmarks/config.json’, 420, 436 ] 207 silly gunzTarPerm extractEntry .travis.yml 208 silly gunzTarPerm modified mode [ ‘.travis.yml’, 420, 436 ] 209 silly gunzTarPerm extractEntry doc/persistent.md 210 silly gunzTarPerm extractEntry doc/scopes.md 211 silly gunzTarPerm extractEntry History.md 212 silly gunzTarPerm modified mode [ ‘History.md’, 420, 436 ] 213 silly gunzTarPerm extractEntry Makefile 214 silly gunzTarPerm modified mode [ ‘Makefile’, 420, 436 ] 215 silly gunzTarPerm extractEntry doc/script.md 216 silly gunzTarPerm extractEntry doc/string_bytes.md 217 silly gunzTarPerm extractEntry .editorconfig 218 silly gunzTarPerm modified mode [ ‘.editorconfig’, 420, 436 ] 219 silly gunzTarPerm extractEntry binding.gyp 220 silly gunzTarPerm modified mode [ ‘binding.gyp’, 420, 436 ] 221 silly gunzTarPerm extractEntry doc/v8_internals.md 222 silly gunzTarPerm extractEntry doc/v8_misc.md 223 silly gunzTarPerm extractEntry docs/README.md 224 silly gunzTarPerm modified mode [ ‘docs/README.md’, 420, 436 ] 225 silly gunzTarPerm extractEntry docs/tutorials/getting_started.md 226 silly gunzTarPerm modified mode [ ‘docs/tutorials/getting_started.md’, 420, 436 ] 227 silly gunzTarPerm extractEntry nan.h 228 silly gunzTarPerm extractEntry docs/tutorials/index.json 229 silly gunzTarPerm modified mode [ ‘docs/tutorials/index.json’, 420, 436 ] 230 silly gunzTarPerm extractEntry docs/api-changes.md 231 silly gunzTarPerm modified mode [ ‘docs/api-changes.md’, 420, 436 ] 232 silly gunzTarPerm extractEntry nan_callbacks.h 233 silly gunzTarPerm extractEntry nan_callbacks_12_inl.h 234 silly gunzTarPerm extractEntry nan_callbacks_pre_12_inl.h 235 silly gunzTarPerm extractEntry nan_converters_43_inl.h 236 silly gunzTarPerm extractEntry docs/client.md 237 silly gunzTarPerm modified mode [ ‘docs/client.md’, 420, 436 ] 238 silly gunzTarPerm extractEntry docs/configuration.md 239 silly gunzTarPerm modified mode [ ‘docs/configuration.md’, 420, 436 ] 240 silly gunzTarPerm extractEntry nan_converters_pre_43_inl.h 241 silly gunzTarPerm extractEntry nan_implementation_12_inl.h 242 silly gunzTarPerm extractEntry nan_implementation_pre_12_inl.h 243 silly gunzTarPerm extractEntry nan_maybe_43_inl.h 244 silly gunzTarPerm extractEntry docs/datamodel.md 245 silly gunzTarPerm modified mode [ ‘docs/datamodel.md’, 420, 436 ] 246 silly gunzTarPerm extractEntry docs/filters.md 247 silly gunzTarPerm modified mode [ ‘docs/filters.md’, 420, 436 ] 248 silly gunzTarPerm extractEntry nan_maybe_pre_43_inl.h 249 silly gunzTarPerm extractEntry nan_new.h 250 silly gunzTarPerm extractEntry docs/index.md 251 silly gunzTarPerm modified mode [ ‘docs/index.md’, 420, 436 ] 252 silly gunzTarPerm extractEntry docs/aerospike.md 253 silly gunzTarPerm modified mode [ ‘docs/aerospike.md’, 420, 436 ] 254 silly gunzTarPerm extractEntry nan_object_wrap.h 255 silly gunzTarPerm extractEntry nan_persistent_12_inl.h 256 silly gunzTarPerm extractEntry docs/log.md 257 silly gunzTarPerm modified mode [ ‘docs/log.md’, 420, 436 ]

258 silly gunzTarPerm extractEntry docs/operators.md 259 silly gunzTarPerm modified mode [ ‘docs/operators.md’, 420, 436 ] 260 silly gunzTarPerm extractEntry nan_persistent_pre_12_inl.h 261 silly gunzTarPerm extractEntry nan_string_bytes.h 262 silly gunzTarPerm extractEntry docs/overview.md 263 silly gunzTarPerm modified mode [ ‘docs/overview.md’, 420, 436 ] 264 silly gunzTarPerm extractEntry docs/policies.md 265 silly gunzTarPerm modified mode [ ‘docs/policies.md’, 420, 436 ] 266 silly gunzTarPerm extractEntry nan_typedarray_contents.h 267 silly gunzTarPerm extractEntry nan_weak.h 268 silly gunzTarPerm extractEntry docs/query.md 269 silly gunzTarPerm modified mode [ ‘docs/query.md’, 420, 436 ] 270 silly gunzTarPerm extractEntry docs/scanproperties.md 271 silly gunzTarPerm modified mode [ ‘docs/scanproperties.md’, 420, 436 ] 272 silly gunzTarPerm extractEntry CHANGELOG.md 273 silly gunzTarPerm extractEntry tools/package.json 274 silly gunzTarPerm extractEntry docs/status.md 275 silly gunzTarPerm modified mode [ ‘docs/status.md’, 420, 436 ] 276 silly gunzTarPerm extractEntry docs/largelist.md 277 silly gunzTarPerm modified mode [ ‘docs/largelist.md’, 420, 436 ] 278 silly gunzTarPerm extractEntry tools/README.md 279 silly gunzTarPerm extractEntry tools/1to2.js 280 silly gunzTarPerm extractEntry examples/package.json 281 silly gunzTarPerm modified mode [ ‘examples/package.json’, 420, 436 ] 282 silly gunzTarPerm extractEntry examples/README.md 283 silly gunzTarPerm modified mode [ ‘examples/README.md’, 420, 436 ] 284 silly gunzTarPerm extractEntry examples/iteration.js 285 silly gunzTarPerm modified mode [ ‘examples/iteration.js’, 420, 436 ] 286 silly gunzTarPerm extractEntry examples/llist.js 287 silly gunzTarPerm modified mode [ ‘examples/llist.js’, 420, 436 ] 288 silly gunzTarPerm extractEntry examples/logging.js 289 silly gunzTarPerm modified mode [ ‘examples/logging.js’, 420, 436 ] 290 silly gunzTarPerm extractEntry examples/select.js 291 silly gunzTarPerm modified mode [ ‘examples/select.js’, 420, 436 ] 292 silly gunzTarPerm extractEntry examples/info_host.js 293 silly gunzTarPerm modified mode [ ‘examples/info_host.js’, 420, 436 ] 294 silly gunzTarPerm extractEntry examples/add.js 295 silly gunzTarPerm modified mode [ ‘examples/add.js’, 420, 436 ] 296 silly gunzTarPerm extractEntry examples/put.js 297 silly gunzTarPerm modified mode [ ‘examples/put.js’, 420, 436 ] 298 silly gunzTarPerm extractEntry examples/query.js 299 silly gunzTarPerm modified mode [ ‘examples/query.js’, 420, 436 ] 300 silly gunzTarPerm extractEntry examples/scan_info.js 301 silly gunzTarPerm modified mode [ ‘examples/scan_info.js’, 420, 436 ] 302 silly gunzTarPerm extractEntry examples/info.js 303 silly gunzTarPerm modified mode [ ‘examples/info.js’, 420, 436 ] 304 silly gunzTarPerm extractEntry examples/query_aggregate.js 305 silly gunzTarPerm modified mode [ ‘examples/query_aggregate.js’, 420, 436 ] 306 silly gunzTarPerm extractEntry examples/index_remove.js 307 silly gunzTarPerm modified mode [ ‘examples/index_remove.js’, 420, 436 ] 308 silly gunzTarPerm extractEntry examples/query_geospatial.js 309 silly gunzTarPerm modified mode [ ‘examples/query_geospatial.js’, 420, 436 ] 310 silly gunzTarPerm extractEntry examples/index_create.js 311 silly gunzTarPerm modified mode [ ‘examples/index_create.js’, 420, 436 ] 312 silly gunzTarPerm extractEntry examples/range_exists.js 313 silly gunzTarPerm modified mode [ ‘examples/range_exists.js’, 420, 436 ] 314 silly gunzTarPerm extractEntry examples/get.js 315 silly gunzTarPerm modified mode [ ‘examples/get.js’, 420, 436 ] 316 silly gunzTarPerm extractEntry examples/range_get.js 317 silly gunzTarPerm modified mode [ ‘examples/range_get.js’, 420, 436 ] 318 silly gunzTarPerm extractEntry examples/exists.js 319 silly gunzTarPerm modified mode [ ‘examples/exists.js’, 420, 436 ] 320 silly gunzTarPerm extractEntry examples/range_put.js 321 silly gunzTarPerm modified mode [ ‘examples/range_put.js’, 420, 436 ] 322 silly gunzTarPerm extractEntry examples/execute.js 323 silly gunzTarPerm modified mode [ ‘examples/execute.js’, 420, 436 ] 324 silly gunzTarPerm extractEntry examples/range_remove.js 325 silly gunzTarPerm modified mode [ ‘examples/range_remove.js’, 420, 436 ] 326 silly gunzTarPerm extractEntry examples/udf_register.js 327 silly gunzTarPerm modified mode [ ‘examples/udf_register.js’, 420, 436 ] 328 silly gunzTarPerm extractEntry examples/range_validate.js 329 silly gunzTarPerm modified mode [ ‘examples/range_validate.js’, 420, 436 ] 330 silly gunzTarPerm extractEntry examples/batch_select.js 331 silly gunzTarPerm modified mode [ ‘examples/batch_select.js’, 420, 436 ] 332 silly gunzTarPerm extractEntry examples/remove.js 333 silly gunzTarPerm modified mode [ ‘examples/remove.js’, 420, 436 ] 334 silly gunzTarPerm extractEntry examples/batch_get.js 335 silly gunzTarPerm modified mode [ ‘examples/batch_get.js’, 420, 436 ] 336 silly gunzTarPerm extractEntry examples/scan_background.js 337 silly gunzTarPerm modified mode [ ‘examples/scan_background.js’, 420, 436 ] 338 silly gunzTarPerm extractEntry examples/batch_exists.js 339 silly gunzTarPerm modified mode [ ‘examples/batch_exists.js’, 420, 436 ] 340 silly gunzTarPerm extractEntry examples/scan.js 341 silly gunzTarPerm modified mode [ ‘examples/scan.js’, 420, 436 ] 342 silly gunzTarPerm extractEntry examples/append.js 343 silly gunzTarPerm modified mode [ ‘examples/append.js’, 420, 436 ] 344 silly gunzTarPerm extractEntry examples/scan_aggregate.js 345 silly gunzTarPerm modified mode [ ‘examples/scan_aggregate.js’, 420, 436 ] 346 silly gunzTarPerm extractEntry examples/operate.js 347 silly gunzTarPerm modified mode [ ‘examples/operate.js’, 420, 436 ] 348 silly gunzTarPerm extractEntry examples/udf_remove.js 349 silly gunzTarPerm modified mode [ ‘examples/udf_remove.js’, 420, 436 ] 350 silly gunzTarPerm extractEntry examples/prepend.js 351 silly gunzTarPerm modified mode [ ‘examples/prepend.js’, 420, 436 ] 352 silly gunzTarPerm extractEntry examples/scan.lua 353 silly gunzTarPerm modified mode [ ‘examples/scan.lua’, 420, 436 ] 354 silly gunzTarPerm extractEntry examples/sample.lua 355 silly gunzTarPerm modified mode [ ‘examples/sample.lua’, 420, 436 ] 356 silly gunzTarPerm extractEntry examples/query.lua 357 silly gunzTarPerm modified mode [ ‘examples/query.lua’, 420, 436 ] 358 silly gunzTarPerm extractEntry jsdoc.json 359 silly gunzTarPerm modified mode [ ‘jsdoc.json’, 420, 436 ] 360 silly gunzTarPerm extractEntry lib/aerospike.js 361 silly gunzTarPerm modified mode [ ‘lib/aerospike.js’, 420, 436 ] 362 silly gunzTarPerm extractEntry lib/filter.js 363 silly gunzTarPerm modified mode [ ‘lib/filter.js’, 420, 436 ] 364 silly gunzTarPerm extractEntry lib/geojson.js 365 silly gunzTarPerm modified mode [ ‘lib/geojson.js’, 420, 436 ] 366 silly gunzTarPerm extractEntry lib/index_job.js 367 silly gunzTarPerm modified mode [ ‘lib/index_job.js’, 420, 436 ] 368 silly gunzTarPerm extractEntry lib/event_loop.js 369 silly gunzTarPerm modified mode [ ‘lib/event_loop.js’, 420, 436 ] 370 silly gunzTarPerm extractEntry lib/job.js 371 silly gunzTarPerm modified mode [ ‘lib/job.js’, 420, 436 ] 372 silly gunzTarPerm extractEntry lib/key.js 373 silly gunzTarPerm modified mode [ ‘lib/key.js’, 420, 436 ] 374 silly gunzTarPerm extractEntry lib/llist.js 375 silly gunzTarPerm modified mode [ ‘lib/llist.js’, 420, 436 ] 376 silly gunzTarPerm extractEntry lib/operator.js 377 silly gunzTarPerm modified mode [ ‘lib/operator.js’, 420, 436 ] 378 silly gunzTarPerm extractEntry lib/query.js 379 silly gunzTarPerm modified mode [ ‘lib/query.js’, 420, 436 ] 380 silly gunzTarPerm extractEntry lib/double.js 381 silly gunzTarPerm modified mode [ ‘lib/double.js’, 420, 436 ] 382 silly gunzTarPerm extractEntry lib/record_stream.js 383 silly gunzTarPerm modified mode [ ‘lib/record_stream.js’, 420, 436 ] 384 silly gunzTarPerm extractEntry lib/client.js 385 silly gunzTarPerm modified mode [ ‘lib/client.js’, 420, 436 ] 386 silly gunzTarPerm extractEntry lib/scan.js 387 silly gunzTarPerm modified mode [ ‘lib/scan.js’, 420, 436 ] 388 silly gunzTarPerm extractEntry lib/aerospike_error.js 389 silly gunzTarPerm modified mode [ ‘lib/aerospike_error.js’, 420, 436 ] 390 silly gentlyRm /opt/projects/testproj/node_modules/.staging/nan-6f85efe0/node_modules is being purged 391 verbose gentlyRm don’t care about contents; nuking /opt/projects/testproj/node_modules/.staging/nan-6f85efe0/node_modules 392 silly gunzTarPerm extractEntry lib/utils.js 393 silly gunzTarPerm modified mode [ ‘lib/utils.js’, 420, 436 ] 394 silly gunzTarPerm extractEntry lib/info.js 395 silly gunzTarPerm modified mode [ ‘lib/info.js’, 420, 436 ] 396 silly gunzTarPerm extractEntry src/include/async.h 397 silly gunzTarPerm modified mode [ ‘src/include/async.h’, 420, 436 ] 398 silly gunzTarPerm extractEntry src/include/client.h 399 silly gunzTarPerm modified mode [ ‘src/include/client.h’, 420, 436 ] 400 silly gunzTarPerm extractEntry src/include/conversions.h 401 silly gunzTarPerm modified mode [ ‘src/include/conversions.h’, 420, 436 ] 402 silly gunzTarPerm extractEntry src/include/enums.h 403 silly gunzTarPerm modified mode [ ‘src/include/enums.h’, 420, 436 ] 404 silly gunzTarPerm extractEntry src/include/log.h 405 silly gunzTarPerm modified mode [ ‘src/include/log.h’, 420, 436 ] 406 silly gunzTarPerm extractEntry src/include/query.h 407 silly gunzTarPerm modified mode [ ‘src/include/query.h’, 420, 436 ] 408 silly gunzTarPerm extractEntry src/include/scan.h 409 silly gunzTarPerm modified mode [ ‘src/include/scan.h’, 420, 436 ] 410 silly gunzTarPerm extractEntry src/main/aerospike.cc 411 silly gunzTarPerm modified mode [ ‘src/main/aerospike.cc’, 420, 436 ] 412 silly gunzTarPerm extractEntry src/main/async.cc 413 silly gunzTarPerm modified mode [ ‘src/main/async.cc’, 420, 436 ] 414 silly gunzTarPerm extractEntry src/main/client/operate_async.cc 415 silly gunzTarPerm modified mode [ ‘src/main/client/operate_async.cc’, 420, 436 ] 416 silly gunzTarPerm extractEntry src/main/client/apply_async.cc 417 silly gunzTarPerm modified mode [ ‘src/main/client/apply_async.cc’, 420, 436 ] 418 silly gunzTarPerm extractEntry src/main/client/batch_get.cc 419 silly gunzTarPerm modified mode [ ‘src/main/client/batch_get.cc’, 420, 436 ] 420 silly gunzTarPerm extractEntry src/main/client/batch_read_async.cc 421 silly gunzTarPerm modified mode [ ‘src/main/client/batch_read_async.cc’, 420, 436 ] 422 silly gunzTarPerm extractEntry src/main/client/batch_select.cc 423 silly gunzTarPerm modified mode [ ‘src/main/client/batch_select.cc’, 420, 436 ] 424 silly gunzTarPerm extractEntry src/main/client/cluster.cc 425 silly gunzTarPerm modified mode [ ‘src/main/client/cluster.cc’, 420, 436 ] 426 silly gunzTarPerm extractEntry src/main/client/exists_async.cc 427 silly gunzTarPerm modified mode [ ‘src/main/client/exists_async.cc’, 420, 436 ] 428 silly gunzTarPerm extractEntry src/main/client/get_async.cc 429 silly gunzTarPerm modified mode [ ‘src/main/client/get_async.cc’, 420, 436 ] 430 silly gunzTarPerm extractEntry src/main/client/index_create.cc 431 silly gunzTarPerm modified mode [ ‘src/main/client/index_create.cc’, 420, 436 ] 432 silly gunzTarPerm extractEntry src/main/client/index_remove.cc 433 silly gunzTarPerm modified mode [ ‘src/main/client/index_remove.cc’, 420, 436 ] 434 silly gunzTarPerm extractEntry src/main/client/info.cc 435 silly gunzTarPerm modified mode [ ‘src/main/client/info.cc’, 420, 436 ] 436 silly gunzTarPerm extractEntry src/main/client/job_info.cc 437 silly gunzTarPerm modified mode [ ‘src/main/client/job_info.cc’, 420, 436 ] 438 silly gunzTarPerm extractEntry src/main/client/batch_exists.cc 439 silly gunzTarPerm modified mode [ ‘src/main/client/batch_exists.cc’, 420, 436 ] 440 silly gunzTarPerm extractEntry src/main/client/put_async.cc 441 silly gunzTarPerm modified mode [ ‘src/main/client/put_async.cc’, 420, 436 ] 442 silly gunzTarPerm extractEntry src/main/client/query_apply.cc 443 silly gunzTarPerm modified mode [ ‘src/main/client/query_apply.cc’, 420, 436 ] 444 silly gunzTarPerm extractEntry src/main/client/query_async.cc 445 silly gunzTarPerm modified mode [ ‘src/main/client/query_async.cc’, 420, 436 ] 446 silly gunzTarPerm extractEntry src/main/client/query_background.cc 447 silly gunzTarPerm modified mode [ ‘src/main/client/query_background.cc’, 420, 436 ] 448 silly gunzTarPerm extractEntry src/main/client/remove_async.cc 449 silly gunzTarPerm modified mode [ ‘src/main/client/remove_async.cc’, 420, 436 ] 450 silly gunzTarPerm extractEntry src/main/client/scan_async.cc 451 silly gunzTarPerm modified mode [ ‘src/main/client/scan_async.cc’, 420, 436 ] 452 silly gunzTarPerm extractEntry src/main/client/scan_background.cc 453 silly gunzTarPerm modified mode [ ‘src/main/client/scan_background.cc’, 420, 436 ] 454 silly gunzTarPerm extractEntry src/main/client/select_async.cc 455 silly gunzTarPerm modified mode [ ‘src/main/client/select_async.cc’, 420, 436 ] 456 silly gunzTarPerm extractEntry src/main/client/udf_register.cc 457 silly gunzTarPerm modified mode [ ‘src/main/client/udf_register.cc’, 420, 436 ] 458 silly gunzTarPerm extractEntry src/main/client/udf_register_wait.cc 459 silly gunzTarPerm modified mode [ ‘src/main/client/udf_register_wait.cc’, 420, 436 ] 460 silly gunzTarPerm extractEntry src/main/client/udf_remove.cc 461 silly gunzTarPerm modified mode [ ‘src/main/client/udf_remove.cc’, 420, 436 ] 462 silly gunzTarPerm extractEntry src/main/client.cc 463 silly gunzTarPerm modified mode [ ‘src/main/client.cc’, 420, 436 ] 464 silly gunzTarPerm extractEntry src/main/enums/index.cc 465 silly gunzTarPerm modified mode [ ‘src/main/enums/index.cc’, 420, 436 ] 466 silly gunzTarPerm extractEntry src/main/enums/job_status.cc 467 silly gunzTarPerm modified mode [ ‘src/main/enums/job_status.cc’, 420, 436 ] 468 silly gunzTarPerm extractEntry src/main/enums/log.cc 469 silly gunzTarPerm modified mode [ ‘src/main/enums/log.cc’, 420, 436 ] 470 silly gunzTarPerm extractEntry src/main/enums/operations.cc 471 silly gunzTarPerm modified mode [ ‘src/main/enums/operations.cc’, 420, 436 ] 472 silly gunzTarPerm extractEntry src/main/enums/policy.cc 473 silly gunzTarPerm modified mode [ ‘src/main/enums/policy.cc’, 420, 436 ] 474 silly gunzTarPerm extractEntry src/main/enums/predicates.cc 475 silly gunzTarPerm modified mode [ ‘src/main/enums/predicates.cc’, 420, 436 ] 476 silly gunzTarPerm extractEntry src/main/enums/scanPriority.cc 477 silly gunzTarPerm modified mode [ ‘src/main/enums/scanPriority.cc’, 420, 436 ] 478 silly gunzTarPerm extractEntry src/main/enums/status.cc 479 silly gunzTarPerm modified mode [ ‘src/main/enums/status.cc’, 420, 436 ] 480 silly gunzTarPerm extractEntry src/main/enums/udf_languages.cc 481 silly gunzTarPerm modified mode [ ‘src/main/enums/udf_languages.cc’, 420, 436 ] 482 silly gunzTarPerm extractEntry src/main/query.cc 483 silly gunzTarPerm modified mode [ ‘src/main/query.cc’, 420, 436 ] 484 silly gunzTarPerm extractEntry src/main/scan.cc 485 silly gunzTarPerm modified mode [ ‘src/main/scan.cc’, 420, 436 ] 486 silly gunzTarPerm extractEntry src/main/util/conversions.cc 487 silly gunzTarPerm modified mode [ ‘src/main/util/conversions.cc’, 420, 436 ] 488 silly gunzTarPerm extractEntry src/main/util/log.cc 489 silly gunzTarPerm modified mode [ ‘src/main/util/log.cc’, 420, 436 ] 490 silly gunzTarPerm extractEntry .travis/aerospike.conf 491 silly gunzTarPerm modified mode [ ‘.travis/aerospike.conf’, 420, 436 ] 492 silly gunzTarPerm extractEntry scripts/aerospike-client-c.sh 493 silly gunzTarPerm modified mode [ ‘scripts/aerospike-client-c.sh’, 493, 509 ] 494 silly gunzTarPerm extractEntry scripts/build_apidocs 495 silly gunzTarPerm modified mode [ ‘scripts/build_apidocs’, 493, 509 ] 496 silly gunzTarPerm extractEntry scripts/shuffle_tests 497 silly gunzTarPerm modified mode [ ‘scripts/shuffle_tests’, 493, 509 ] 498 silly gunzTarPerm extractEntry scripts/wait-for-node.sh 499 silly gunzTarPerm modified mode [ ‘scripts/wait-for-node.sh’, 493, 509 ] 500 silly gunzTarPerm extractEntry scripts/watch_tests 501 silly gunzTarPerm modified mode [ ‘scripts/watch_tests’, 493, 509 ] 502 silly gunzTarPerm extractEntry test/README.md 503 silly gunzTarPerm modified mode [ ‘test/README.md’, 420, 436 ] 504 silly gunzTarPerm extractEntry test/double.js 505 silly gunzTarPerm modified mode [ ‘test/double.js’, 420, 436 ] 506 silly gunzTarPerm extractEntry test/error.js 507 silly gunzTarPerm modified mode [ ‘test/error.js’, 420, 436 ] 508 silly gunzTarPerm extractEntry test/exists.js 509 silly gunzTarPerm modified mode [ ‘test/exists.js’, 420, 436 ] 510 silly gunzTarPerm extractEntry test/udf_remove.js 511 silly gunzTarPerm modified mode [ ‘test/udf_remove.js’, 420, 436 ] 512 silly gunzTarPerm extractEntry test/client.js 513 silly gunzTarPerm modified mode [ ‘test/client.js’, 420, 436 ] 514 silly gunzTarPerm extractEntry test/aerospike.js 515 silly gunzTarPerm modified mode [ ‘test/aerospike.js’, 420, 436 ] 516 silly gunzTarPerm extractEntry test/index.js 517 silly gunzTarPerm modified mode [ ‘test/index.js’, 420, 436 ] 518 silly gunzTarPerm extractEntry test/info.js 519 silly gunzTarPerm modified mode [ ‘test/info.js’, 420, 436 ] 520 silly gunzTarPerm extractEntry test/llist.js 521 silly gunzTarPerm modified mode [ ‘test/llist.js’, 420, 436 ] 522 silly gunzTarPerm extractEntry test/operate.js 523 silly gunzTarPerm modified mode [ ‘test/operate.js’, 420, 436 ] 524 silly gunzTarPerm extractEntry test/cdt_ops.js 525 silly gunzTarPerm modified mode [ ‘test/cdt_ops.js’, 420, 436 ] 526 silly gunzTarPerm extractEntry test/put.js 527 silly gunzTarPerm modified mode [ ‘test/put.js’, 420, 436 ] 528 silly gunzTarPerm extractEntry test/callback_handler.js 529 silly gunzTarPerm modified mode [ ‘test/callback_handler.js’, 420, 436 ] 530 silly gunzTarPerm extractEntry test/query.js 531 silly gunzTarPerm modified mode [ ‘test/query.js’, 420, 436 ] 532 silly gunzTarPerm extractEntry test/batch_select.js 533 silly gunzTarPerm modified mode [ ‘test/batch_select.js’, 420, 436 ] 534 silly gunzTarPerm extractEntry test/remove.js 535 silly gunzTarPerm modified mode [ ‘test/remove.js’, 420, 436 ] 536 silly gunzTarPerm extractEntry test/batch_read.js 537 silly gunzTarPerm modified mode [ ‘test/batch_read.js’, 420, 436 ] 538 silly gunzTarPerm extractEntry test/scan.js 539 silly gunzTarPerm modified mode [ ‘test/scan.js’, 420, 436 ] 540 silly gunzTarPerm extractEntry test/batch_get.js 541 silly gunzTarPerm modified mode [ ‘test/batch_get.js’, 420, 436 ] 542 silly gunzTarPerm extractEntry test/select.js 543 silly gunzTarPerm modified mode [ ‘test/select.js’, 420, 436 ] 544 silly gunzTarPerm extractEntry test/batch_exists.js 545 silly gunzTarPerm modified mode [ ‘test/batch_exists.js’, 420, 436 ] 546 silly gunzTarPerm extractEntry test/udf_register.js 547 silly gunzTarPerm modified mode [ ‘test/udf_register.js’, 420, 436 ] 548 silly gunzTarPerm extractEntry test/apply.js 549 silly gunzTarPerm modified mode [ ‘test/apply.js’, 420, 436 ] 550 silly gunzTarPerm extractEntry test/test_helper.js 551 silly gunzTarPerm modified mode [ ‘test/test_helper.js’, 420, 436 ] 552 silly gunzTarPerm extractEntry test/geojson.js 553 silly gunzTarPerm modified mode [ ‘test/geojson.js’, 420, 436 ] 554 silly gunzTarPerm extractEntry test/get.js 555 silly gunzTarPerm modified mode [ ‘test/get.js’, 420, 436 ] 556 silly gunzTarPerm extractEntry test/udf.lua 557 silly gunzTarPerm modified mode [ ‘test/udf.lua’, 420, 436 ] 558 silly gunzTarPerm extractEntry test/stress/perfdata.js 559 silly gunzTarPerm modified mode [ ‘test/stress/perfdata.js’, 420, 436 ] 560 silly gunzTarPerm extractEntry test/stress/query.js 561 silly gunzTarPerm modified mode [ ‘test/stress/query.js’, 420, 436 ] 562 silly gunzTarPerm extractEntry test/stress/scan.js 563 silly gunzTarPerm modified mode [ ‘test/stress/scan.js’, 420, 436 ] 564 silly gunzTarPerm extractEntry test/generators/key.js 565 silly gunzTarPerm modified mode [ ‘test/generators/key.js’, 420, 436 ] 566 silly gunzTarPerm extractEntry test/generators/metadata.js 567 silly gunzTarPerm modified mode [ ‘test/generators/metadata.js’, 420, 436 ] 568 silly gunzTarPerm extractEntry test/generators/put.js 569 silly gunzTarPerm modified mode [ ‘test/generators/put.js’, 420, 436 ] 570 silly gunzTarPerm extractEntry test/generators/record.js 571 silly gunzTarPerm modified mode [ ‘test/generators/record.js’, 420, 436 ] 572 silly gunzTarPerm extractEntry test/generators/util.js 573 silly gunzTarPerm modified mode [ ‘test/generators/util.js’, 420, 436 ] 574 silly gunzTarPerm extractEntry test/generators/value.js 575 silly gunzTarPerm modified mode [ ‘test/generators/value.js’, 420, 436 ] 576 silly gunzTarPerm extractEntry test/util/options.js 577 silly gunzTarPerm modified mode [ ‘test/util/options.js’, 420, 436 ] 578 silly gentlyRm /opt/projects/testproj/node_modules/.staging/aerospike-85c985db/node_modules is being purged 579 verbose gentlyRm don’t care about contents; nuking /opt/projects/testproj/node_modules/.staging/aerospike-85c985db/node_modules 580 silly doParallel preinstall 2 581 silly preinstall nan@2.3.5 /opt/projects/testproj/node_modules/.staging/nan-6f85efe0 582 info lifecycle nan@2.3.5~preinstall: nan@2.3.5 583 silly preinstall aerospike@2.0.4 /opt/projects/testproj/node_modules/.staging/aerospike-85c985db 584 info lifecycle aerospike@2.0.4~preinstall: aerospike@2.0.4 585 silly lifecycle nan@2.3.5~preinstall: no script for preinstall, continuing 586 silly lifecycle aerospike@2.0.4~preinstall: no script for preinstall, continuing 587 silly doReverseSerial remove 0 588 silly doSerial move 0 589 silly doSerial finalize 2 590 silly finalize /opt/projects/testproj/node_modules/nan 591 silly finalize /opt/projects/testproj/node_modules/aerospike 592 silly doSerial build 2 593 silly build nan@2.3.5 594 info linkStuff nan@2.3.5 595 silly linkStuff nan@2.3.5 has /opt/projects/testproj/node_modules as its parent node_modules 596 verbose linkBins nan@2.3.5 597 verbose linkMans nan@2.3.5 598 silly build aerospike@2.0.4 599 info linkStuff aerospike@2.0.4 600 silly linkStuff aerospike@2.0.4 has /opt/projects/testproj/node_modules as its parent node_modules 601 verbose linkBins aerospike@2.0.4 602 verbose linkMans aerospike@2.0.4 603 silly doSerial global-link 0 604 silly doParallel update-linked 0 605 silly doSerial install 2 606 silly install nan@2.3.5 /opt/projects/testproj/node_modules/.staging/nan-6f85efe0 607 info lifecycle nan@2.3.5~install: nan@2.3.5 608 silly lifecycle nan@2.3.5~install: no script for install, continuing 609 silly install aerospike@2.0.4 /opt/projects/testproj/node_modules/.staging/aerospike-85c985db 610 info lifecycle aerospike@2.0.4~install: aerospike@2.0.4 611 verbose lifecycle aerospike@2.0.4~install: unsafe-perm in lifecycle true 612 verbose lifecycle aerospike@2.0.4~install: PATH: /opt/node-v5.12.0-linux-x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/projects/testproj/node_modules/aerospike/node_modules/.bin:/opt/projects/testproj/node_modules/.bin:/opt/node-v5.12.0-linux-x64/bin:/opt/node-v5.12.0-linux-x64/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games 613 verbose lifecycle aerospike@2.0.4~install: CWD: /opt/projects/testproj/node_modules/aerospike 614 silly lifecycle aerospike@2.0.4~install: Args: [ ‘-c’, ‘node-gyp rebuild’ ] 615 silly lifecycle aerospike@2.0.4~install: Returned: code: 1 signal: null 616 info lifecycle aerospike@2.0.4~install: Failed to exec install script 617 verbose unlock done using /home/sugandha/.npm/_locks/staging-07dddb81fe39d8dd.lock for /opt/projects/testproj/node_modules/.staging 618 silly rollbackFailedOptional Starting 619 silly rollbackFailedOptional Finishing 620 silly runTopLevelLifecycles Starting 621 silly runTopLevelLifecycles Finishing 622 silly install printInstalled 623 warn aerospike-node-express-seed-app@0.0.0-1 No description 624 warn aerospike-node-express-seed-app@0.0.0-1 No repository field. 625 warn aerospike-node-express-seed-app@0.0.0-1 No license field. 626 verbose stack Error: aerospike@2.0.4 install: node-gyp rebuild 626 verbose stack Exit status 1 626 verbose stack at EventEmitter. (/opt/node-v5.12.0-linux-x64/lib/node_modules/npm/lib/utils/lifecycle.js:239:16) 626 verbose stack at emitTwo (events.js:100:13) 626 verbose stack at EventEmitter.emit (events.js:185:7) 626 verbose stack at ChildProcess. (/opt/node-v5.12.0-linux-x64/lib/node_modules/npm/lib/utils/spawn.js:24:14) 626 verbose stack at emitTwo (events.js:100:13) 626 verbose stack at ChildProcess.emit (events.js:185:7) 626 verbose stack at maybeClose (internal/child_process.js:850:16) 626 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5) 627 verbose pkgid aerospike@2.0.4 628 verbose cwd /opt/projects/testproj 629 error Linux 3.13.0-32-generic 630 error argv “/opt/node-v5.12.0-linux-x64/bin/node” “/opt/node-v5.12.0-linux-x64/bin/npm” “install” 631 error node v5.12.0 632 error npm v3.8.6 633 error code ELIFECYCLE 634 error aerospike@2.0.4 install: node-gyp rebuild 634 error Exit status 1 635 error Failed at the aerospike@2.0.4 install script ‘node-gyp rebuild’. 635 error Make sure you have the latest version of node.js and npm installed. 635 error If you do, this is most likely a problem with the aerospike package, 635 error not with npm itself. 635 error Tell the author that this fails on your system: 635 error node-gyp rebuild 635 error You can get information on how to open an issue for this project with: 635 error npm bugs aerospike 635 error Or if that isn’t available, you can get their info via: 635 error npm owner ls aerospike 635 error There is likely additional logging output above. 636 verbose exit [ 1, true ]

Hmm, npm doesn’t capture the output of the node-gyp rebuild command, unfortunately. Can you change into the node_modules/aerospike directory, run node-gyp rebuild manually and then report back what error (if any) that command produces? If node-gyp is not on your path, you should be able to find it under /usr/lib/node_modules/npm/bin/node-gyp-bin/.

 $ cd /opt/projects/testproj/node_modules/aerospike
 $ /usr/lib/node_modules/npm/bin/node-gyp-bin/node-gyp rebuild

As an aside – and I’m not sure it’s relevant – I’ve noticed that you are using Node v5.12 even though you were earlier showing the steps where you installed Node v6 on your system.

I have tried with Nodejs 5//6/7.

In ubuntu 12 and 16 :

It did not create aerospike folder

cd /opt/projects/testproj/node_modules/aerospike.

I added node-gyp to the path. I removed node 5 and installed node 6.

npm ERR! Linux 3.13.0-32-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE

npm ERR! aerospike@2.4.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the aerospike@2.4.1 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 aerospike 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 aerospike
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls aerospike
npm ERR! There is likely additional logging output above.

In Centos 6.4

Same error. Screenshot below.

So, today after a week of hard work I found the problem to be with gcc compiler. Today I update gcc on freshly installed ubuntu 12 and everything went fine:

  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  - sudo apt-get update
  - sudo apt-get install gcc-5 g++-5
  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 80 --slave /usr/bin/g++ g++ /usr/bin/g++-5
  - sudo update-alternatives --set gcc /usr/bin/gcc-5

similar issue

Not working with Ubuntu 16/17. It will work only with Ubuntu 16.04 because as of now it can download only specific aerospike C compiler for that version.

Hi @kitex, thanks for reporting back!

The outdated gcc tool chain on Ubuntu 12.04 is a known issue and documented in the Readme. Ubuntu 16.04 should be ok. I’ll have to look into 16.10, since we haven’t tested on that release yet. And as you noted there is no official release of the Aerospike C client library for 16.10 yet. I would be a bit surprised, though, if the package compiled for 16.04 is incompatible with 16.10. But I’ll need to verify that.

Cheers, Jan

Hi,

I am facing a similar issue. I have initiated a new AWS EC2 Ubuntu 18.04 instance. On that instance, I have installed nodejs version 12.14.0, using the similar steps that Kitex mentioned.

I have my nodejs code, where I want to install the latest aerospike nodejs client library. node --version

v12.14.0

npm --version

6.13.4

For installing aerospike client nodejs library, I run following command: npm i aerospike --save I tried to install all the packages, but in the end it errors out like this:

/usr/bin/ld: cannot find -lz

/usr/bin/ld: cannot find -lssl

collect2: error: ld returned 1 exit status

aerospike.target.mk:212: recipe for target ‘Release/obj.target/aerospike.node’ failed

make: *** [Release/obj.target/aerospike.node] Error 1

rm ebf8c619d512e7a1a724a0ecb06ec5eec50df7dc.intermediate

make: Leaving directory ‘/home/ubuntu/mnt/canvasproject/canvas.services/node_modules/aerospike/build’

gyp ERR! build error

gyp ERR! stack Error: make failed with exit code: 2

gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)

gyp ERR! stack at ChildProcess.emit (events.js:210:5)

gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)

gyp ERR! System Linux 4.15.0-1056-aws

gyp ERR! command “/usr/bin/node” “/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”

gyp ERR! cwd /home/ubuntu/mnt/canvasproject/canvas.services/node_modules/aerospike

gyp ERR! node -v v12.14.0

gyp ERR! node-gyp -v v5.0.5

gyp ERR! not ok

npm WARN The package mocha is included as both a dev and production dependency.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! aerospike@3.13.0 install: node-gyp rebuild

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the aerospike@3.13.0 install script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

npm ERR! /home/ubuntu/.npm/_logs/2020-01-01T11_39_27_097Z-debug.log

I looked at debug log:

792 warn The package mocha is included as both a dev and production dependency.

793 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/fsevents):

794 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})

795 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin

795 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any

795 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: linux

795 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64

796 verbose stack Error: aerospike@3.13.0 install: node-gyp rebuild

796 verbose stack Exit status 1

796 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)

796 verbose stack at EventEmitter.emit (events.js:210:5)

796 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)

796 verbose stack at ChildProcess.emit (events.js:210:5)

796 verbose stack at maybeClose (internal/child_process.js:1021:16)

796 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

797 verbose pkgid aerospike@3.13.0

798 verbose cwd /home/ubuntu/mnt/canvasproject/canvas.services

799 verbose Linux 4.15.0-1056-aws

800 verbose argv “/usr/bin/node” “/usr/bin/npm” “i” “aerospike” “–save”

801 verbose node v12.14.0

802 verbose npm v6.13.4

803 error code ELIFECYCLE

804 error errno 1

805 error aerospike@3.13.0 install: node-gyp rebuild

805 error Exit status 1

806 error Failed at the aerospike@3.13.0 install script.

806 error This is probably not a problem with npm. There is likely additional logging output above.

807 verbose exit [ 1, true ]

I checked the packages like build-essentials are already there. I reinstalled it as well. I tried restarting the machine as well. But didn’t help. Can somebody help me with this issue?

Please check the Prerequisites section in the client readme. You need to install the the libssl and libz libraries:

sudo apt-get install g++ libssl1.0.0 libssl-dev libz-dev

Thanks Jan, It worked…