aerospike / aerospike-client-nodejs

Node.js client for the Aerospike database
https://www.aerospike.com/
Apache License 2.0
200 stars 78 forks source link

Unable to install aerospike with nexus3 #580

Closed puneet21081990 closed 9 months ago

puneet21081990 commented 1 year ago

OS: docker nodejs 18:12 Nodejs: 18.12 Npm version: 8.19.2

Hi, I am using the proxied Nexus repository to install npm packages. When I try installing the Aerospike package, it shows an error of 401 or 400. My all packages all working fine able to download from the nexus3 repository, but this package giving an error. Can you please help me out with this?

Note: Nexus3 does not support audit but I am giving --no-audit already

Installing Method:

root@64c45e5b69ac:/usr/src/app# npm install aerospike --no-audit --verbose
npm verb cli /usr/local/bin/node /usr/local/bin/npm
npm info using npm@8.19.2
npm info using node@v18.12.0
npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 2ms
npm timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms
npm timing config:load:builtin Completed in 1ms
npm timing config:load:cli Completed in 3ms
npm timing config:load:env Completed in 2ms
npm timing config:load:file:/usr/src/app/.npmrc Completed in 2ms

Output:

npm ERR! npm timing reify:loadBundles Completed in 0ms
npm ERR! npm verb reify failed optional dependency /usr/src/app/node_modules/aerospike/node_modules/fsevents
npm ERR! npm timing reifyNode:node_modules/fsevents Completed in 119ms
npm ERR! npm http fetch POST 404 http://nexus-ip:8081/repository/npm-stage-public/-/npm/v1/security/advisories/bulk 200ms
npm ERR! npm http fetch POST 400 http://nexus-ip:8081/repository/npm-stage-public/-/npm/v1/security/audits/quick 85ms
npm ERR! npm verb audit error HttpErrorGeneral: 400 Bad Request - POST http://nexus-ip:8081/repository/npm-stage-public/-/npm/v1/security/audits/quick
npm ERR! npm verb audit error     at /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js:95:15
npm ERR! npm verb audit error     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
npm ERR! npm verb audit error     at async [getReport] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js:335:21)
npm ERR! npm verb audit error     at async AuditReport.run (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js:106:19)
npm ERR! npm verb audit error  HttpErrorGeneral: 400 Bad Request - POST http://nexus-ip:8081/repository/npm-stage-public/-/npm/v1/security/audits/quick
npm ERR! npm verb audit error     at /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js:95:15
npm ERR! npm verb audit error     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
npm ERR! npm verb audit error     at async [getReport] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js:335:21)
npm ERR! npm verb audit error     at async AuditReport.run (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js:106:19) {
npm ERR! npm verb audit error   headers: [Object: null prototype] {
npm ERR! npm verb audit error     date: [ 'Thu, 21 Sep 2023 13:29:28 GMT' ],
npm ERR! npm verb audit error     server: [ 'Nexus/3.54.1-01 (OSS)' ],
npm ERR! npm verb audit error     'x-content-type-options': [ 'nosniff' ],
npm ERR! npm verb audit error     'content-security-policy': [
npm ERR! npm verb audit error       'sandbox allow-forms allow-modals allow-popups allow-presentation allow-scripts allow-top-navigation'
npm ERR! npm verb audit error     ],
npm ERR! npm verb audit error     'x-xss-protection': [ '1; mode=block' ],
npm ERR! npm verb audit error     'content-type': [ 'application/json' ],
npm ERR! npm verb audit error     'content-length': [ '228' ],
npm ERR! npm verb audit error     'x-fetch-attempts': [ '1' ]
npm ERR! npm verb audit error   },
npm ERR! npm verb audit error   statusCode: 400,
npm ERR! npm verb audit error   code: 'E400',
npm ERR! npm verb audit error   method: 'POST',
npm ERR! npm verb audit error   uri: 'http://nexus-ip:8081/repository/npm-stage-public/-/npm/v1/security/audits/quick',
npm ERR! npm verb audit error   body: <Buffer 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ... 178 more bytes>,
npm ERR! npm verb audit error   pkgid: 'quick'
npm ERR! npm verb audit error }
npm ERR! npm timing auditReport:getReport Completed in 461ms
npm ERR! npm timing reify:audit Completed in 461ms
npm ERR! npm verb stack Error: write EPIPE
npm ERR! npm verb stack     at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)
npm ERR! npm verb cwd /usr/src/app/node_modules/aerospike
npm ERR! npm verb Linux 5.10.149-133.644.amzn2.x86_64
npm ERR! npm verb node v18.12.0
npm ERR! npm verb npm  v8.19.2
npm ERR! npm ERR! code EPIPE
npm ERR! npm ERR! syscall write
npm ERR! npm ERR! errno -32
npm ERR! npm ERR! write EPIPE
npm ERR! npm verb exit -32
DomPeliniAerospike commented 1 year ago

Hi @puneet21081990, The 400 (bad request) and 401 (Unauthorized response) indicates a networking issue. We had an issue today with the link to our NPM repository not loading. Since we have also been having issues, NPM is likely at fault. However, this issue seems to have been fixed for us today. I would suggest attempting the install again and if this is still occurring, let me know, and we can attempt to explore other avenues to resolve this situation.

puneet21081990 commented 1 year ago

Hi @DomPeliniAerospike , Thanks for replying.

It's not working for me. I am able to download all packages from my private proxied repository but this is giving me 401. Please help me in this. Logs:

root@97c0efc24733:/usr/src/app# npm install aerospike --no-audit
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'amqplib@0.5.6',
npm WARN EBADENGINE   required: { node: '>=0.8 <=12' },
npm WARN EBADENGINE   current: { node: 'v18.12.0', npm: '8.19.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'opossum@6.3.0',
npm WARN EBADENGINE   required: { node: '^16 || ^14 || ^12' },
npm WARN EBADENGINE   current: { node: 'v18.12.0', npm: '8.19.2' }
npm WARN EBADENGINE }
npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm notice 
npm notice New major version of npm available! 8.19.2 -> 10.1.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.1.0
npm notice Run npm install -g npm@10.1.0 to update!
npm notice 
npm ERR! code 1
npm ERR! path /usr/src/app/node_modules/aerospike
npm ERR! command failed
npm ERR! command sh -c -- npm install @mapbox/node-pre-gyp
npm ERR! npm ERR! code E401
npm ERR! npm ERR! Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager"
npm ERR! 
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     /root/.npm/_logs/2023-09-23T14_16_25_031Z-debug-0.log

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-09-23T14_16_02_216Z-debug-0.log

Detailed logs:

npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/safe-buffer 8ms (cache hit)
npm ERR! npm timing idealTree:node_modules/readable-stream Completed in 13ms
npm ERR! npm timing idealTree:node_modules/retry Completed in 0ms
npm ERR! npm timing idealTree:node_modules/semver Completed in 0ms
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/smart-buffer 6ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/ip 9ms (cache hit)
npm ERR! npm timing idealTree:node_modules/socks-proxy-agent Completed in 26ms
npm ERR! npm timing idealTree:node_modules/socks Completed in 4ms
npm ERR! npm timing idealTree:node_modules/ip Completed in 0ms
npm ERR! npm timing idealTree:node_modules/smart-buffer Completed in 1ms
npm ERR! npm timing idealTree:node_modules/ssri Completed in 0ms
npm ERR! npm timing idealTree:node_modules/standard Completed in 0ms
npm ERR! npm timing idealTree:node_modules/string_decoder Completed in 3ms
npm ERR! npm timing idealTree:node_modules/safe-buffer Completed in 0ms
npm ERR! npm timing idealTree:node_modules/tar Completed in 7ms
npm ERR! npm timing idealTree:node_modules/tmp Completed in 0ms
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/imurmurhash 3ms (cache skip)
npm ERR! npm timing idealTree:node_modules/unique-filename Completed in 9ms
npm ERR! npm timing idealTree:node_modules/unique-slug Completed in 1ms
npm ERR! npm timing idealTree:node_modules/yallist Completed in 0ms
npm ERR! npm timing idealTree:node_modules/yargs Completed in 1ms
npm ERR! npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/https-proxy-agent Completed in 0ms
npm ERR! npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/make-dir Completed in 0ms
npm ERR! npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/node-fetch Completed in 0ms
npm ERR! npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/rimraf Completed in 0ms
npm ERR! npm timing idealTree:node_modules/@npmcli/move-file/node_modules/rimraf Completed in 0ms
npm ERR! npm timing idealTree:node_modules/are-we-there-yet/node_modules/delegates Completed in 0ms
npm ERR! npm timing idealTree:node_modules/cacache/node_modules/glob Completed in 0ms
npm ERR! npm timing idealTree:node_modules/cacache/node_modules/rimraf Completed in 0ms
npm ERR! npm timing idealTree:node_modules/gauge/node_modules/aproba Completed in 0ms
npm ERR! npm timing idealTree:node_modules/gauge/node_modules/console-control-strings Completed in 0ms
npm ERR! npm timing idealTree:node_modules/gauge/node_modules/has-unicode Completed in 0ms
npm ERR! npm timing idealTree:node_modules/gauge/node_modules/object-assign Completed in 0ms
npm ERR! npm timing idealTree:node_modules/gauge/node_modules/signal-exit Completed in 0ms
npm ERR! npm timing idealTree:node_modules/gauge/node_modules/string-width Completed in 0ms
npm ERR! npm timing idealTree:node_modules/gauge/node_modules/strip-ansi Completed in 0ms
npm ERR! npm timing idealTree:node_modules/gauge/node_modules/wide-align Completed in 0ms
npm ERR! npm timing idealTree:node_modules/http-proxy-agent/node_modules/agent-base Completed in 0ms
npm ERR! npm timing idealTree:node_modules/http-proxy-agent/node_modules/debug Completed in 0ms
npm ERR! npm timing idealTree:node_modules/humanize-ms/node_modules/ms Completed in 0ms
npm ERR! npm timing idealTree:node_modules/iconv-lite/node_modules/safer-buffer Completed in 0ms
npm ERR! npm timing idealTree:node_modules/make-fetch-happen/node_modules/https-proxy-agent Completed in 0ms
npm ERR! npm timing idealTree:node_modules/make-fetch-happen/node_modules/negotiator Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/glob Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/graceful-fs Completed in 0ms
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/signal-exit 5ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/wide-align 5ms (cache skip)
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/npmlog Completed in 15ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/are-we-there-yet Completed in 2ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge Completed in 6ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/rimraf Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/which Completed in 0ms
npm ERR! npm timing idealTree:node_modules/npmlog/node_modules/console-control-strings Completed in 0ms
npm ERR! npm timing idealTree:node_modules/npmlog/node_modules/set-blocking Completed in 0ms
npm ERR! npm timing idealTree:node_modules/p-map/node_modules/aggregate-error Completed in 0ms
npm ERR! npm timing idealTree:node_modules/readable-stream/node_modules/inherits Completed in 0ms
npm ERR! npm timing idealTree:node_modules/readable-stream/node_modules/util-deprecate Completed in 0ms
npm ERR! npm timing idealTree:node_modules/socks-proxy-agent/node_modules/agent-base Completed in 0ms
npm ERR! npm timing idealTree:node_modules/socks-proxy-agent/node_modules/debug Completed in 0ms
npm ERR! npm timing idealTree:node_modules/tar/node_modules/minipass Completed in 0ms
npm ERR! npm timing idealTree:node_modules/unique-slug/node_modules/imurmurhash Completed in 1ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/are-we-there-yet/node_modules/delegates Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/aproba Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/console-control-strings Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/has-unicode Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/signal-exit Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/string-width Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/strip-ansi Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/wide-align Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/npmlog/node_modules/console-control-strings Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/npmlog/node_modules/set-blocking Completed in 0ms
npm ERR! npm timing idealTree:buildDeps Completed in 915ms
npm ERR! npm timing idealTree:fixDepFlags Completed in 2ms
npm ERR! npm timing idealTree Completed in 939ms
npm ERR! npm timing command:install Completed in 949ms
npm ERR! npm verb stack HttpErrorAuthUnknown: Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager"
npm ERR! npm verb stack     at /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js:80:17
npm ERR! npm verb stack     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
npm ERR! npm verb stack     at async RegistryFetcher.packument (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:92:19)
npm ERR! npm verb stack     at async RegistryFetcher.manifest (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:124:23)
npm ERR! npm verb stack     at async [nodeFromEdge] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1061:19)
npm ERR! npm verb stack     at async [buildDepStep] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:930:11)
npm ERR! npm verb stack     at async Arborist.buildIdealTree (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:211:7)
npm ERR! npm verb stack     at async Promise.all (index 1)
npm ERR! npm verb stack     at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:153:5)
npm ERR! npm verb stack     at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:145:5)
npm ERR! npm verb statusCode 401
npm ERR! npm verb pkgid @types/node@^17.0.45
npm ERR! npm verb cwd /usr/src/app/node_modules/aerospike
npm ERR! npm verb Linux 5.10.149-133.644.amzn2.x86_64
npm ERR! npm verb node v18.12.0
npm ERR! npm verb npm  v8.19.2
npm ERR! npm ERR! code E401
npm ERR! npm ERR! Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager"
npm ERR! npm verb exit 1
npm ERR! npm timing npm Completed in 1122ms
npm ERR! npm verb unfinished npm timer reify 1695478649480
npm ERR! npm verb unfinished npm timer reify:loadTrees 1695478649485
npm ERR! npm verb code 1
npm ERR! 
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     /root/.npm/_logs/2023-09-23T14_17_29_310Z-debug-0.log
npm verb exit 1
puneet21081990 commented 1 year ago

Hi @DomPeliniAerospike, any update on this? please help us with this.

DomPeliniAerospike commented 1 year ago

Hi @puneet21081990, Sorry for the late response. I was able to find a stack overflow link covering a similar error: https://stackoverflow.com/questions/66654166/cannot-install-npm-packages-from-sonatype-nexus-private-repository I would suggest adding the npm Bearer Token Realm as the referenced post states and trying the install again. If you have already done that, or it continues to fail after you do that, please let me know and I will continue searching for another solution promptly.

puneet21081990 commented 1 year ago

hi @DomPeliniAerospike , Thanks, but still it's not working for me. Below is the error. Followed that slacktrace also. I think it is going for auditing some package & nexus3 doesn't support audit but I am running command with --no-audit. please help me in this. my npmrc

save-exact=true
always-auth=true
registry=http://nexus-ip:8081/repository/npm-stage-public/
//nexus-ip:8081/repository/npm-stage-public/:_auth="<auth-token>"

Installation

root@bac5f1a71050:/usr/src/app# npm install aerospike --no-audit --verbose 
npm verb cli /usr/local/bin/node /usr/local/bin/npm
npm info using npm@8.19.2
npm info using node@v18.12.0
npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 2ms
npm timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms
npm timing config:load:builtin Completed in 1ms
npm timing config:load:cli Completed in 3ms
npm timing config:load:env Completed in 0ms
npm timing config:load:file:/usr/src/app/.npmrc Completed in 1ms
npm timing config:load:project Completed in 23ms
npm timing config:load:file:/root/.npmrc Completed in 0ms
npm timing config:load:user Completed in 0ms
npm timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
npm verb title npm install aerospike
npm verb argv "install" "aerospike" "--no-audit" "--loglevel" "verbose"
npm timing npm:load:setTitle Completed in 2ms
npm timing config:load:flatten Completed in 4ms
npm timing npm:load:display Completed in 11ms

Error:

npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/iconv-lite/-/iconv-lite-0.6.3.tgz 1137ms (cache miss)
npm timing reifyNode:node_modules/encoding/node_modules/iconv-lite Completed in 1256ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/node-gyp/-/node-gyp-8.4.1.tgz 1230ms (cache miss)
npm timing reifyNode:node_modules/node-gyp Completed in 1332ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/aerospike/-/aerospike-5.7.0.tgz 6396ms (cache miss)
npm timing reifyNode:node_modules/aerospike Completed in 6508ms
npm timing reify:unpack Completed in 6513ms
npm timing reify:unretire Completed in 1ms
npm timing build:queue Completed in 4ms
npm info run aerospike@5.7.0 preinstall node_modules/aerospike npm install @mapbox/node-pre-gyp
npm info run aerospike@5.7.0 preinstall { code: 1, signal: null }
npm timing reify:rollback:createSparse Completed in 311ms
npm timing reify:rollback:retireShallow Completed in 0ms
npm timing command:install Completed in 21110ms
npm notice 
npm notice New major version of npm available! 8.19.2 -> 10.1.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.1.0
npm notice Run npm install -g npm@10.1.0 to update!
npm notice 
npm verb stack Error: command failed
npm verb stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27)
npm verb stack     at ChildProcess.emit (node:events:513:28)
npm verb stack     at maybeClose (node:internal/child_process:1091:16)
npm verb stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm verb pkgid aerospike@5.7.0
npm verb cwd /usr/src/app
npm verb Linux 5.10.149-133.644.amzn2.x86_64
npm verb node v18.12.0
npm verb npm  v8.19.2
npm ERR! code 1
npm ERR! path /usr/src/app/node_modules/aerospike
npm ERR! command failed
npm ERR! command sh -c -- npm install @mapbox/node-pre-gyp
npm ERR! npm verb cli /usr/local/bin/node /usr/local/bin/npm
npm ERR! npm info using npm@8.19.2
npm ERR! npm info using node@v18.12.0

Detailed:

npm ERR! npm timing idealTree:node_modules/unique-slug/node_modules/imurmurhash Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/are-we-there-yet/node_modules/delegates Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/aproba Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/console-control-strings Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/has-unicode Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/signal-exit Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/string-width Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/strip-ansi Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/wide-align Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/npmlog/node_modules/console-control-strings Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/npmlog/node_modules/set-blocking Completed in 0ms
npm ERR! npm timing idealTree:buildDeps Completed in 1005ms
npm ERR! npm timing idealTree:fixDepFlags Completed in 2ms
npm ERR! npm timing idealTree Completed in 1025ms
npm ERR! npm timing command:install Completed in 1031ms
npm ERR! npm verb stack HttpErrorAuthUnknown: Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager"
npm ERR! npm verb stack     at /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js:80:17
npm ERR! npm verb stack     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
npm ERR! npm verb stack     at async RegistryFetcher.packument (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:92:19)
npm ERR! npm verb stack     at async RegistryFetcher.manifest (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:124:23)
npm ERR! npm verb stack     at async [nodeFromEdge] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1061:19)
npm ERR! npm verb stack     at async [buildDepStep] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:930:11)
npm ERR! npm verb stack     at async Arborist.buildIdealTree (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:211:7)
npm ERR! npm verb stack     at async Promise.all (index 1)
npm ERR! npm verb stack     at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:153:5)
npm ERR! npm verb stack     at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:145:5)
npm ERR! npm verb statusCode 401
npm ERR! npm verb pkgid @types/node@^17.0.45
npm ERR! npm verb cwd /usr/src/app/node_modules/aerospike
npm ERR! npm verb Linux 5.10.149-133.644.amzn2.x86_64
npm ERR! npm verb node v18.12.0
npm ERR! npm verb npm  v8.19.2
npm ERR! npm ERR! code E401
npm ERR! npm ERR! Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager"
npm ERR! npm verb exit 1
npm ERR! npm timing npm Completed in 1197ms
npm ERR! npm verb unfinished npm timer reify 1695704261660
npm ERR! npm verb unfinished npm timer reify:loadTrees 1695704261663
npm ERR! npm verb code 1
npm ERR! 
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     /root/.npm/_logs/2023-09-26T04_57_41_500Z-debug-0.log
npm verb exit 1
npm timing npm Completed in 21416ms
npm verb unfinished npm timer reify 1695704241929
npm verb unfinished npm timer reify:build 1695704261060
npm verb unfinished npm timer build 1695704261061
npm verb unfinished npm timer build:deps 1695704261062
npm verb unfinished npm timer build:run:preinstall 1695704261066
npm verb unfinished npm timer build:run:preinstall:node_modules/aerospike 1695704261067
npm verb code 1

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-09-26T04_57_21_651Z-debug-0.log
DomPeliniAerospike commented 1 year ago

Hi @puneet21081990,

Here are some things you can try:

  1. Delete your package-lock.json and attempt the install again
  2. Delete your node_modules folder, run npm install, then attempt the install again
  3. You may need to encode your nexus credential. See this post for information on this: Stackoverflow post
  4. If you haven't encoded your credential, You may need to change "//nexus-ip:8081/repository/npm-stage-public/:_auth="" to "//nexus-ip:8081/repository/npm-stage-public/:_authToken="" for correct authentication.
  5. You may have the wrong Nexus registry URL. See this post for information on this: Stackoverflow post
  6. Place "always-auth=true" after "//nexus-ip:8081/repository/npm-stage-public/:_authToken="" in your npmrc

If I had to guess, either your authentication token is not being encoded correctly, or npm is expected a regular auth token and receiving an encoded token (see solution #3 and #4). This stackoverflow post details some changes to how artifactory works with npmrc, and the solution is along the same lines as solutions #3 and #4.

It is not likely that this is an issue with the aerospike npm package. Rather, this is likely an issue with your nexus configuration or npm/npmrc configuration.

While I can and will continue to provide assistance if requested, I would suggest that a stack overflow or sonatype community post will be more effective in troubleshooting this issue. I have little experience with artifactories on NPM and no prior experience with Nexus repositories, and If none of the troubleshooting steps above remedy the issue, an experienced Nexus or artifcatory developer may provide more helpful insight.

Let me know if these solutions allow you to install the aerospike package, and if not, I can keep troubleshooting upon request.

puneet21081990 commented 1 year ago

hi @DomPeliniAerospike, Tried each of your steps nothing is working. In my package.json I have more than 200 npm packages. I am able to download all packages from nexus3 Also we have been using nexus3 for the past 6 months it's working fine, but with the Aerospike package, it's giving issues. It failed on this step defined below whereas working fine from npm.org. The only difference is that nexus3 does not support audit. npmrc

registry=http://nexus-ip:8081/repository/npm-stage-public/
//nexus-ip:8081/repository/npm-stage-public/:_authToken="authtoken"
always-auth=true
save-exact=true

Error on this step

npm info run aerospike@5.7.0 preinstall node_modules/aerospike npm install @mapbox/node-pre-gyp
npm info run aerospike@5.7.0 preinstall { code: 1, signal: null }
npm timing reify:rollback:createSparse Completed in 5627ms
npm timing reify:rollback:retireShallow Completed in 0ms
npm timing command:install Completed in 34810ms
npm verb stack Error: command failed
npm verb stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27)
npm verb stack     at ChildProcess.emit (node:events:513:28)
npm verb stack     at maybeClose (node:internal/child_process:1091:16)
npm verb stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm verb pkgid aerospike@5.7.0
npm verb cwd /usr/src/app
npm verb Linux 5.10.149-133.644.amzn2.x86_64
npm verb node v18.12.0
npm verb npm  v8.19.2
npm ERR! code 1
npm ERR! path /usr/src/app/node_modules/aerospike
npm ERR! command failed
npm ERR! command sh -c -- npm install @mapbox/node-pre-gyp
npm ERR! npm verb cli /usr/local/bin/node /usr/local/bin/npm
DomPeliniAerospike commented 1 year ago

Hi @puneet21081990 ,

Here are a couple more suggestions:

  1. Attempt running only npm install @mapbox/node-pre-gyp. If this fails, attempt running npm install @mapbox/node-pre-gyp --no-audit. If the install is successful, then we have found a solution. --no-audit is not passed the preinstall script, so that is likely why you are receiving an audit error.
  2. If possible, upgrade npm to the latest version with npm install -g npm@latest

Solution #1 is what I expect to remedy the situation. If this the case, I can release a fix within a day or two.

Sorry that this correspondence is taking so long, we might be in different time zones.

I have shifted my availability today, so if this does not solve your problem, I am available to discuss other solutions in a more timely manner. Thank you.

puneet21081990 commented 1 year ago

hi @DomPeliniAerospike ,

yes, it failed with the aerospike here are the logs, I think this aerospike has a dependency with this package & this package is failing with the aerospike. Sorry, I won't be able to upgrade the nodejs/npm. Can you please help or guide me on how to fix it?

Comamnd Run

root@bac5f1a71050:/usr/src/app# npm install @mapbox/node-pre-gyp --no-audit --verbose

Error Logs:

npm timing reifyNode:node_modules/sqs-consumer/node_modules/aws-sdk Completed in 22208ms
npm timing reifyNode:node_modules/aerospike Completed in 24247ms
npm timing reify:unpack Completed in 24279ms
npm timing reify:unretire Completed in 1ms
npm timing build:queue Completed in 54ms
npm info run aerospike@5.7.0 preinstall node_modules/aerospike npm install @mapbox/node-pre-gyp
npm info run aerospike@5.7.0 preinstall { code: 1, signal: null }
npm timing reify:rollback:createSparse Completed in 5748ms
npm timing reify:rollback:retireShallow Completed in 0ms
npm timing command:install Completed in 33980ms
npm verb stack Error: command failed
npm verb stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27)
npm verb stack     at ChildProcess.emit (node:events:513:28)
npm verb stack     at maybeClose (node:internal/child_process:1091:16)
npm verb stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm verb pkgid aerospike@5.7.0
npm verb cwd /usr/src/app
npm verb Linux 5.10.149-133.644.amzn2.x86_64
npm verb node v18.12.0
npm verb npm  v8.19.2
npm ERR! code 1
npm ERR! path /usr/src/app/node_modules/aerospike
npm ERR! command failed
npm ERR! command sh -c -- npm install @mapbox/node-pre-gyp
npm ERR! npm verb cli /usr/local/bin/node /usr/local/bin/npm
npm ERR! npm info using npm@8.19.2
npm ERR! npm info using node@v18.12.0
npm ERR! npm timing npm:load:whichnode Completed in 0ms
npm ERR! npm timing config:load:defaults Completed in 2ms
npm ERR! npm timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms
npm ERR! npm timing config:load:builtin Completed in 1ms
npm ERR! npm timing config:load:cli Completed in 2ms
npm ERR! npm timing config:load:env Completed in 1ms
npm ERR! npm timing config:load:file:/usr/src/app/node_modules/aerospike/.npmrc Completed in 1ms
npm ERR! npm timing config:load:project Completed in 21ms
npm ERR! npm timing config:load:file:/root/.npmrc Completed in 0ms
npm ERR! npm timing config:load:user Completed in 0ms
npm ERR! npm timing config:load:file:/usr/local/etc/npmrc Completed in 1ms
npm ERR! npm timing config:load:global Completed in 1ms
npm ERR! npm timing config:load:validate Completed in 2ms
npm ERR! npm timing config:load:credentials Completed in 2ms
DomPeliniAerospike commented 1 year ago

Hi @puneet21081990,

Are the logs you just posted Error logs for npm install aerospike? It looks like npm install @mapbox/node-pre-gyp was executed, not npm install @mapbox/node-pre-gyp --no-audit --verbose

Running npm install @mapbox/node-pre-gyp --no-audit --verbose will not make the install work, but if that command works on the Nexus3 without failure, I will patch it into the next release and you should be able to install with no issue.

Send me the output of running npm install @mapbox/node-pre-gyp --no-audit --verbose and then I can find other solutions if need be.

puneet21081990 commented 1 year ago

hi @DomPeliniAerospike Here are the logs, I think some issue with this package along with aerospike. Able to download : npm install @mapbox/node-pre-gyp --no-audit --verbose

root@6d33965c7c70:/usr/src/app# npm install @mapbox/node-pre-gyp --no-audit --verbose
npm verb cli /usr/local/bin/node /usr/local/bin/npm
npm info using npm@8.19.2
npm info using node@v18.12.0
npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 2ms
npm timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms
npm timing config:load:builtin Completed in 1ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 1ms
npm timing config:load:file:/usr/src/app/.npmrc Completed in 2ms
npm timing config:load:project Completed in 16ms
npm timing config:load:file:/root/.npmrc Completed in 0ms
npm timing config:load:user Completed in 0ms
npm timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:validate Completed in 1ms
npm timing config:load:credentials Completed in 2ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 26ms
npm timing npm:load:configload Completed in 26ms
npm timing npm:load:mkdirpcache Completed in 1ms
npm timing npm:load:mkdirplogs Completed in 0ms
npm verb title npm install @mapbox/node-pre-gyp
npm verb argv "install" "@mapbox/node-pre-gyp" "--no-audit" "--loglevel" "verbose"
npm timing npm:load:setTitle Completed in 1ms
npm timing config:load:flatten Completed in 2ms
npm timing npm:load:display Completed in 9ms
npm verb logfile logs-max:10 dir:/root/.npm/_logs
npm verb logfile /root/.npm/_logs/2023-09-28T15_23_23_745Z-debug-0.log
npm timing npm:load:logFile Completed in 6ms
npm timing npm:load:timers Completed in 0ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load Completed in 44ms
npm timing arborist:ctor Completed in 1ms
npm timing idealTree:init Completed in 846ms
npm timing idealTree:userRequests Completed in 8ms
npm verb shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/@mapbox%2fnode-pre-gyp 717ms (cache hit)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/nopt 148ms (cache hit)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/npmlog 152ms (cache hit)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/make-dir 155ms (cache hit)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/detect-libc 157ms (cache hit)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/tar 159ms (cache hit)
npm timing idealTree:#root Completed in 904ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/abbrev 25ms (cache hit)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/fs-minipass 26ms (cache hit)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/are-we-there-yet 29ms (cache hit)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass 30ms (cache hit)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/gauge 35ms (cache hit)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/mkdirp 36ms (cache hit)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/yallist 38ms (cache hit)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/chownr 40ms (cache hit)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/semver 43ms (cache hit)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minizlib 44ms (cache hit)
npm timing idealTree:node_modules/@mapbox/node-pre-gyp Completed in 58ms
npm timing idealTree:node_modules/make-dir Completed in 1ms
npm timing idealTree:node_modules/nopt Completed in 2ms
npm timing idealTree:node_modules/abbrev Completed in 0ms
npm timing idealTree:node_modules/tar Completed in 11ms
npm timing idealTree:node_modules/fs-minipass Completed in 2ms
npm timing idealTree:node_modules/minipass Completed in 0ms
npm timing idealTree:node_modules/minizlib Completed in 2ms
npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/detect-libc Completed in 1ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/color-support 7ms (cache hit)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/readable-stream 9ms (cache hit)
npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/npmlog Completed in 19ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/string_decoder 10ms (cache hit)
npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/are-we-there-yet Completed in 14ms
npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/gauge Completed in 3ms
npm timing idealTree:node_modules/color-support Completed in 0ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/safe-buffer 4ms (cache hit)
npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/readable-stream Completed in 8ms
npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/string_decoder Completed in 3ms
npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/safe-buffer Completed in 0ms
npm timing idealTree:node_modules/fs-minipass/node_modules/minipass Completed in 1ms
npm timing idealTree:node_modules/fs-minipass/node_modules/yallist Completed in 0ms
npm timing idealTree:node_modules/make-dir/node_modules/semver Completed in 0ms
npm timing idealTree:node_modules/minizlib/node_modules/minipass Completed in 0ms
npm timing idealTree:node_modules/minizlib/node_modules/yallist Completed in 0ms
npm timing idealTree:node_modules/tar/node_modules/chownr Completed in 0ms
npm timing idealTree:node_modules/tar/node_modules/mkdirp Completed in 0ms
npm timing idealTree:node_modules/tar/node_modules/yallist Completed in 0ms
npm timing idealTree:buildDeps Completed in 1043ms
npm timing idealTree:fixDepFlags Completed in 18ms
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'amqplib@0.5.6',
npm WARN EBADENGINE   required: { node: '>=0.8 <=12' },
npm WARN EBADENGINE   current: { node: 'v18.12.0', npm: '8.19.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'opossum@6.3.0',
npm WARN EBADENGINE   required: { node: '^16 || ^14 || ^12' },
npm WARN EBADENGINE   current: { node: 'v18.12.0', npm: '8.19.2' }
npm WARN EBADENGINE }
npm timing idealTree Completed in 1937ms
npm timing reify:loadTrees Completed in 1939ms
npm timing reify:diffTrees Completed in 25ms
npm timing reify:retireShallow Completed in 0ms
npm timing reify:createSparse Completed in 23ms
npm timing reify:loadBundles Completed in 0ms
npm timing reifyNode:node_modules/abbrev Completed in 101ms
npm timing reifyNode:node_modules/tar/node_modules/chownr Completed in 102ms
npm timing reifyNode:node_modules/fs-minipass Completed in 105ms
npm timing reifyNode:node_modules/make-dir Completed in 105ms
npm timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/npmlog Completed in 106ms
npm timing reifyNode:node_modules/color-support Completed in 109ms
npm timing reifyNode:node_modules/minizlib/node_modules/yallist Completed in 110ms
npm timing reifyNode:node_modules/fs-minipass/node_modules/yallist Completed in 110ms
npm timing reifyNode:node_modules/tar/node_modules/yallist Completed in 110ms
npm timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/string_decoder Completed in 111ms
npm timing reifyNode:node_modules/minizlib Completed in 114ms
npm timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/safe-buffer Completed in 119ms
npm timing reifyNode:node_modules/nopt Completed in 136ms
npm timing reifyNode:node_modules/minizlib/node_modules/minipass Completed in 139ms
npm timing reifyNode:node_modules/fs-minipass/node_modules/minipass Completed in 139ms
npm timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/are-we-there-yet Completed in 140ms
npm timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/detect-libc Completed in 140ms
npm timing reifyNode:node_modules/minipass Completed in 144ms
npm timing reifyNode:node_modules/make-dir/node_modules/semver Completed in 144ms
npm timing reifyNode:node_modules/tar/node_modules/mkdirp Completed in 147ms
npm timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/gauge Completed in 151ms
npm timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/readable-stream Completed in 165ms
npm timing reifyNode:node_modules/tar Completed in 167ms
npm timing reifyNode:node_modules/@mapbox/node-pre-gyp Completed in 172ms
npm timing reify:unpack Completed in 174ms
npm timing reify:unretire Completed in 1ms
npm timing build:queue Completed in 2ms
npm timing build:link:node_modules/@mapbox/node-pre-gyp Completed in 10ms
npm timing build:link:node_modules/color-support Completed in 7ms
npm timing build:link:node_modules/nopt Completed in 7ms
npm timing build:link:node_modules/make-dir/node_modules/semver Completed in 7ms
npm timing build:link:node_modules/tar/node_modules/mkdirp Completed in 7ms
npm timing build:link Completed in 13ms
npm timing build:deps Completed in 16ms
npm timing build Completed in 16ms
npm timing reify:build Completed in 17ms
npm timing reify:trash Completed in 0ms
npm timing reify:save Completed in 307ms
npm timing reify Completed in 2628ms

added 24 packages in 3s

124 packages are looking for funding
  run `npm fund` for details
npm timing command:install Completed in 2638ms
npm verb exit 0
npm timing npm Completed in 2767ms
npm info ok 

For npm install aerospike --no-audit --verbose

root@6d33965c7c70:/usr/src/app# npm install aerospike --no-audit --verbose
npm verb cli /usr/local/bin/node /usr/local/bin/npm
npm info using npm@8.19.2
npm info using node@v18.12.0
npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 2ms
npm timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms
npm timing config:load:builtin Completed in 1ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 1ms
npm timing config:load:file:/usr/src/app/.npmrc Completed in 3ms
npm timing config:load:project Completed in 15ms
npm timing config:load:file:/root/.npmrc Completed in 0ms
npm timing config:load:user Completed in 0ms
npm timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:validate Completed in 2ms
npm timing config:load:credentials Completed in 1ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 26ms
npm timing npm:load:configload Completed in 26ms
npm timing npm:load:mkdirpcache Completed in 1ms
npm timing npm:load:mkdirplogs Completed in 0ms
npm verb title npm install aerospike
npm verb argv "install" "aerospike" "--no-audit" "--loglevel" "verbose"
npm timing npm:load:setTitle Completed in 1ms
npm timing config:load:flatten Completed in 3ms
npm timing npm:load:display Completed in 10ms
npm verb logfile logs-max:10 dir:/root/.npm/_logs
npm verb logfile /root/.npm/_logs/2023-09-28T15_19_23_919Z-debug-0.log
npm timing npm:load:logFile Completed in 6ms
npm timing npm:load:timers Completed in 0ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load Completed in 45ms
npm timing arborist:ctor Completed in 1ms
npm timing idealTree:init Completed in 751ms
npm timing idealTree:userRequests Completed in 10ms
npm timing arborist:ctor Completed in 0ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/aerospike 1208ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/node-gyp 37ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/@mapbox%2fnode-pre-gyp 2055ms (cache miss)
npm timing idealTree:#root Completed in 3279ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/make-dir 53ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/graceful-fs 100ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/make-fetch-happen 108ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/tar 122ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/tar 128ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/env-paths 1007ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/npmlog 1031ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/npmlog 1031ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/nopt 1070ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/detect-libc 1130ms (cache miss)
npm timing idealTree:node_modules/aerospike Completed in 1163ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minizlib 39ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/semver 50ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass 69ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/fs-minipass 74ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/gauge 77ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/yallist 83ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/abbrev 991ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/are-we-there-yet 993ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/chownr 993ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/mkdirp 1116ms (cache miss)
npm timing idealTree:node_modules/@mapbox/node-pre-gyp Completed in 1133ms
npm timing idealTree:node_modules/make-dir Completed in 2ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/is-lambda 48ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/cacache 53ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass-fetch 63ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass-collect 88ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/socks-proxy-agent 105ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/lru-cache 119ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/http-proxy-agent 332ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/ssri 1043ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/agentkeepalive 1073ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/http-cache-semantics 1118ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass-pipeline 1148ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass-flush 1153ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/promise-retry 1152ms (cache miss)
npm timing idealTree:node_modules/node-gyp Completed in 1174ms
npm timing idealTree:node_modules/env-paths Completed in 0ms
npm timing idealTree:node_modules/graceful-fs Completed in 0ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/infer-owner 49ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/p-map 49ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass-sized 93ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/retry 111ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/@tootallnate%2fonce 120ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/unique-filename 131ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/encoding 141ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/socks 143ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/@npmcli%2fmove-file 216ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/@npmcli%2ffs 405ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/humanize-ms 1026ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/promise-inflight 1102ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/err-code 1282ms (cache miss)
npm timing idealTree:node_modules/make-fetch-happen Completed in 1319ms
npm timing idealTree:node_modules/agentkeepalive Completed in 2ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/unique-slug 39ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/@gar%2fpromisify 1415ms (cache miss)
npm timing idealTree:node_modules/cacache Completed in 1448ms
npm timing idealTree:node_modules/@npmcli/fs Completed in 4ms
npm timing idealTree:node_modules/@gar/promisify Completed in 0ms
npm timing idealTree:node_modules/@npmcli/move-file Completed in 4ms
npm timing idealTree:node_modules/fs-minipass Completed in 0ms
npm timing idealTree:node_modules/http-cache-semantics Completed in 0ms
npm timing idealTree:node_modules/http-proxy-agent Completed in 3ms
npm timing idealTree:node_modules/@tootallnate/once Completed in 0ms
npm timing idealTree:node_modules/humanize-ms Completed in 0ms
npm timing idealTree:node_modules/infer-owner Completed in 0ms
npm timing idealTree:node_modules/is-lambda Completed in 0ms
npm timing idealTree:node_modules/minipass Completed in 2ms
npm timing idealTree:node_modules/minipass-collect Completed in 0ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/iconv-lite 1075ms (cache miss)
npm timing idealTree:node_modules/minipass-fetch Completed in 1089ms
npm timing idealTree:node_modules/encoding Completed in 2ms
npm timing idealTree:node_modules/minipass-flush Completed in 0ms
npm timing idealTree:node_modules/minipass-pipeline Completed in 1ms
npm timing idealTree:node_modules/minipass-sized Completed in 0ms
npm timing idealTree:node_modules/minizlib Completed in 2ms
npm timing idealTree:node_modules/nopt Completed in 3ms
npm timing idealTree:node_modules/abbrev Completed in 1ms
npm timing idealTree:node_modules/promise-inflight Completed in 0ms
npm timing idealTree:node_modules/promise-retry Completed in 4ms
npm timing idealTree:node_modules/err-code Completed in 0ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/smart-buffer 35ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/ip 1115ms (cache miss)
npm timing idealTree:node_modules/socks-proxy-agent Completed in 1121ms
npm timing idealTree:node_modules/socks Completed in 8ms
npm timing idealTree:node_modules/smart-buffer Completed in 1ms
npm timing idealTree:node_modules/ssri Completed in 0ms
npm timing idealTree:node_modules/tar Completed in 9ms
npm timing idealTree:node_modules/unique-filename Completed in 2ms
npm timing idealTree:node_modules/unique-slug Completed in 0ms
npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/detect-libc Completed in 0ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/color-support 12ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/readable-stream 44ms (cache miss)
npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/npmlog Completed in 61ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/string_decoder 43ms (cache miss)
npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/are-we-there-yet Completed in 50ms
npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/gauge Completed in 4ms
npm timing idealTree:node_modules/color-support Completed in 0ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/safe-buffer 1084ms (cache miss)
npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/readable-stream Completed in 1089ms
npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/string_decoder Completed in 2ms
npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/safe-buffer Completed in 1ms
npm timing idealTree:node_modules/@npmcli/move-file/node_modules/mkdirp Completed in 0ms
npm timing idealTree:node_modules/cacache/node_modules/chownr Completed in 0ms
npm timing idealTree:node_modules/cacache/node_modules/lru-cache Completed in 4ms
npm timing idealTree:node_modules/cacache/node_modules/mkdirp Completed in 0ms
npm timing idealTree:node_modules/cacache/node_modules/p-map Completed in 0ms
npm timing idealTree:node_modules/cacache/node_modules/yallist Completed in 0ms
npm timing idealTree:node_modules/encoding/node_modules/iconv-lite Completed in 0ms
npm timing idealTree:node_modules/make-dir/node_modules/semver Completed in 0ms
npm timing idealTree:node_modules/make-fetch-happen/node_modules/lru-cache Completed in 2ms
npm timing idealTree:node_modules/make-fetch-happen/node_modules/yallist Completed in 0ms
npm timing idealTree:node_modules/minipass/node_modules/yallist Completed in 0ms
npm timing idealTree:node_modules/minizlib/node_modules/yallist Completed in 0ms
npm timing idealTree:node_modules/node-gyp/node_modules/npmlog Completed in 4ms
npm timing idealTree:node_modules/node-gyp/node_modules/are-we-there-yet Completed in 5ms
npm timing idealTree:node_modules/node-gyp/node_modules/gauge Completed in 0ms
npm timing idealTree:node_modules/node-gyp/node_modules/readable-stream Completed in 3ms
npm timing idealTree:node_modules/node-gyp/node_modules/string_decoder Completed in 2ms
npm timing idealTree:node_modules/node-gyp/node_modules/safe-buffer Completed in 0ms
npm timing idealTree:node_modules/promise-retry/node_modules/retry Completed in 0ms
npm timing idealTree:node_modules/socks/node_modules/ip Completed in 0ms
npm timing idealTree:node_modules/tar/node_modules/chownr Completed in 0ms
npm timing idealTree:node_modules/tar/node_modules/minipass Completed in 0ms
npm timing idealTree:node_modules/tar/node_modules/mkdirp Completed in 0ms
npm timing idealTree:node_modules/tar/node_modules/yallist Completed in 0ms
npm timing idealTree:buildDeps Completed in 13051ms
npm timing idealTree:fixDepFlags Completed in 29ms
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'amqplib@0.5.6',
npm WARN EBADENGINE   required: { node: '>=0.8 <=12' },
npm WARN EBADENGINE   current: { node: 'v18.12.0', npm: '8.19.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'opossum@6.3.0',
npm WARN EBADENGINE   required: { node: '^16 || ^14 || ^12' },
npm WARN EBADENGINE   current: { node: 'v18.12.0', npm: '8.19.2' }
npm WARN EBADENGINE }
npm timing idealTree Completed in 13890ms
npm timing reify:loadTrees Completed in 13892ms
npm timing reify:diffTrees Completed in 60ms
npm timing reify:retireShallow Completed in 0ms
npm timing reify:createSparse Completed in 44ms
npm timing reify:loadBundles Completed in 0ms
npm timing reifyNode:node_modules/make-dir Completed in 692ms
npm timing reifyNode:node_modules/cacache/node_modules/p-map Completed in 717ms
npm timing reifyNode:node_modules/cacache/node_modules/lru-cache Completed in 717ms
npm timing reifyNode:node_modules/make-fetch-happen/node_modules/lru-cache Completed in 718ms
npm timing reifyNode:node_modules/minizlib/node_modules/yallist Completed in 756ms
npm timing reifyNode:node_modules/minipass/node_modules/yallist Completed in 753ms
npm timing reifyNode:node_modules/cacache/node_modules/yallist Completed in 752ms
npm timing reifyNode:node_modules/tar/node_modules/yallist Completed in 752ms
npm timing reifyNode:node_modules/node-gyp/node_modules/string_decoder Completed in 751ms
npm timing reifyNode:node_modules/make-fetch-happen/node_modules/yallist Completed in 753ms
npm timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/string_decoder Completed in 751ms
npm timing reifyNode:node_modules/graceful-fs Completed in 754ms
npm timing reifyNode:node_modules/node-gyp/node_modules/safe-buffer Completed in 840ms
npm timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/safe-buffer Completed in 839ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/color-support/-/color-support-1.1.3.tgz 774ms (cache miss)
npm timing reifyNode:node_modules/color-support Completed in 883ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/abbrev/-/abbrev-1.1.1.tgz 767ms (cache miss)
npm timing reifyNode:node_modules/abbrev Completed in 883ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/smart-buffer/-/smart-buffer-4.2.0.tgz 773ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minizlib/-/minizlib-2.1.2.tgz 768ms (cache miss)
npm timing reifyNode:node_modules/minizlib Completed in 885ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/unique-slug/-/unique-slug-2.0.2.tgz 776ms (cache miss)
npm timing reifyNode:node_modules/unique-slug Completed in 886ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/socks/-/socks-2.7.1.tgz 774ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/humanize-ms/-/humanize-ms-1.2.1.tgz 776ms (cache miss)
npm timing reifyNode:node_modules/humanize-ms Completed in 911ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/err-code/-/err-code-2.0.3.tgz 801ms (cache miss)
npm timing reifyNode:node_modules/err-code Completed in 915ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/promise-inflight/-/promise-inflight-1.0.1.tgz 788ms (cache miss)
npm timing reifyNode:node_modules/promise-inflight Completed in 915ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass-sized/-/minipass-sized-1.0.3.tgz 798ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/unique-filename/-/unique-filename-1.1.1.tgz 797ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/encoding/-/encoding-0.1.13.tgz 795ms (cache miss)
npm timing reifyNode:node_modules/encoding Completed in 919ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/@tootallnate/once/-/once-1.1.2.tgz 800ms (cache miss)
npm timing reifyNode:node_modules/@tootallnate/once Completed in 918ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/@gar/promisify/-/promisify-1.1.3.tgz 794ms (cache miss)
npm timing reifyNode:node_modules/@gar/promisify Completed in 919ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz 802ms (cache miss)
npm timing reifyNode:node_modules/minipass-pipeline Completed in 941ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/fs-minipass/-/fs-minipass-2.1.0.tgz 815ms (cache miss)
npm timing reifyNode:node_modules/fs-minipass Completed in 944ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/ssri/-/ssri-8.0.1.tgz 808ms (cache miss)
npm timing reifyNode:node_modules/ssri Completed in 944ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/@npmcli/fs/-/fs-1.1.1.tgz 812ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/@npmcli/move-file/-/move-file-1.1.2.tgz 816ms (cache miss)
npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm timing reifyNode:node_modules/@npmcli/move-file Completed in 948ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/promise-retry/-/promise-retry-2.0.1.tgz 808ms (cache miss)
npm timing reifyNode:node_modules/promise-retry Completed in 948ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/infer-owner/-/infer-owner-1.0.4.tgz 822ms (cache miss)
npm timing reifyNode:node_modules/infer-owner Completed in 949ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass-collect/-/minipass-collect-1.0.2.tgz 818ms (cache miss)
npm timing reifyNode:node_modules/minipass-collect Completed in 962ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass/-/minipass-3.3.6.tgz 807ms (cache miss)
npm timing reifyNode:node_modules/minipass Completed in 962ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz 805ms (cache miss)
npm timing reifyNode:node_modules/http-proxy-agent Completed in 963ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/is-lambda/-/is-lambda-1.0.1.tgz 807ms (cache miss)
npm timing reifyNode:node_modules/is-lambda Completed in 964ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass-flush/-/minipass-flush-1.0.5.tgz 801ms (cache miss)
npm timing reifyNode:node_modules/minipass-flush Completed in 964ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz 805ms (cache miss)
npm timing reifyNode:node_modules/http-cache-semantics Completed in 965ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass-fetch/-/minipass-fetch-1.4.1.tgz 825ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz 806ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/nopt/-/nopt-5.0.0.tgz 799ms (cache miss)
npm timing reifyNode:node_modules/nopt Completed in 971ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/agentkeepalive/-/agentkeepalive-4.5.0.tgz 809ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/tar/-/tar-6.2.0.tgz 812ms (cache miss)
npm timing reifyNode:node_modules/minipass-sized Completed in 995ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz 856ms (cache miss)
npm timing reifyNode:node_modules/socks-proxy-agent Completed in 994ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass/-/minipass-5.0.0.tgz 771ms (cache miss)
npm timing reifyNode:node_modules/tar/node_modules/minipass Completed in 991ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/env-paths/-/env-paths-2.2.1.tgz 825ms (cache miss)
npm timing reifyNode:node_modules/env-paths Completed in 993ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/ip/-/ip-2.0.0.tgz 792ms (cache miss)
npm timing reifyNode:node_modules/socks/node_modules/ip Completed in 1001ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/chownr/-/chownr-2.0.0.tgz 776ms (cache miss)
npm timing reifyNode:node_modules/tar/node_modules/chownr Completed in 996ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/cacache/-/cacache-15.3.0.tgz 804ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/retry/-/retry-0.12.0.tgz 799ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/gauge/-/gauge-4.0.4.tgz 788ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/npmlog/-/npmlog-6.0.2.tgz 785ms (cache miss)
npm timing reifyNode:node_modules/node-gyp/node_modules/npmlog Completed in 1014ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz 789ms (cache miss)
npm timing reifyNode:node_modules/node-gyp/node_modules/are-we-there-yet Completed in 1017ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/gauge/-/gauge-3.0.2.tgz 787ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz 786ms (cache miss)
npm timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/are-we-there-yet Completed in 1018ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/npmlog/-/npmlog-5.0.1.tgz 785ms (cache miss)
npm timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/npmlog Completed in 1019ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/mkdirp/-/mkdirp-1.0.4.tgz 805ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/semver/-/semver-6.3.1.tgz 800ms (cache miss)
npm timing reifyNode:node_modules/make-dir/node_modules/semver Completed in 1022ms
npm timing reifyNode:node_modules/agentkeepalive Completed in 1032ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/chownr/-/chownr-2.0.0.tgz 818ms (cache miss)
npm timing reifyNode:node_modules/cacache/node_modules/chownr Completed in 1034ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/detect-libc/-/detect-libc-2.0.2.tgz 804ms (cache miss)
npm timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/detect-libc Completed in 1041ms
npm timing reifyNode:node_modules/minipass-fetch Completed in 1047ms
npm timing reifyNode:node_modules/tar/node_modules/mkdirp Completed in 1046ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/mkdirp/-/mkdirp-1.0.4.tgz 838ms (cache miss)
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/mkdirp/-/mkdirp-1.0.4.tgz 835ms (cache miss)
npm timing reifyNode:node_modules/cacache/node_modules/mkdirp Completed in 1050ms
npm timing reifyNode:node_modules/@npmcli/move-file/node_modules/mkdirp Completed in 1053ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz 887ms (cache miss)
npm timing reifyNode:node_modules/unique-filename Completed in 1109ms
npm timing reifyNode:node_modules/make-fetch-happen Completed in 1105ms
npm timing reifyNode:node_modules/promise-retry/node_modules/retry Completed in 1115ms
npm timing reifyNode:node_modules/smart-buffer Completed in 1121ms
npm timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/gauge Completed in 1120ms
npm timing reifyNode:node_modules/node-gyp/node_modules/gauge Completed in 1134ms
npm timing reifyNode:node_modules/cacache Completed in 1176ms
npm timing reifyNode:node_modules/@npmcli/fs Completed in 1193ms
npm timing reifyNode:node_modules/node-gyp/node_modules/readable-stream Completed in 1213ms
npm timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/readable-stream Completed in 1213ms
npm timing reifyNode:node_modules/tar Completed in 1266ms
npm timing reifyNode:node_modules/@mapbox/node-pre-gyp Completed in 1280ms
npm timing reifyNode:node_modules/socks Completed in 1289ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/iconv-lite/-/iconv-lite-0.6.3.tgz 1118ms (cache miss)
npm timing reifyNode:node_modules/encoding/node_modules/iconv-lite Completed in 1352ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/node-gyp/-/node-gyp-8.4.1.tgz 1301ms (cache miss)
npm timing reifyNode:node_modules/node-gyp Completed in 1499ms
npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/aerospike/-/aerospike-5.7.0.tgz 6884ms (cache miss)
npm timing reifyNode:node_modules/aerospike Completed in 7082ms
npm timing reify:unpack Completed in 7093ms
npm timing reify:unretire Completed in 0ms
npm timing build:queue Completed in 8ms
npm info run aerospike@5.7.0 preinstall node_modules/aerospike npm install @mapbox/node-pre-gyp
npm info run aerospike@5.7.0 preinstall { code: 1, signal: null }
npm timing reify:rollback:createSparse Completed in 143ms
npm timing reify:rollback:retireShallow Completed in 0ms
npm timing command:install Completed in 22706ms
npm verb stack Error: command failed
npm verb stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27)
npm verb stack     at ChildProcess.emit (node:events:513:28)
npm verb stack     at maybeClose (node:internal/child_process:1091:16)
npm verb stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm verb pkgid aerospike@5.7.0
npm verb cwd /usr/src/app
npm verb Linux 5.10.149-133.644.amzn2.x86_64
npm verb node v18.12.0
npm verb npm  v8.19.2
npm ERR! code 1
npm ERR! path /usr/src/app/node_modules/aerospike
npm ERR! command failed
npm ERR! command sh -c -- npm install @mapbox/node-pre-gyp
npm ERR! npm verb cli /usr/local/bin/node /usr/local/bin/npm
npm ERR! npm info using npm@8.19.2
npm ERR! npm info using node@v18.12.0
npm ERR! npm timing npm:load:whichnode Completed in 0ms
npm ERR! npm timing config:load:defaults Completed in 2ms
npm ERR! npm timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms
npm ERR! npm timing config:load:builtin Completed in 1ms
npm ERR! npm timing config:load:cli Completed in 2ms
npm ERR! npm timing config:load:env Completed in 1ms
npm ERR! npm timing config:load:file:/usr/src/app/node_modules/aerospike/.npmrc Completed in 0ms
npm ERR! npm timing config:load:project Completed in 15ms
npm ERR! npm timing config:load:file:/root/.npmrc Completed in 0ms
npm ERR! npm timing config:load:user Completed in 0ms
npm ERR! npm timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
npm ERR! npm timing config:load:global Completed in 0ms
npm ERR! npm timing config:load:validate Completed in 2ms
npm ERR! npm timing config:load:credentials Completed in 1ms
npm ERR! npm timing config:load:setEnvs Completed in 1ms
npm ERR! npm timing config:load Completed in 25ms
npm ERR! npm timing npm:load:configload Completed in 25ms
npm ERR! npm timing npm:load:mkdirpcache Completed in 1ms
npm ERR! npm timing npm:load:mkdirplogs Completed in 1ms
npm ERR! npm verb title npm install @mapbox/node-pre-gyp
npm ERR! npm verb argv "install" "@mapbox/node-pre-gyp"
npm ERR! npm timing npm:load:setTitle Completed in 1ms
npm ERR! npm timing config:load:flatten Completed in 3ms
npm ERR! npm timing npm:load:display Completed in 7ms
npm ERR! npm verb logfile logs-max:10 dir:/root/.npm/_logs
npm ERR! npm verb logfile /root/.npm/_logs/2023-09-28T15_19_45_554Z-debug-0.log
npm ERR! npm timing npm:load:logFile Completed in 4ms
npm ERR! npm timing npm:load:timers Completed in 0ms
npm ERR! npm timing npm:load:configScope Completed in 0ms
npm ERR! npm timing npm:load Completed in 41ms
npm ERR! npm timing arborist:ctor Completed in 1ms
npm ERR! npm timing arborist:ctor Completed in 0ms
npm ERR! npm timing idealTree:init Completed in 13ms
npm ERR! npm timing idealTree:userRequests Completed in 2ms
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/@mapbox%2fnode-pre-gyp 19ms (cache hit)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/bindings 19ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/minimatch 5ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/nan 3ms (cache skip)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/node-gyp 5ms (cache hit)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/@types%2fnode 3ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/chai 9ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/choma 3ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/codecov 4ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/deep-eql 4ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/dirty-chai 7ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/husky 7ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/mocha 3ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/mocha-clean 3ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/nyc 2ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/p-throttle 3ms (cache skip)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/semver 5ms (cache hit)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/standard 3ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/tmp 3ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/yargs 3ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/https-proxy-agent 28ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/which 17ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/node-fetch 33ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/glob 25ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/rimraf 33ms (cache skip)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/npmlog 63ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/detect-libc 70ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/tar 63ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/npmlog 65ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/make-dir 82ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/lru-cache 69ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/nopt 91ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/tar 82ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/graceful-fs 92ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/env-paths 96ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/make-fetch-happen 96ms (cache hit)
npm ERR! npm timing idealTree:#root Completed in 294ms
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/console-control-strings 25ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/set-blocking 25ms (cache skip)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/are-we-there-yet 56ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/fs-minipass 52ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/abbrev 63ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/mkdirp 50ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/yallist 51ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/chownr 61ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/gauge 65ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minizlib 62ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass 66ms (cache hit)
npm ERR! npm timing idealTree:node_modules/@mapbox/node-pre-gyp Completed in 98ms
npm ERR! npm timing idealTree:node_modules/@types/node Completed in 0ms
npm ERR! npm timing idealTree:node_modules/bindings Completed in 0ms
npm ERR! npm timing idealTree:node_modules/chai Completed in 0ms
npm ERR! npm timing idealTree:node_modules/choma Completed in 0ms
npm ERR! npm timing idealTree:node_modules/codecov Completed in 0ms
npm ERR! npm timing idealTree:node_modules/deep-eql Completed in 0ms
npm ERR! npm timing idealTree:node_modules/detect-libc Completed in 0ms
npm ERR! npm timing idealTree:node_modules/dirty-chai Completed in 0ms
npm ERR! npm timing idealTree:node_modules/husky Completed in 0ms
npm ERR! npm timing idealTree:node_modules/make-dir Completed in 2ms
npm ERR! npm timing idealTree:node_modules/minimatch Completed in 0ms
npm ERR! npm timing idealTree:node_modules/mocha Completed in 0ms
npm ERR! npm timing idealTree:node_modules/mocha-clean Completed in 0ms
npm ERR! npm timing idealTree:node_modules/nan Completed in 0ms
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/negotiator 39ms (cache skip)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/agentkeepalive 80ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/is-lambda 77ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/http-cache-semantics 80ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/http-proxy-agent 81ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass-collect 81ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/ssri 76ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass-flush 83ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass-fetch 85ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass-pipeline 86ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/cacache 96ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/socks-proxy-agent 100ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/promise-retry 112ms (cache hit)
npm ERR! npm timing idealTree:node_modules/node-gyp Completed in 146ms
npm ERR! npm timing idealTree:node_modules/env-paths Completed in 0ms
npm ERR! npm timing idealTree:node_modules/graceful-fs Completed in 0ms
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/agent-base 19ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/debug 20ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/agent-base 13ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/debug 13ms (cache skip)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/@npmcli%2ffs 67ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/humanize-ms 70ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/unique-filename 65ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/infer-owner 68ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/@npmcli%2fmove-file 71ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/retry 58ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/promise-inflight 70ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/err-code 60ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/minipass-sized 66ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/socks 59ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/@tootallnate%2fonce 73ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/p-map 76ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/encoding 72ms (cache hit)
npm ERR! npm timing idealTree:node_modules/make-fetch-happen Completed in 110ms
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/ms 3ms (cache skip)
npm ERR! npm timing idealTree:node_modules/agentkeepalive Completed in 6ms
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/aggregate-error 4ms (cache skip)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/@gar%2fpromisify 11ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/unique-slug 9ms (cache hit)
npm ERR! npm timing idealTree:node_modules/cacache Completed in 35ms
npm ERR! npm timing idealTree:node_modules/@npmcli/fs Completed in 2ms
npm ERR! npm timing idealTree:node_modules/@gar/promisify Completed in 0ms
npm ERR! npm timing idealTree:node_modules/@npmcli/move-file Completed in 1ms
npm ERR! npm timing idealTree:node_modules/chownr Completed in 0ms
npm ERR! npm timing idealTree:node_modules/fs-minipass Completed in 0ms
npm ERR! npm timing idealTree:node_modules/http-cache-semantics Completed in 0ms
npm ERR! npm timing idealTree:node_modules/http-proxy-agent Completed in 3ms
npm ERR! npm timing idealTree:node_modules/@tootallnate/once Completed in 0ms
npm ERR! npm timing idealTree:node_modules/humanize-ms Completed in 1ms
npm ERR! npm timing idealTree:node_modules/infer-owner Completed in 0ms
npm ERR! npm timing idealTree:node_modules/is-lambda Completed in 0ms
npm ERR! npm timing idealTree:node_modules/lru-cache Completed in 1ms
npm ERR! npm timing idealTree:node_modules/minipass Completed in 0ms
npm ERR! npm timing idealTree:node_modules/minipass-collect Completed in 0ms
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/iconv-lite 12ms (cache hit)
npm ERR! npm timing idealTree:node_modules/minipass-fetch Completed in 21ms
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/safer-buffer 4ms (cache skip)
npm ERR! npm timing idealTree:node_modules/encoding Completed in 7ms
npm ERR! npm timing idealTree:node_modules/iconv-lite Completed in 1ms
npm ERR! npm timing idealTree:node_modules/minipass-flush Completed in 0ms
npm ERR! npm timing idealTree:node_modules/minipass-pipeline Completed in 0ms
npm ERR! npm timing idealTree:node_modules/minipass-sized Completed in 0ms
npm ERR! npm timing idealTree:node_modules/minizlib Completed in 0ms
npm ERR! npm timing idealTree:node_modules/mkdirp Completed in 0ms
npm ERR! npm timing idealTree:node_modules/nopt Completed in 1ms
npm ERR! npm timing idealTree:node_modules/abbrev Completed in 0ms
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/delegates 19ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/aproba 19ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/console-control-strings 18ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/has-unicode 18ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/object-assign 18ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/signal-exit 20ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/string-width 20ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/strip-ansi 20ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/wide-align 20ms (cache skip)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/color-support 36ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/readable-stream 39ms (cache hit)
npm ERR! npm timing idealTree:node_modules/npmlog Completed in 50ms
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/inherits 5ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/util-deprecate 5ms (cache skip)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/string_decoder 8ms (cache hit)
npm ERR! npm timing idealTree:node_modules/are-we-there-yet Completed in 13ms
npm ERR! npm timing idealTree:node_modules/gauge Completed in 8ms
npm ERR! npm timing idealTree:node_modules/color-support Completed in 0ms
npm ERR! npm timing idealTree:node_modules/nyc Completed in 0ms
npm ERR! npm timing idealTree:node_modules/p-map Completed in 1ms
npm ERR! npm timing idealTree:node_modules/p-throttle Completed in 0ms
npm ERR! npm timing idealTree:node_modules/promise-inflight Completed in 0ms
npm ERR! npm timing idealTree:node_modules/promise-retry Completed in 2ms
npm ERR! npm timing idealTree:node_modules/err-code Completed in 0ms
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/safe-buffer 4ms (cache hit)
npm ERR! npm timing idealTree:node_modules/readable-stream Completed in 11ms
npm ERR! npm timing idealTree:node_modules/retry Completed in 0ms
npm ERR! npm timing idealTree:node_modules/semver Completed in 0ms
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/ip 14ms (cache hit)
npm ERR! npm http fetch GET 200 http://nexus-ip:8081/repository/npm-stage-public/smart-buffer 15ms (cache hit)
npm ERR! npm timing idealTree:node_modules/socks-proxy-agent Completed in 22ms
npm ERR! npm timing idealTree:node_modules/socks Completed in 2ms
npm ERR! npm timing idealTree:node_modules/ip Completed in 0ms
npm ERR! npm timing idealTree:node_modules/smart-buffer Completed in 0ms
npm ERR! npm timing idealTree:node_modules/ssri Completed in 0ms
npm ERR! npm timing idealTree:node_modules/standard Completed in 0ms
npm ERR! npm timing idealTree:node_modules/string_decoder Completed in 1ms
npm ERR! npm timing idealTree:node_modules/safe-buffer Completed in 0ms
npm ERR! npm timing idealTree:node_modules/tar Completed in 2ms
npm ERR! npm timing idealTree:node_modules/tmp Completed in 0ms
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/imurmurhash 4ms (cache skip)
npm ERR! npm timing idealTree:node_modules/unique-filename Completed in 7ms
npm ERR! npm timing idealTree:node_modules/unique-slug Completed in 1ms
npm ERR! npm timing idealTree:node_modules/yallist Completed in 0ms
npm ERR! npm timing idealTree:node_modules/yargs Completed in 0ms
npm ERR! npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/https-proxy-agent Completed in 0ms
npm ERR! npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/node-fetch Completed in 0ms
npm ERR! npm timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/rimraf Completed in 0ms
npm ERR! npm timing idealTree:node_modules/@npmcli/move-file/node_modules/rimraf Completed in 0ms
npm ERR! npm timing idealTree:node_modules/are-we-there-yet/node_modules/delegates Completed in 0ms
npm ERR! npm timing idealTree:node_modules/cacache/node_modules/glob Completed in 0ms
npm ERR! npm timing idealTree:node_modules/cacache/node_modules/rimraf Completed in 0ms
npm ERR! npm timing idealTree:node_modules/gauge/node_modules/aproba Completed in 0ms
npm ERR! npm timing idealTree:node_modules/gauge/node_modules/console-control-strings Completed in 0ms
npm ERR! npm timing idealTree:node_modules/gauge/node_modules/has-unicode Completed in 0ms
npm ERR! npm timing idealTree:node_modules/gauge/node_modules/object-assign Completed in 0ms
npm ERR! npm timing idealTree:node_modules/gauge/node_modules/signal-exit Completed in 0ms
npm ERR! npm timing idealTree:node_modules/gauge/node_modules/string-width Completed in 0ms
npm ERR! npm timing idealTree:node_modules/gauge/node_modules/strip-ansi Completed in 0ms
npm ERR! npm timing idealTree:node_modules/gauge/node_modules/wide-align Completed in 0ms
npm ERR! npm timing idealTree:node_modules/http-proxy-agent/node_modules/agent-base Completed in 0ms
npm ERR! npm timing idealTree:node_modules/http-proxy-agent/node_modules/debug Completed in 0ms
npm ERR! npm timing idealTree:node_modules/humanize-ms/node_modules/ms Completed in 0ms
npm ERR! npm timing idealTree:node_modules/iconv-lite/node_modules/safer-buffer Completed in 0ms
npm ERR! npm timing idealTree:node_modules/make-dir/node_modules/semver Completed in 0ms
npm ERR! npm timing idealTree:node_modules/make-fetch-happen/node_modules/https-proxy-agent Completed in 0ms
npm ERR! npm timing idealTree:node_modules/make-fetch-happen/node_modules/negotiator Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/glob Completed in 0ms
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/signal-exit 4ms (cache skip)
npm ERR! npm http fetch GET 401 http://nexus-ip:8081/repository/npm-stage-public/wide-align 4ms (cache skip)
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/npmlog Completed in 11ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/are-we-there-yet Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge Completed in 4ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/rimraf Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/which Completed in 0ms
npm ERR! npm timing idealTree:node_modules/npmlog/node_modules/console-control-strings Completed in 0ms
npm ERR! npm timing idealTree:node_modules/npmlog/node_modules/set-blocking Completed in 0ms
npm ERR! npm timing idealTree:node_modules/p-map/node_modules/aggregate-error Completed in 0ms
npm ERR! npm timing idealTree:node_modules/readable-stream/node_modules/inherits Completed in 0ms
npm ERR! npm timing idealTree:node_modules/readable-stream/node_modules/util-deprecate Completed in 0ms
npm ERR! npm timing idealTree:node_modules/socks-proxy-agent/node_modules/agent-base Completed in 0ms
npm ERR! npm timing idealTree:node_modules/socks-proxy-agent/node_modules/debug Completed in 0ms
npm ERR! npm timing idealTree:node_modules/tar/node_modules/minipass Completed in 0ms
npm ERR! npm timing idealTree:node_modules/unique-slug/node_modules/imurmurhash Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/are-we-there-yet/node_modules/delegates Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/aproba Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/console-control-strings Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/has-unicode Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/signal-exit Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/string-width Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/strip-ansi Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/gauge/node_modules/wide-align Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/npmlog/node_modules/console-control-strings Completed in 0ms
npm ERR! npm timing idealTree:node_modules/node-gyp/node_modules/npmlog/node_modules/set-blocking Completed in 0ms
npm ERR! npm timing idealTree:buildDeps Completed in 886ms
npm ERR! npm timing idealTree:fixDepFlags Completed in 2ms
npm ERR! npm timing idealTree Completed in 905ms
npm ERR! npm timing command:install Completed in 912ms
npm ERR! npm verb stack HttpErrorAuthUnknown: Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager"
npm ERR! npm verb stack     at /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js:80:17
npm ERR! npm verb stack     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
npm ERR! npm verb stack     at async RegistryFetcher.packument (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:92:19)
npm ERR! npm verb stack     at async RegistryFetcher.manifest (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:124:23)
npm ERR! npm verb stack     at async [nodeFromEdge] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1061:19)
npm ERR! npm verb stack     at async [buildDepStep] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:930:11)
npm ERR! npm verb stack     at async Arborist.buildIdealTree (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:211:7)
npm ERR! npm verb stack     at async Promise.all (index 1)
npm ERR! npm verb stack     at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:153:5)
npm ERR! npm verb stack     at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:145:5)
npm ERR! npm verb statusCode 401
npm ERR! npm verb pkgid @types/node@^17.0.45
npm ERR! npm verb cwd /usr/src/app/node_modules/aerospike
npm ERR! npm verb Linux 5.10.149-133.644.amzn2.x86_64
npm ERR! npm verb node v18.12.0
npm ERR! npm verb npm  v8.19.2
npm ERR! npm ERR! code E401
npm ERR! npm ERR! Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager"
npm ERR! npm verb exit 1
npm ERR! npm timing npm Completed in 1042ms
npm ERR! npm verb unfinished npm timer reify 1695914385679
npm ERR! npm verb unfinished npm timer reify:loadTrees 1695914385683
npm ERR! npm verb code 1
npm ERR! 
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     /root/.npm/_logs/2023-09-28T15_19_45_554Z-debug-0.log
npm verb exit 1
npm timing npm Completed in 22861ms
npm verb unfinished npm timer reify 1695914364053
npm verb unfinished npm timer reify:build 1695914385159
npm verb unfinished npm timer build 1695914385160
npm verb unfinished npm timer build:deps 1695914385160
npm verb unfinished npm timer build:run:preinstall 1695914385170
npm verb unfinished npm timer build:run:preinstall:node_modules/aerospike 1695914385170
npm verb code 1

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-09-28T15_19_23_919Z-debug-0.log
DomPeliniAerospike commented 1 year ago

Hi @puneet21081990 , The issue is with that command, and I will explain why.

We have some npm scripts:

"scripts": { "preinstall": "npm install @mapbox/node-pre-gyp", "install": "npm run build", "build": "node-pre-gyp install --fallback-to-build", "test": "mocha", ... },

upon install, the preinstall and install scripts are ran. Since the preinstall calls npm install without --no-audit, that is likely causing the issue. I have made the change here, and will include the change in this weeks release.

If you want to see if this solves the problem yourself, you can run this test.

  1. cd node_nodules/aerospike
  2. change the preinstall script in package.json from "preinstall": "npm install @mapbox/node-pre-gyp", to "preinstall": "npm install @mapbox/node-pre-gyp --no-audit",
  3. run npm install (from node_modules/aerospike, not project directory)

If the install works from there, this change will be suitable, and we can close the issue.

Also please let me know if this isn't suitable and I can immediately begin looking for other solutions.

DomPeliniAerospike commented 1 year ago

Hi @puneet21081990 ,

After some discussion with team members, we thought it may be unwise to run npm install with no audit inside our own install scripts. The above solution requires this. However, there is a simpler solution that may be suitable.

If you run this command: npm config set audit false inside your terminal, you should disable audit for anytime npm install is called.

This link talks about enabling audit for Nexus3. I would recommend that you configure audit if possible in the case any security vulnerabilities pop up.

However, if audit is not an option npm config set audit false should allow you to install aerospike.

Please let me know if this doesn't work, and I can pursue other solutions.

puneet21081990 commented 1 year ago

Hi @DomPeliniAerospike Thanks, this works for me. But please fix this issue in your next release. Thanks for your time.

DomPeliniAerospike commented 1 year ago

Hi @puneet21081990 There should be no change needed in the next release. If you use the command npm config set audit false, and run the install again. It should work with no code changes. Please try this and confirm that this solution in viable.

I will close this issue out once you confirm. Thanks.

DomPeliniAerospike commented 9 months ago

I’m closing this for inactivity, please reopen this issue if you have more questions.