Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-gyp rebuild is triggered when using a private registry #2988

Open
danymarques opened this issue Mar 6, 2024 · 13 comments
Open

node-gyp rebuild is triggered when using a private registry #2988

danymarques opened this issue Mar 6, 2024 · 13 comments

Comments

@danymarques
Copy link

  • Node Version:
    v18.19.1 and npm 10.2.4
  • Platform:
    Darwin Kernel Version 23.2.0: Wed Nov 15 21:54:05 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6031 arm64
  • Compiler:
    Apple clang version 15.0.0 (clang-1500.1.0.2.5)
    Target: arm64-apple-darwin23.2.0
    Thread model: posix
    InstalledDir: /Library/Developer/CommandLineTools/usr/bi
  • Module: @pact-foundation/pact-core@14.3.0
Verbose output (from npm or node-gyp):
~/Documents/mobi_projects/test_pact
npm i @pact-foundation/pact-core@14.0.0 --no-audit --loglevel=silly --prefer-offline
npm verb cli /Users/danymarques/.nvm/versions/node/v18.19.1/bin/node /Users/danymarques/.nvm/versions/node/v18.19.1/bin/npm
npm info using npm@10.2.4
npm info using node@v18.19.1
npm verb title npm i @pact-foundation/pact-core@14.0.0
npm verb argv "i" "@pact-foundation/pact-core@14.0.0" "--no-audit" "--loglevel" "silly" "--prefer-offline"
npm verb logfile logs-max:10 dir:/Users/danymarques/.npm/_logs/2024-03-06T13_48_50_110Z-
npm verb logfile /Users/danymarques/.npm/_logs/2024-03-06T13_48_50_110Z-debug-0.log
npm sill logfile start cleaning logs, removing 1 files
npm sill logfile done cleaning log files
npm sill idealTree buildDeps
npm sill fetch manifest @pact-foundation/pact-core@14.0.0
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/@pact-foundation%2fpact-core 7ms (cache hit)
npm sill placeDep ROOT @pact-foundation/pact-core@14.0.0 OK for: test_pact@1.0.0 want: 14.0.0
npm sill fetch manifest chalk@4.1.2
npm sill fetch manifest check-types@7.3.0
npm sill fetch manifest cross-spawn@7.0.3
npm sill fetch manifest mkdirp@1.0.0
npm sill fetch manifest needle@^3.2.0
npm sill fetch manifest node-gyp-build@^4.6.0
npm sill fetch manifest pino@^8.7.0
npm sill fetch manifest pino-pretty@^9.1.1
npm sill fetch manifest promise-timeout@1.3.0
npm sill fetch manifest rimraf@2.6.2
npm sill fetch manifest underscore@1.12.1
npm sill fetch manifest unixify@1.0.0
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/check-types 20ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/node-gyp-build 21ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/promise-timeout 21ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/rimraf 21ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/chalk 26ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/mkdirp 27ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/needle 27ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/cross-spawn 31ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/unixify 30ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/pino 32ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/underscore 36ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/pino-pretty 38ms (cache hit)
npm sill placeDep ROOT chalk@4.1.2 OK for: @pact-foundation/pact-core@14.0.0 want: 4.1.2
npm sill fetch manifest ansi-styles@^4.1.0
npm sill fetch manifest supports-color@^7.1.0
npm sill placeDep ROOT check-types@7.3.0 OK for: @pact-foundation/pact-core@14.0.0 want: 7.3.0
npm sill placeDep ROOT cross-spawn@7.0.3 OK for: @pact-foundation/pact-core@14.0.0 want: 7.0.3
npm sill fetch manifest path-key@^3.1.0
npm sill fetch manifest shebang-command@^2.0.0
npm sill fetch manifest which@^2.0.1
npm sill placeDep ROOT mkdirp@1.0.0 OK for: @pact-foundation/pact-core@14.0.0 want: 1.0.0
npm sill placeDep ROOT needle@3.3.1 OK for: @pact-foundation/pact-core@14.0.0 want: ^3.2.0
npm sill fetch manifest iconv-lite@^0.6.3
npm sill fetch manifest sax@^1.2.4
npm sill placeDep ROOT node-gyp-build@4.8.0 OK for: @pact-foundation/pact-core@14.0.0 want: ^4.6.0
npm sill placeDep ROOT pino@8.19.0 OK for: @pact-foundation/pact-core@14.0.0 want: ^8.7.0
npm sill fetch manifest atomic-sleep@^1.0.0
npm sill fetch manifest fast-redact@^3.1.1
npm sill fetch manifest on-exit-leak-free@^2.1.0
npm sill fetch manifest pino-abstract-transport@v1.1.0
npm sill fetch manifest pino-std-serializers@^6.0.0
npm sill fetch manifest process-warning@^3.0.0
npm sill fetch manifest quick-format-unescaped@^4.0.3
npm sill fetch manifest real-require@^0.2.0
npm sill fetch manifest safe-stable-stringify@^2.3.1
npm sill fetch manifest sonic-boom@^3.7.0
npm sill fetch manifest thread-stream@^2.0.0
npm sill placeDep ROOT pino-pretty@9.4.1 OK for: @pact-foundation/pact-core@14.0.0 want: ^9.1.1
npm sill fetch manifest colorette@^2.0.7
npm sill fetch manifest dateformat@^4.6.3
npm sill fetch manifest fast-copy@^3.0.0
npm sill fetch manifest fast-safe-stringify@^2.1.1
npm sill fetch manifest joycon@^3.1.1
npm sill fetch manifest help-me@^4.0.1
npm sill fetch manifest minimist@^1.2.6
npm sill fetch manifest pino-abstract-transport@^1.0.0
npm sill fetch manifest pump@^3.0.0
npm sill fetch manifest readable-stream@^4.0.0
npm sill fetch manifest secure-json-parse@^2.4.0
npm sill fetch manifest sonic-boom@^3.0.0
npm sill fetch manifest strip-json-comments@^3.1.1
npm sill placeDep ROOT promise-timeout@1.3.0 OK for: @pact-foundation/pact-core@14.0.0 want: 1.3.0
npm sill placeDep ROOT rimraf@2.6.2 OK for: @pact-foundation/pact-core@14.0.0 want: 2.6.2
npm sill fetch manifest glob@^7.0.5
npm sill placeDep ROOT underscore@1.12.1 OK for: @pact-foundation/pact-core@14.0.0 want: 1.12.1
npm sill placeDep ROOT unixify@1.0.0 OK for: @pact-foundation/pact-core@14.0.0 want: 1.0.0
npm sill fetch manifest normalize-path@^2.1.1
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/which 39ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/ansi-styles 43ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/path-key 43ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/supports-color 44ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/real-require 39ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/shebang-command 44ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/on-exit-leak-free 43ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/sax 44ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/quick-format-unescaped 41ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/iconv-lite 45ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/pino-abstract-transport 43ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/pino-abstract-transport 39ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/thread-stream 42ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/process-warning 44ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/dateformat 42ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/colorette 43ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/sonic-boom 41ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/safe-stable-stringify 46ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/help-me 44ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/atomic-sleep 50ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/sonic-boom 46ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/fast-redact 51ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/joycon 46ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/pino-std-serializers 50ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/minimist 47ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/fast-copy 49ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/fast-safe-stringify 52ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/pump 51ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/strip-json-comments 51ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/secure-json-parse 52ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/normalize-path 49ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/readable-stream 53ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/glob 52ms (cache hit)
npm sill placeDep ROOT ansi-styles@4.3.0 OK for: chalk@4.1.2 want: ^4.1.0
npm sill fetch manifest color-convert@^2.0.1
npm sill placeDep ROOT supports-color@7.2.0 OK for: chalk@4.1.2 want: ^7.1.0
npm sill fetch manifest has-flag@^4.0.0
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/has-flag 4ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/color-convert 4ms (cache hit)
npm sill placeDep ROOT color-convert@2.0.1 OK for: ansi-styles@4.3.0 want: ^2.0.1
npm sill fetch manifest color-name@~1.1.4
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/color-name 2ms (cache hit)
npm sill placeDep ROOT color-name@1.1.4 OK for: color-convert@2.0.1 want: ~1.1.4
npm sill placeDep ROOT path-key@3.1.1 OK for: cross-spawn@7.0.3 want: ^3.1.0
npm sill placeDep ROOT shebang-command@2.0.0 OK for: cross-spawn@7.0.3 want: ^2.0.0
npm sill fetch manifest shebang-regex@^3.0.0
npm sill placeDep ROOT which@2.0.2 OK for: cross-spawn@7.0.3 want: ^2.0.1
npm sill fetch manifest isexe@^2.0.0
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/shebang-regex 4ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/isexe 3ms (cache hit)
npm sill placeDep ROOT iconv-lite@0.6.3 OK for: needle@3.3.1 want: ^0.6.3
npm sill fetch manifest safer-buffer@>= 2.1.2 < 3.0.0
npm sill placeDep ROOT sax@1.3.0 OK for: needle@3.3.1 want: ^1.2.4
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/safer-buffer 3ms (cache hit)
npm sill placeDep ROOT safer-buffer@2.1.2 OK for: iconv-lite@0.6.3 want: >= 2.1.2 < 3.0.0
npm sill placeDep ROOT atomic-sleep@1.0.0 OK for: pino@8.19.0 want: ^1.0.0
npm sill placeDep ROOT fast-redact@3.3.0 OK for: pino@8.19.0 want: ^3.1.1
npm sill placeDep ROOT on-exit-leak-free@2.1.2 OK for: pino@8.19.0 want: ^2.1.0
npm sill placeDep ROOT pino-abstract-transport@1.1.0 OK for: pino@8.19.0 want: v1.1.0
npm sill fetch manifest split2@^4.0.0
npm sill placeDep ROOT pino-std-serializers@6.2.2 OK for: pino@8.19.0 want: ^6.0.0
npm sill placeDep ROOT process-warning@3.0.0 OK for: pino@8.19.0 want: ^3.0.0
npm sill placeDep ROOT quick-format-unescaped@4.0.4 OK for: pino@8.19.0 want: ^4.0.3
npm sill placeDep ROOT real-require@0.2.0 OK for: pino@8.19.0 want: ^0.2.0
npm sill placeDep ROOT safe-stable-stringify@2.4.3 OK for: pino@8.19.0 want: ^2.3.1
npm sill placeDep ROOT sonic-boom@3.8.0 OK for: pino@8.19.0 want: ^3.7.0
npm sill placeDep ROOT thread-stream@2.4.1 OK for: pino@8.19.0 want: ^2.0.0
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/split2 5ms (cache hit)
npm sill placeDep ROOT readable-stream@4.5.2 OK for: pino-abstract-transport@1.1.0 want: ^4.0.0
npm sill fetch manifest abort-controller@^3.0.0
npm sill fetch manifest buffer@^6.0.3
npm sill fetch manifest events@^3.3.0
npm sill fetch manifest process@^0.11.10
npm sill fetch manifest string_decoder@^1.3.0
npm sill placeDep ROOT split2@4.2.0 OK for: pino-abstract-transport@1.1.0 want: ^4.0.0
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/abort-controller 5ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/process 6ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/events 6ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/buffer 7ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/string_decoder 8ms (cache hit)
npm sill placeDep ROOT colorette@2.0.20 OK for: pino-pretty@9.4.1 want: ^2.0.7
npm sill placeDep ROOT dateformat@4.6.3 OK for: pino-pretty@9.4.1 want: ^4.6.3
npm sill placeDep ROOT fast-copy@3.0.1 OK for: pino-pretty@9.4.1 want: ^3.0.0
npm sill placeDep ROOT fast-safe-stringify@2.1.1 OK for: pino-pretty@9.4.1 want: ^2.1.1
npm sill placeDep ROOT help-me@4.2.0 OK for: pino-pretty@9.4.1 want: ^4.0.1
npm sill fetch manifest glob@^8.0.0
npm sill fetch manifest readable-stream@^3.6.0
npm sill placeDep ROOT joycon@3.1.1 OK for: pino-pretty@9.4.1 want: ^3.1.1
npm sill placeDep ROOT minimist@1.2.8 OK for: pino-pretty@9.4.1 want: ^1.2.6
npm sill placeDep ROOT pump@3.0.0 OK for: pino-pretty@9.4.1 want: ^3.0.0
npm sill fetch manifest end-of-stream@^1.1.0
npm sill fetch manifest once@^1.3.1
npm sill placeDep ROOT secure-json-parse@2.7.0 OK for: pino-pretty@9.4.1 want: ^2.4.0
npm sill placeDep ROOT strip-json-comments@3.1.1 OK for: pino-pretty@9.4.1 want: ^3.1.1
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/once 7ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/end-of-stream 7ms (cache hit)
npm sill placeDep ROOT glob@8.1.0 OK for: help-me@4.2.0 want: ^8.0.0
npm sill fetch manifest fs.realpath@^1.0.0
npm sill fetch manifest inflight@^1.0.4
npm sill fetch manifest inherits@2
npm sill fetch manifest minimatch@^5.0.1
npm sill fetch manifest once@^1.3.0
npm sill placeDep node_modules/help-me readable-stream@3.6.2 OK for: help-me@4.2.0 want: ^3.6.0
npm sill fetch manifest inherits@^2.0.3
npm sill fetch manifest string_decoder@^1.1.1
npm sill fetch manifest util-deprecate@^1.0.1
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/minimatch 6ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/inherits 8ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/fs.realpath 10ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/inherits 9ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/inflight 10ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/util-deprecate 9ms (cache hit)
npm sill placeDep ROOT fs.realpath@1.0.0 OK for: glob@8.1.0 want: ^1.0.0
npm sill placeDep ROOT inflight@1.0.6 OK for: glob@8.1.0 want: ^1.0.4
npm sill fetch manifest wrappy@1
npm sill placeDep ROOT inherits@2.0.4 OK for: glob@8.1.0 want: 2
npm sill placeDep ROOT minimatch@5.1.6 OK for: glob@8.1.0 want: ^5.0.1
npm sill fetch manifest brace-expansion@^2.0.1
npm sill placeDep ROOT once@1.4.0 OK for: glob@8.1.0 want: ^1.3.0
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/wrappy 7ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/brace-expansion 6ms (cache hit)
npm sill placeDep ROOT wrappy@1.0.2 OK for: inflight@1.0.6 want: 1
npm sill placeDep ROOT brace-expansion@2.0.1 OK for: minimatch@5.1.6 want: ^2.0.1
npm sill fetch manifest balanced-match@^1.0.0
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/balanced-match 5ms (cache hit)
npm sill placeDep ROOT balanced-match@1.0.2 OK for: brace-expansion@2.0.1 want: ^1.0.0
npm sill placeDep ROOT end-of-stream@1.4.4 OK for: pump@3.0.0 want: ^1.1.0
npm sill placeDep ROOT abort-controller@3.0.0 OK for: readable-stream@4.5.2 want: ^3.0.0
npm sill fetch manifest event-target-shim@^5.0.0
npm sill placeDep ROOT buffer@6.0.3 OK for: readable-stream@4.5.2 want: ^6.0.3
npm sill fetch manifest base64-js@^1.3.1
npm sill fetch manifest ieee754@^1.2.1
npm sill placeDep ROOT events@3.3.0 OK for: readable-stream@4.5.2 want: ^3.3.0
npm sill placeDep ROOT process@0.11.10 OK for: readable-stream@4.5.2 want: ^0.11.10
npm sill placeDep ROOT string_decoder@1.3.0 OK for: readable-stream@4.5.2 want: ^1.3.0
npm sill fetch manifest safe-buffer@~5.2.0
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/ieee754 4ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/base64-js 6ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/event-target-shim 6ms (cache hit)
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/safe-buffer 5ms (cache hit)
npm sill placeDep ROOT event-target-shim@5.0.1 OK for: abort-controller@3.0.0 want: ^5.0.0
npm sill placeDep ROOT base64-js@1.5.1 OK for: buffer@6.0.3 want: ^1.3.1
npm sill placeDep ROOT ieee754@1.2.1 OK for: buffer@6.0.3 want: ^1.2.1
npm sill placeDep node_modules/rimraf glob@7.2.3 OK for: rimraf@2.6.2 want: ^7.0.5
npm sill fetch manifest minimatch@^3.1.1
npm sill fetch manifest path-is-absolute@^1.0.0
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/path-is-absolute 4ms (cache hit)
npm sill placeDep ROOT shebang-regex@3.0.0 OK for: shebang-command@2.0.0 want: ^3.0.0
npm sill placeDep ROOT safe-buffer@5.2.1 OK for: string_decoder@1.3.0 want: ~5.2.0
npm sill placeDep ROOT has-flag@4.0.0 OK for: supports-color@7.2.0 want: ^4.0.0
npm sill placeDep ROOT normalize-path@2.1.1 OK for: unixify@1.0.0 want: ^2.1.1
npm sill fetch manifest remove-trailing-separator@^1.0.1
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/remove-trailing-separator 3ms (cache hit)
npm sill placeDep ROOT remove-trailing-separator@1.1.0 OK for: normalize-path@2.1.1 want: ^1.0.1
npm sill placeDep ROOT isexe@2.0.0 OK for: which@2.0.2 want: ^2.0.0
npm sill placeDep ROOT util-deprecate@1.0.2 OK for: readable-stream@3.6.2 want: ^1.0.1
npm sill placeDep node_modules/rimraf minimatch@3.1.2 OK for: glob@7.2.3 want: ^3.1.1
npm sill fetch manifest brace-expansion@^1.1.7
npm sill placeDep ROOT path-is-absolute@1.0.1 OK for: glob@7.2.3 want: ^1.0.0
npm sill placeDep node_modules/rimraf brace-expansion@1.1.11 OK for: minimatch@3.1.2 want: ^1.1.7
npm sill fetch manifest concat-map@0.0.1
npm http fetch GET 200 https://my.private.registry:8443/nexus/repository/npm-mobi/concat-map 3ms (cache hit)
npm sill placeDep ROOT concat-map@0.0.1 OK for: brace-expansion@1.1.11 want: 0.0.1
npm sill reify moves {}
npm info run @pact-foundation/pact-core@14.0.0 install node_modules/@pact-foundation/pact-core node-gyp rebuild
npm info run @pact-foundation/pact-core@14.0.0 install { code: 1, signal: null }
npm verb stack Error: command failed
npm verb stack     at ChildProcess.<anonymous> (/Users/danymarques/.nvm/versions/node/v18.19.1/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
npm verb stack     at ChildProcess.emit (node:events:517:28)
npm verb stack     at maybeClose (node:internal/child_process:1098:16)
npm verb stack     at Socket.<anonymous> (node:internal/child_process:450:11)
npm verb stack     at Socket.emit (node:events:517:28)
npm verb stack     at Pipe.<anonymous> (node:net:350:12)
npm verb pkgid @pact-foundation/pact-core@14.0.0
npm verb cwd /Users/danymarques/Documents/mobi_projects/test_pact
npm verb Darwin 23.2.0
npm verb node v18.19.1
npm verb npm  v10.2.4
npm ERR! code 1
npm ERR! path /Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli '/Users/danymarques/.nvm/versions/node/v18.19.1/bin/node',
npm ERR! gyp verb cli '/Users/danymarques/.nvm/versions/node/v18.19.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
npm ERR! gyp verb cli 'rebuild'
npm ERR! gyp verb cli ]
npm ERR! gyp info using node-gyp@10.0.1
npm ERR! gyp info using node@18.19.1 | darwin | arm64
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb find Python Python is not set from command line or npm configuration
npm ERR! gyp verb find Python Python is not set from environment variable PYTHON
npm ERR! gyp verb find Python checking if "python3" can be used
npm ERR! gyp verb find Python - executing "python3" to get executable path
npm ERR! gyp sill find Python execFile: exec = "python3"
npm ERR! gyp sill find Python execFile: args = ["-c","import sys; print(sys.executable);"]
npm ERR! gyp sill find Python execFile: opts = {"env":{"NVM_INC":"/Users/danymarques/.nvm/versions/node/v18.19.1/include/node","MANPATH":"/Users/danymarques/.nvm/versions/node/v18.19.1/share/man:/opt/homebrew/share/man::","npm_config_audit":"","NODE":"/Users/danymarques/.nvm/versions/node/v18.19.1/bin/node","NVM_CD_FLAGS":"-q","INIT_CWD":"/Users/danymarques/Documents/mobi_projects/test_pact","SHELL":"/bin/zsh","TERM":"dumb","npm_package_bin_pact-stub-service":"bin/pact-stub-service.js","TMPDIR":"/var/folders/gq/_k08xyzx6gj2ftblzs9fsjgc0000gn/T/","HOMEBREW_REPOSITORY":"/opt/homebrew","npm_config_global_prefix":"/Users/danymarques/.nvm/versions/node/v18.19.1","npm_package_bin_pact-message":"bin/pact-message.js","SRC_ENDPOINT":"https://xxx.sourcegraphcloud.com","TERM_SESSION_ID":"b3cc825b-878c-414d-b49e-5c8857b4c51f","COLOR":"1","npm_package_optional":"","npm_config_registry":"https://my.private.registry:8443/nexus/repository/npm-mobi/","npm_config_noproxy":"","ZSH":"/Users/danymarques/.oh-my-zsh","AZURE_TOKEN":"dWIydHM2ZnRwZHVteWx2d3dpYXU3bmdtdW1rcWl2Nnprc2Zvb2xnbzRlajM2Nmx1ejd1YQ==","npm_config_local_prefix":"/Users/danymarques/Documents/mobi_projects/test_pact","AZURE_EMAIL":"xxx@mobi.ch","USER":"danymarques","NVM_DIR":"/Users/danymarques/.nvm","LS_COLORS":"di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43","COMMAND_MODE":"unix2003","OMNIBOARD_API_KEY":"61f591c0ab464c808234027c366cca33712401a6cfcb4d30809eb3db88f26760","npm_config_globalconfig":"/Users/danymarques/.nvm/versions/node/v18.19.1/etc/npmrc","npm_config_always_auth":"true","npm_package_peer":"","SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.7oLwVeHMUr/Listeners","__CF_USER_TEXT_ENCODING":"0x1F5:0x0:0x0","npm_execpath":"/Users/danymarques/.nvm/versions/node/v18.19.1/lib/node_modules/npm/bin/npm-cli.js","PAGER":"less","npm_package_integrity":"sha512-l7GZAPHLdvCX4HQyll5DqULduLLMJzouA7A83iJ0iz9RQRTjIbRVwxDSq/2yKkymY4pkOUscC8Lwwl6DWB7wZg==","LSCOLORS":"Gxfxcxdxbxegedabagacad","npm_package_bin_pact-mock-service":"bin/pact-mock-service.js","PATH":"/Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core/node_modules/.bin:/Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/node_modules/.bin:/Users/danymarques/Documents/mobi_projects/test_pact/node_modules/node_modules/.bin:/Users/danymarques/Documents/mobi_projects/test_pact/node_modules/.bin:/Users/danymarques/Documents/mobi_projects/node_modules/.bin:/Users/danymarques/Documents/node_modules/.bin:/Users/danymarques/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/danymarques/.nvm/versions/node/v18.19.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/danymarques/.console-ninja/.bin:/Users/danymarques/.nvm/versions/node/v18.19.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/danymarques/Documents/mobi_projects/test_pact/node_modules/.bin:/Users/danymarques/Library/Application Support/JetBrains/Toolbox/scripts","TERMINAL_EMULATOR":"JetBrains-JediTerm","IJ_RESTARTER_LOG":"/Users/danymarques/Library/Logs/JetBrains/IntelliJIdea2024.1/restarter.log","_":"/Users/danymarques/.nvm/versions/node/v18.19.1/bin/node","npm_package_json":"/Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core/package.json","__CFBundleIdentifier":"com.jetbrains.intellij-EAP","npm_config_init_module":"/Users/danymarques/.npm-init.js","npm_config_userconfig":"/Users/danymarques/.npmrc","PWD":"/Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core","npm_command":"install","JAVA_HOME":"/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home","EDITOR":"vi","npm_lifecycle_event":"install","npm_package_name":"@pact-foundation/pact-core","SRC_ACCESS_TOKEN":"sgp_89a84cad269805643509bede4fd2e0dc64d74115","XPC_FLAGS":"0x0","npm_config_npm_version":"10.2.4","JAVA_TOOL_OPTIONS":"-Djavax.net.ssl.trustStore=/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/lib/security/cacerts","npm_package_dev":"","npm_config_node_gyp":"/Users/danymarques/.nvm/versions/node/v18.19.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js","XPC_SERVICE_NAME":"0","npm_package_version":"14.0.0","HOME":"/Users/danymarques","SHLVL":"3","npm_package_resolved":"https://my.private.registry:8443/nexus/repository/npm-mobi/@pact-foundation/pact-core/-/pact-core-14.0.0.tgz","npm_config_loglevel":"silly","npm_config_strict_ssl":"","npm_package_bin_pact-broker":"bin/pact-broker.js","IDEA_INITIAL_DIRECTORY":"/","HOMEBREW_PREFIX":"/opt/homebrew","npm_config_prefer_offline":"true","npm_package_dev_optional":"","LOGNAME":"danymarques","LESS":"-R","npm_config_cache":"/Users/danymarques/.npm","npm_package_bin_pact":"bin/pact.js","npm_package_bin_pactflow":"bin/pactflow.js","npm_lifecycle_script":"node-gyp rebuild","LC_CTYPE":"UTF-8","NVM_BIN":"/Users/danymarques/.nvm/versions/node/v18.19.1/bin","npm_config_user_agent":"npm/10.2.4 node/v18.19.1 darwin arm64 workspaces/false","HOMEBREW_CELLAR":"/opt/homebrew/Cellar","INFOPATH":"/opt/homebrew/share/info:","NODE_EXTRA_CA_CERTS":"/Users/danymarques/Documents/Mobi/curl-ca-bundle.crt","npm_package_bin_pact-provider-verifier":"bin/pact-provider-verifier.js","FIG_TERM":"1","npm_config_prefix":"/Users/danymarques/.nvm/versions/node/v18.19.1","npm_node_execpath":"/Users/danymarques/.nvm/versions/node/v18.19.1/bin/node"},"shell":false}
npm ERR! gyp sill find Python execFile result: err = null
npm ERR! gyp sill find Python execFile result: stdout = "/opt/homebrew/opt/python@3.11/bin/python3.11\n"
npm ERR! gyp sill find Python execFile result: stderr = ""
npm ERR! gyp verb find Python - executable path is "/opt/homebrew/opt/python@3.11/bin/python3.11"
npm ERR! gyp verb find Python - executing "/opt/homebrew/opt/python@3.11/bin/python3.11" to get version
npm ERR! gyp sill find Python execFile: exec = "/opt/homebrew/opt/python@3.11/bin/python3.11"
npm ERR! gyp sill find Python execFile: args = ["-c","import sys; print(\"%s.%s.%s\" % sys.version_info[:3]);"]
npm ERR! gyp sill find Python execFile: opts = {"env":{"NVM_INC":"/Users/danymarques/.nvm/versions/node/v18.19.1/include/node","MANPATH":"/Users/danymarques/.nvm/versions/node/v18.19.1/share/man:/opt/homebrew/share/man::","npm_config_audit":"","NODE":"/Users/danymarques/.nvm/versions/node/v18.19.1/bin/node","NVM_CD_FLAGS":"-q","INIT_CWD":"/Users/danymarques/Documents/mobi_projects/test_pact","SHELL":"/bin/zsh","TERM":"dumb","npm_package_bin_pact-stub-service":"bin/pact-stub-service.js","TMPDIR":"/var/folders/gq/_k08xyzx6gj2ftblzs9fsjgc0000gn/T/","HOMEBREW_REPOSITORY":"/opt/homebrew","npm_config_global_prefix":"/Users/danymarques/.nvm/versions/node/v18.19.1","npm_package_bin_pact-message":"bin/pact-message.js","SRC_ENDPOINT":"https://xxx.sourcegraphcloud.com","TERM_SESSION_ID":"b3cc825b-878c-414d-b49e-5c8857b4c51f","COLOR":"1","npm_package_optional":"","npm_config_registry":"https://my.private.registry:8443/nexus/repository/npm-mobi/","npm_config_noproxy":"","ZSH":"/Users/danymarques/.oh-my-zsh","AZURE_TOKEN":"dWIydHM2ZnRwZHVteWx2d3dpYXU3bmdtdW1rcWl2Nnprc2Zvb2xnbzRlajM2Nmx1ejd1YQ==","npm_config_local_prefix":"/Users/danymarques/Documents/mobi_projects/test_pact","AZURE_EMAIL":"xxx@mobi.ch","USER":"danymarques","NVM_DIR":"/Users/danymarques/.nvm","LS_COLORS":"di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43","COMMAND_MODE":"unix2003","OMNIBOARD_API_KEY":"61f591c0ab464c808234027c366cca33712401a6cfcb4d30809eb3db88f26760","npm_config_globalconfig":"/Users/danymarques/.nvm/versions/node/v18.19.1/etc/npmrc","npm_config_always_auth":"true","npm_package_peer":"","SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.7oLwVeHMUr/Listeners","__CF_USER_TEXT_ENCODING":"0x1F5:0x0:0x0","npm_execpath":"/Users/danymarques/.nvm/versions/node/v18.19.1/lib/node_modules/npm/bin/npm-cli.js","PAGER":"less","npm_package_integrity":"sha512-l7GZAPHLdvCX4HQyll5DqULduLLMJzouA7A83iJ0iz9RQRTjIbRVwxDSq/2yKkymY4pkOUscC8Lwwl6DWB7wZg==","LSCOLORS":"Gxfxcxdxbxegedabagacad","npm_package_bin_pact-mock-service":"bin/pact-mock-service.js","PATH":"/Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core/node_modules/.bin:/Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/node_modules/.bin:/Users/danymarques/Documents/mobi_projects/test_pact/node_modules/node_modules/.bin:/Users/danymarques/Documents/mobi_projects/test_pact/node_modules/.bin:/Users/danymarques/Documents/mobi_projects/node_modules/.bin:/Users/danymarques/Documents/node_modules/.bin:/Users/danymarques/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/danymarques/.nvm/versions/node/v18.19.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/danymarques/.console-ninja/.bin:/Users/danymarques/.nvm/versions/node/v18.19.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/danymarques/Documents/mobi_projects/test_pact/node_modules/.bin:/Users/danymarques/Library/Application Support/JetBrains/Toolbox/scripts","TERMINAL_EMULATOR":"JetBrains-JediTerm","IJ_RESTARTER_LOG":"/Users/danymarques/Library/Logs/JetBrains/IntelliJIdea2024.1/restarter.log","_":"/Users/danymarques/.nvm/versions/node/v18.19.1/bin/node","npm_package_json":"/Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core/package.json","__CFBundleIdentifier":"com.jetbrains.intellij-EAP","npm_config_init_module":"/Users/danymarques/.npm-init.js","npm_config_userconfig":"/Users/danymarques/.npmrc","PWD":"/Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core","npm_command":"install","JAVA_HOME":"/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home","EDITOR":"vi","npm_lifecycle_event":"install","npm_package_name":"@pact-foundation/pact-core","SRC_ACCESS_TOKEN":"sgp_89a84cad269805643509bede4fd2e0dc64d74115","XPC_FLAGS":"0x0","npm_config_npm_version":"10.2.4","JAVA_TOOL_OPTIONS":"-Djavax.net.ssl.trustStore=/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/lib/security/cacerts","npm_package_dev":"","npm_config_node_gyp":"/Users/danymarques/.nvm/versions/node/v18.19.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js","XPC_SERVICE_NAME":"0","npm_package_version":"14.0.0","HOME":"/Users/danymarques","SHLVL":"3","npm_package_resolved":"https://my.private.registry:8443/nexus/repository/npm-mobi/@pact-foundation/pact-core/-/pact-core-14.0.0.tgz","npm_config_loglevel":"silly","npm_config_strict_ssl":"","npm_package_bin_pact-broker":"bin/pact-broker.js","IDEA_INITIAL_DIRECTORY":"/","HOMEBREW_PREFIX":"/opt/homebrew","npm_config_prefer_offline":"true","npm_package_dev_optional":"","LOGNAME":"danymarques","LESS":"-R","npm_config_cache":"/Users/danymarques/.npm","npm_package_bin_pact":"bin/pact.js","npm_package_bin_pactflow":"bin/pactflow.js","npm_lifecycle_script":"node-gyp rebuild","LC_CTYPE":"UTF-8","NVM_BIN":"/Users/danymarques/.nvm/versions/node/v18.19.1/bin","npm_config_user_agent":"npm/10.2.4 node/v18.19.1 darwin arm64 workspaces/false","HOMEBREW_CELLAR":"/opt/homebrew/Cellar","INFOPATH":"/opt/homebrew/share/info:","NODE_EXTRA_CA_CERTS":"/Users/danymarques/Documents/Mobi/curl-ca-bundle.crt","npm_package_bin_pact-provider-verifier":"bin/pact-provider-verifier.js","FIG_TERM":"1","npm_config_prefix":"/Users/danymarques/.nvm/versions/node/v18.19.1","npm_node_execpath":"/Users/danymarques/.nvm/versions/node/v18.19.1/bin/node"},"shell":false}
npm ERR! gyp sill find Python execFile result: err = null
npm ERR! gyp sill find Python execFile result: stdout = "3.11.7\n"
npm ERR! gyp sill find Python execFile result: stderr = ""
npm ERR! gyp verb find Python - version is "3.11.7"
npm ERR! gyp info find Python using Python version 3.11.7 found at "/opt/homebrew/opt/python@3.11/bin/python3.11"
npm ERR! gyp verb get node dir no --target version specified, falling back to host node version: 18.19.1
npm ERR! gyp verb install input version string "18.19.1"
npm ERR! gyp verb install installing version: 18.19.1
npm ERR! gyp verb install --ensure was passed, so won't reinstall if already installed
npm ERR! gyp verb install version is already installed, need to check "installVersion"
npm ERR! gyp verb got "installVersion" 11
npm ERR! gyp verb needs "installVersion" 11
npm ERR! gyp verb install version is good
npm ERR! gyp verb get node dir target node version installed: 18.19.1
npm ERR! gyp verb build dir attempting to create "build" dir: /Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core/build
npm ERR! gyp verb build dir "build" dir needed to be created? Yes
npm ERR! gyp verb build/config.gypi creating config file
npm ERR! gyp sill build/config.gypi {
npm ERR! gyp sill build/config.gypi target_defaults: {
npm ERR! gyp sill build/config.gypi cflags: [],
npm ERR! gyp sill build/config.gypi default_configuration: 'Release',
npm ERR! gyp sill build/config.gypi defines: [],
npm ERR! gyp sill build/config.gypi include_dirs: [],
npm ERR! gyp sill build/config.gypi libraries: [],
npm ERR! gyp sill build/config.gypi msvs_configuration_platform: 'ARM64',
npm ERR! gyp sill build/config.gypi xcode_configuration_platform: 'arm64'
npm ERR! gyp sill build/config.gypi },
npm ERR! gyp sill build/config.gypi variables: {
npm ERR! gyp sill build/config.gypi arm_fpu: 'neon',
npm ERR! gyp sill build/config.gypi asan: 0,
npm ERR! gyp sill build/config.gypi coverage: false,
npm ERR! gyp sill build/config.gypi dcheck_always_on: 0,
npm ERR! gyp sill build/config.gypi debug_nghttp2: false,
npm ERR! gyp sill build/config.gypi debug_node: false,
npm ERR! gyp sill build/config.gypi enable_lto: false,
npm ERR! gyp sill build/config.gypi enable_pgo_generate: false,
npm ERR! gyp sill build/config.gypi enable_pgo_use: false,
npm ERR! gyp sill build/config.gypi error_on_warn: false,
npm ERR! gyp sill build/config.gypi force_dynamic_crt: 0,
npm ERR! gyp sill build/config.gypi host_arch: 'arm64',
npm ERR! gyp sill build/config.gypi icu_data_in: '../../deps/icu-tmp/icudt73l.dat',
npm ERR! gyp sill build/config.gypi icu_endianness: 'l',
npm ERR! gyp sill build/config.gypi icu_gyp_path: 'tools/icu/icu-generic.gyp',
npm ERR! gyp sill build/config.gypi icu_path: 'deps/icu-small',
npm ERR! gyp sill build/config.gypi icu_small: false,
npm ERR! gyp sill build/config.gypi icu_ver_major: '73',
npm ERR! gyp sill build/config.gypi is_debug: 0,
npm ERR! gyp sill build/config.gypi libdir: 'lib',
npm ERR! gyp sill build/config.gypi llvm_version: '13.0',
npm ERR! gyp sill build/config.gypi napi_build_version: '9',
npm ERR! gyp sill build/config.gypi node_builtin_shareable_builtins: [
npm ERR! gyp sill build/config.gypi 'deps/cjs-module-lexer/lexer.js',
npm ERR! gyp sill build/config.gypi 'deps/cjs-module-lexer/dist/lexer.js',
npm ERR! gyp sill build/config.gypi 'deps/undici/undici.js'
npm ERR! gyp sill build/config.gypi ],
npm ERR! gyp sill build/config.gypi node_byteorder: 'little',
npm ERR! gyp sill build/config.gypi node_debug_lib: false,
npm ERR! gyp sill build/config.gypi node_enable_d8: false,
npm ERR! gyp sill build/config.gypi node_enable_v8_vtunejit: false,
npm ERR! gyp sill build/config.gypi node_fipsinstall: false,
npm ERR! gyp sill build/config.gypi node_install_corepack: true,
npm ERR! gyp sill build/config.gypi node_install_npm: true,
npm ERR! gyp sill build/config.gypi node_library_files: [
npm ERR! gyp sill build/config.gypi 'lib/_http_agent.js',
npm ERR! gyp sill build/config.gypi 'lib/_http_client.js',
npm ERR! gyp sill build/config.gypi 'lib/_http_common.js',
npm ERR! gyp sill build/config.gypi 'lib/_http_incoming.js',
npm ERR! gyp sill build/config.gypi 'lib/_http_outgoing.js',
npm ERR! gyp sill build/config.gypi 'lib/_http_server.js',
npm ERR! gyp sill build/config.gypi 'lib/_stream_duplex.js',
npm ERR! gyp sill build/config.gypi 'lib/_stream_passthrough.js',
npm ERR! gyp sill build/config.gypi 'lib/_stream_readable.js',
npm ERR! gyp sill build/config.gypi 'lib/_stream_transform.js',
npm ERR! gyp sill build/config.gypi 'lib/_stream_wrap.js',
npm ERR! gyp sill build/config.gypi 'lib/_stream_writable.js',
npm ERR! gyp sill build/config.gypi 'lib/_tls_common.js',
npm ERR! gyp sill build/config.gypi 'lib/_tls_wrap.js',
npm ERR! gyp sill build/config.gypi 'lib/assert.js',
npm ERR! gyp sill build/config.gypi 'lib/assert/strict.js',
npm ERR! gyp sill build/config.gypi 'lib/async_hooks.js',
npm ERR! gyp sill build/config.gypi 'lib/buffer.js',
npm ERR! gyp sill build/config.gypi 'lib/child_process.js',
npm ERR! gyp sill build/config.gypi 'lib/cluster.js',
npm ERR! gyp sill build/config.gypi 'lib/console.js',
npm ERR! gyp sill build/config.gypi 'lib/constants.js',
npm ERR! gyp sill build/config.gypi 'lib/crypto.js',
npm ERR! gyp sill build/config.gypi 'lib/dgram.js',
npm ERR! gyp sill build/config.gypi 'lib/diagnostics_channel.js',
npm ERR! gyp sill build/config.gypi 'lib/dns.js',
npm ERR! gyp sill build/config.gypi 'lib/dns/promises.js',
npm ERR! gyp sill build/config.gypi 'lib/domain.js',
npm ERR! gyp sill build/config.gypi 'lib/events.js',
npm ERR! gyp sill build/config.gypi 'lib/fs.js',
npm ERR! gyp sill build/config.gypi 'lib/fs/promises.js',
npm ERR! gyp sill build/config.gypi 'lib/http.js',
npm ERR! gyp sill build/config.gypi 'lib/http2.js',
npm ERR! gyp sill build/config.gypi 'lib/https.js',
npm ERR! gyp sill build/config.gypi 'lib/inspector.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/abort_controller.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/assert.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/assert/assertion_error.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/assert/calltracker.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/async_hooks.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/blob.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/blocklist.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/bootstrap/browser.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/bootstrap/node.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/bootstrap/realm.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/bootstrap/switches/does_not_own_process_state.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/bootstrap/switches/does_own_process_state.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/bootstrap/switches/is_main_thread.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/bootstrap/switches/is_not_main_thread.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/buffer.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/child_process.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/child_process/serialization.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/cli_table.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/cluster/child.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/cluster/primary.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/cluster/round_robin_handle.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/cluster/shared_handle.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/cluster/utils.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/cluster/worker.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/console/constructor.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/console/global.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/constants.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/aes.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/certificate.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/cfrg.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/cipher.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/diffiehellman.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/ec.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/hash.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/hashnames.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/hkdf.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/keygen.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/keys.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/mac.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/pbkdf2.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/random.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/rsa.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/scrypt.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/sig.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/util.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/webcrypto.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/webidl.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/crypto/x509.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/debugger/inspect.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/debugger/inspect_client.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/debugger/inspect_repl.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/dgram.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/dns/callback_resolver.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/dns/promises.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/dns/utils.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/dtrace.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/encoding.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/error_serdes.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/errors.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/event_target.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/file.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/fixed_queue.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/freelist.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/freeze_intrinsics.js',
npm ERR! gyp sill build/config.gypi 'lib/internal/fs/cp/cp-sync.js',
npm ERR! gyp sill build/config.gypi ... 210 more items
npm ERR! gyp sill build/config.gypi ],
npm ERR! gyp sill build/config.gypi node_module_version: 108,
npm ERR! gyp sill build/config.gypi node_no_browser_globals: false,
npm ERR! gyp sill build/config.gypi node_prefix: '/',
npm ERR! gyp sill build/config.gypi node_release_urlbase: 'https://nodejs.org/download/release/',
npm ERR! gyp sill build/config.gypi node_shared: false,
npm ERR! gyp sill build/config.gypi node_shared_brotli: false,
npm ERR! gyp sill build/config.gypi node_shared_cares: false,
npm ERR! gyp sill build/config.gypi node_shared_http_parser: false,
npm ERR! gyp sill build/config.gypi node_shared_libuv: false,
npm ERR! gyp sill build/config.gypi node_shared_nghttp2: false,
npm ERR! gyp sill build/config.gypi node_shared_nghttp3: false,
npm ERR! gyp sill build/config.gypi node_shared_ngtcp2: false,
npm ERR! gyp sill build/config.gypi node_shared_openssl: false,
npm ERR! gyp sill build/config.gypi node_shared_zlib: false,
npm ERR! gyp sill build/config.gypi node_tag: '',
npm ERR! gyp sill build/config.gypi node_target_type: 'executable',
npm ERR! gyp sill build/config.gypi node_use_bundled_v8: true,
npm ERR! gyp sill build/config.gypi node_use_dtrace: true,
npm ERR! gyp sill build/config.gypi node_use_etw: false,
npm ERR! gyp sill build/config.gypi node_use_node_code_cache: true,
npm ERR! gyp sill build/config.gypi node_use_node_snapshot: true,
npm ERR! gyp sill build/config.gypi node_use_openssl: true,
npm ERR! gyp sill build/config.gypi node_use_v8_platform: true,
npm ERR! gyp sill build/config.gypi node_with_ltcg: false,
npm ERR! gyp sill build/config.gypi node_without_node_options: false,
npm ERR! gyp sill build/config.gypi openssl_is_fips: false,
npm ERR! gyp sill build/config.gypi openssl_quic: true,
npm ERR! gyp sill build/config.gypi ossfuzz: false,
npm ERR! gyp sill build/config.gypi shlib_suffix: '108.dylib',
npm ERR! gyp sill build/config.gypi single_executable_application: true,
npm ERR! gyp sill build/config.gypi target_arch: 'arm64',
npm ERR! gyp sill build/config.gypi v8_enable_31bit_smis_on_64bit_arch: 0,
npm ERR! gyp sill build/config.gypi v8_enable_gdbjit: 0,
npm ERR! gyp sill build/config.gypi v8_enable_hugepage: 0,
npm ERR! gyp sill build/config.gypi v8_enable_i18n_support: 1,
npm ERR! gyp sill build/config.gypi v8_enable_inspector: 1,
npm ERR! gyp sill build/config.gypi v8_enable_javascript_promise_hooks: 1,
npm ERR! gyp sill build/config.gypi v8_enable_lite_mode: 0,
npm ERR! gyp sill build/config.gypi v8_enable_object_print: 1,
npm ERR! gyp sill build/config.gypi v8_enable_pointer_compression: 0,
npm ERR! gyp sill build/config.gypi v8_enable_shared_ro_heap: 1,
npm ERR! gyp sill build/config.gypi v8_enable_webassembly: 1,
npm ERR! gyp sill build/config.gypi v8_no_strict_aliasing: 1,
npm ERR! gyp sill build/config.gypi v8_optimized_debug: 1,
npm ERR! gyp sill build/config.gypi v8_promise_internal_field_count: 1,
npm ERR! gyp sill build/config.gypi v8_random_seed: 0,
npm ERR! gyp sill build/config.gypi v8_trace_maps: 0,
npm ERR! gyp sill build/config.gypi v8_use_siphash: 1,
npm ERR! gyp sill build/config.gypi want_separate_host_toolset: 0,
npm ERR! gyp sill build/config.gypi xcode_version: '13.0',
npm ERR! gyp sill build/config.gypi nodedir: '/Users/danymarques/Library/Caches/node-gyp/18.19.1',
npm ERR! gyp sill build/config.gypi python: '/opt/homebrew/opt/python@3.11/bin/python3.11',
npm ERR! gyp sill build/config.gypi standalone_static_library: 1,
npm ERR! gyp sill build/config.gypi audit: '',
npm ERR! gyp sill build/config.gypi global_prefix: '/Users/danymarques/.nvm/versions/node/v18.19.1',
npm ERR! gyp sill build/config.gypi registry: 'https://my.private.registry:8443/nexus/repository/npm-mobi/',
npm ERR! gyp sill build/config.gypi local_prefix: '/Users/danymarques/Documents/mobi_projects/test_pact',
npm ERR! gyp sill build/config.gypi globalconfig: '/Users/danymarques/.nvm/versions/node/v18.19.1/etc/npmrc',
npm ERR! gyp sill build/config.gypi always_auth: 'true',
npm ERR! gyp sill build/config.gypi init_module: '/Users/danymarques/.npm-init.js',
npm ERR! gyp sill build/config.gypi userconfig: '/Users/danymarques/.npmrc',
npm ERR! gyp sill build/config.gypi npm_version: '10.2.4',
npm ERR! gyp sill build/config.gypi node_gyp: '/Users/danymarques/.nvm/versions/node/v18.19.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
npm ERR! gyp sill build/config.gypi strict_ssl: '',
npm ERR! gyp sill build/config.gypi prefer_offline: 'true',
npm ERR! gyp sill build/config.gypi cache: '/Users/danymarques/.npm',
npm ERR! gyp sill build/config.gypi user_agent: 'npm/10.2.4 node/v18.19.1 darwin arm64 workspaces/false',
npm ERR! gyp sill build/config.gypi prefix: '/Users/danymarques/.nvm/versions/node/v18.19.1'
npm ERR! gyp sill build/config.gypi }
npm ERR! gyp sill build/config.gypi }
npm ERR! gyp verb build/config.gypi writing out config file: /Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core/build/config.gypi
npm ERR! gyp verb config.gypi checking for gypi file: /Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core/config.gypi
npm ERR! gyp verb common.gypi checking for gypi file: /Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core/common.gypi
npm ERR! gyp verb gyp gyp format was not specified; forcing "make"
npm ERR! gyp info spawn /opt/homebrew/opt/python@3.11/bin/python3.11
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/Users/danymarques/.nvm/versions/node/v18.19.1/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/danymarques/.nvm/versions/node/v18.19.1/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/danymarques/Library/Caches/node-gyp/18.19.1/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/danymarques/Library/Caches/node-gyp/18.19.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/Users/danymarques/.nvm/versions/node/v18.19.1/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/danymarques/Library/Caches/node-gyp/18.19.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp: binding.gyp not found (cwd: /Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core) while trying to load binding.gyp
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.<anonymous> (/Users/danymarques/.nvm/versions/node/v18.19.1/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:271:18)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)
npm ERR! gyp ERR! System Darwin 23.2.0
npm ERR! gyp ERR! command "/Users/danymarques/.nvm/versions/node/v18.19.1/bin/node" "/Users/danymarques/.nvm/versions/node/v18.19.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core
npm ERR! gyp ERR! node -v v18.19.1
npm ERR! gyp ERR! node-gyp -v v10.0.1
npm ERR! gyp ERR! not ok
npm verb exit 1
npm verb unfinished npm timer reify 1709732930254
npm verb unfinished npm timer reify:build 1709732946853
npm verb unfinished npm timer build 1709732946853
npm verb unfinished npm timer build:deps 1709732946853
npm verb unfinished npm timer build:run:install 1709732946858
npm verb unfinished npm timer build:run:install:node_modules/@pact-foundation/pact-core 1709732946858
npm verb code 1

npm ERR! A complete log of this run can be found in: /Users/danymarques/.npm/_logs/2024-03-06T13_48_50_110Z-debug-0.log

When trying to install @pact-foundation/pact-core only using a private registry, I get the error above. If I try to install the same package from npmjs.com it works.
I tried to download the package from our private registry with the browser and install it manually in the project and it also works.
In the logs, the main difference between using the private registry or npmjs.com, is that when using the private registry, the command node-gyp rebuild is executed but it should not be.
Any idea?

@cclauss
Copy link
Contributor

cclauss commented Mar 6, 2024

npm ERR! gyp: binding.gyp not found (cwd: /Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core) while trying to load binding.gyp

@danymarques
Copy link
Author

danymarques commented Mar 6, 2024

npm ERR! gyp: binding.gyp not found (cwd: /Users/danymarques/Documents/mobi_projects/test_pact/node_modules/@pact-foundation/pact-core) while trying to load binding.gyp

Yes but who is trying to load binding.gyp? @cclauss

@cclauss
Copy link
Contributor

cclauss commented Mar 6, 2024

node-gyp is trying to load binding.gyp at

gyp.common.ExceptionAppend(e, "while trying to load %s" % build_file)

@danymarques
Copy link
Author

HI @cclauss ,
Thank's for your hint. That's in fact what's printed in the console.
What I still don't get is, why is node-gyp invoked at all? And also why when I install the same package from npmjs.com it doesn't invoke it?

@cclauss
Copy link
Contributor

cclauss commented Mar 7, 2024

Perhaps node-gyp is getting invoked in both instances but it the npm install there is a binding.gyp file and there is none in the private repo.

@danymarques
Copy link
Author

Hi @cclauss,
I just installed the package with --ignore-scripts with both registries and looked for a binding.gyp file after each install. In both cases, there is no binding.gyp in the node_modules.
I also verified the versions of the packages installed along with the @pact-foundation/pact-core@14.3.0 and for both registries, the packages in the node_modules directory are exactly at the same version.
Any ideas?

@cclauss
Copy link
Contributor

cclauss commented Mar 8, 2024

Do any ideas from #2714 help?

@rfsbsb
Copy link

rfsbsb commented Mar 8, 2024

We started seeing the same behavior yesterday. The package I tried to install is different (mongodb-client-encryption) but the results are pretty similar. I downloaded the tarball from both registries (private and npmjs) compared the contents they are the same (and both contain binding.gyp file).

I'm using nvm locally on macos but we saw that on our CI build (using linux) as well. If I remove our custom registry from .npmrc everything works fine, otherwise it fails.

Running npm install --verbose when I try to install from our private registry I noticed the following line:

npm info run mongodb-client-encryption@6.0.0 install node_modules/mongodb-client-encryption node-gyp rebuild
npm info run mongodb-client-encryption@6.0.0 install { code: null, signal: 'SIGINT' }

However when I try to install from npmjs I see:

npm info run mongodb-client-encryption@6.0.0 install node_modules/mongodb-client-encryption prebuild-install --runtime napi --tag-prefix node-v || node-gyp rebuild
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 233ms
npm timing auditReport:getReport Completed in 236ms
npm timing auditReport:init Completed in 0ms
npm timing reify:audit Completed in 238ms
npm info run mongodb-client-encryption@6.0.0 install { code: 0, signal: null }

I don't know very well the in-and-outs of npm and node-gyp to understand why this would be different and if that's relevant, or if even if we need to configure something on our registry...

@danymarques
Copy link
Author

Do any ideas from #2714 help?

@cclauss Unfortunately, no. The problem looks obvious, node-gyp is triggered but it should not. Any ideas to figure out the stack trace? To check who invokes this?

@cclauss
Copy link
Contributor

cclauss commented Mar 8, 2024

These repos are launching node-gyp... If you do not want node-gyp to be used, please open issues on these repos.

@danymarques
Copy link
Author

@cclauss I'm digging into this and to me, some node-gyp-build script doesn't behave the same when using a private registry.

@rfsbsb
Copy link

rfsbsb commented Mar 8, 2024

The package I mentioned is just one example, actually any package that needs native build had this issue for us.
I'm not saying this is a node-gyp problem, I'm just curious if this is a known behavior to happen for private registry or could this actually an issue with the registry service (JFrog)...

@YOU54F
Copy link

YOU54F commented Mar 13, 2024

These repos are launching node-gyp... If you do not want node-gyp to be used, please open issues on these repos.

Hi, maintainer of pact-js-core here.

the binding.gyp is purposely excluded from the published npm package, as prebuilt node bindings for all platforms are shipped in the npm module.

node-gyp is a dependency in the project, in order to load the bindings at runtime.

We do not expect, or want node-gyp to trigger at install time, regardless of the users --no-scripts preference.

I would imagine lifting the required code from node-gyp, and removing the dependency with solve this issue for end users that suffer it.

I was not able to reproduce with a locally running verdaccio instance

Full slack thread from the OP regarding this issue is here in our slack archive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants