Created
September 13, 2023 21:28
-
-
Save bshambaugh/9a78b47571bdb0220db62f505a1a7020 to your computer and use it in GitHub Desktop.
npm install mdns error --- maybe a python version problem??
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 verbose cli /usr/local/bin/node /usr/local/bin/npm | |
1 info using npm@9.8.1 | |
2 info using node@v18.16.0 | |
3 timing npm:load:whichnode Completed in 6ms | |
4 timing config:load:defaults Completed in 9ms | |
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 4ms | |
6 timing config:load:builtin Completed in 6ms | |
7 timing config:load:cli Completed in 26ms | |
8 timing config:load:env Completed in 2ms | |
9 timing config:load:file:/home/brent/Downloads/queryMDNS/.npmrc Completed in 0ms | |
10 timing config:load:project Completed in 25ms | |
11 timing config:load:file:/home/brent/.npmrc Completed in 0ms | |
12 timing config:load:user Completed in 1ms | |
13 timing config:load:file:/usr/local/etc/npmrc Completed in 1ms | |
14 timing config:load:global Completed in 1ms | |
15 timing config:load:setEnvs Completed in 5ms | |
16 timing config:load Completed in 76ms | |
17 timing npm:load:configload Completed in 78ms | |
18 timing config:load:flatten Completed in 15ms | |
19 timing npm:load:mkdirpcache Completed in 1ms | |
20 timing npm:load:mkdirplogs Completed in 0ms | |
21 verbose title npm install mdns@2.7.2 | |
22 verbose argv "install" "mdns@2.7.2" | |
23 timing npm:load:setTitle Completed in 4ms | |
24 timing npm:load:display Completed in 3ms | |
25 verbose logfile logs-max:10 dir:/home/brent/.npm/_logs/2023-09-13T21_07_01_822Z- | |
26 verbose logfile /home/brent/.npm/_logs/2023-09-13T21_07_01_822Z-debug-0.log | |
27 timing npm:load:logFile Completed in 47ms | |
28 timing npm:load:timers Completed in 0ms | |
29 timing npm:load:configScope Completed in 0ms | |
30 timing npm:load Completed in 234ms | |
31 timing arborist:ctor Completed in 5ms | |
32 silly logfile start cleaning logs, removing 1 files | |
33 silly logfile done cleaning log files | |
34 timing idealTree:init Completed in 189ms | |
35 timing idealTree:userRequests Completed in 10ms | |
36 silly idealTree buildDeps | |
37 silly fetch manifest mdns@2.7.2 | |
38 timing arborist:ctor Completed in 1ms | |
39 http fetch GET 200 https://registry.npmjs.org/mdns 111ms (cache hit) | |
40 silly placeDep ROOT mdns@2.7.2 OK for: want: 2.7.2 | |
41 silly fetch manifest bindings@~1.2.1 | |
42 silly fetch manifest nan@^2.14.0 | |
43 http fetch GET 200 https://registry.npmjs.org/bindings 43ms (cache hit) | |
44 http fetch GET 200 https://registry.npmjs.org/nan 47ms (cache hit) | |
45 timing idealTree:#root Completed in 209ms | |
46 silly placeDep ROOT bindings@1.2.1 OK for: mdns@2.7.2 want: ~1.2.1 | |
47 silly placeDep ROOT nan@2.18.0 OK for: mdns@2.7.2 want: ^2.14.0 | |
48 timing idealTree:node_modules/mdns Completed in 27ms | |
49 timing idealTree:node_modules/bindings Completed in 0ms | |
50 timing idealTree:node_modules/nan Completed in 0ms | |
51 timing idealTree:buildDeps Completed in 243ms | |
52 timing idealTree:fixDepFlags Completed in 2ms | |
53 timing idealTree Completed in 451ms | |
54 timing reify:loadTrees Completed in 455ms | |
55 timing reify:diffTrees Completed in 10ms | |
56 silly reify moves {} | |
57 timing reify:retireShallow Completed in 6ms | |
58 timing reify:createSparse Completed in 8ms | |
59 timing reify:loadBundles Completed in 0ms | |
60 silly audit bulk request { | |
60 silly audit axo: [ '0.0.2' ], | |
60 silly audit eventemitter3: [ '4.0.7' ], | |
60 silly audit extendible: [ '0.1.1' ], | |
60 silly audit failure: [ '1.1.1' ], | |
60 silly audit hang: [ '1.0.0' ], | |
60 silly audit loads: [ '0.0.4' ], | |
60 silly audit 'node-http-xhr': [ '1.3.4' ], | |
60 silly audit 'one-time': [ '0.0.4' ], | |
60 silly audit requests: [ '0.3.0' ], | |
60 silly audit 'xhr-response': [ '1.0.1' ], | |
60 silly audit 'xhr-send': [ '1.0.0' ], | |
60 silly audit 'xhr-status': [ '1.0.1' ], | |
60 silly audit mdns: [ '2.7.2' ], | |
60 silly audit bindings: [ '1.2.1' ], | |
60 silly audit nan: [ '2.18.0' ] | |
60 silly audit } | |
61 timing reifyNode:node_modules/bindings Completed in 568ms | |
62 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 707ms | |
63 timing auditReport:getReport Completed in 728ms | |
64 silly audit report {} | |
65 timing auditReport:init Completed in 0ms | |
66 timing reify:audit Completed in 732ms | |
67 timing reifyNode:node_modules/nan Completed in 745ms | |
68 timing reifyNode:node_modules/mdns Completed in 748ms | |
69 timing reify:unpack Completed in 751ms | |
70 timing reify:unretire Completed in 1ms | |
71 timing build:queue Completed in 5ms | |
72 info run mdns@2.7.2 install node_modules/mdns node-gyp rebuild | |
73 info run mdns@2.7.2 install { code: 1, signal: null } | |
74 timing reify:rollback:createSparse Completed in 56ms | |
75 timing reify:rollback:retireShallow Completed in 0ms | |
76 timing command:install Completed in 4630ms | |
77 verbose stack Error: command failed | |
77 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27) | |
77 verbose stack at ChildProcess.emit (node:events:513:28) | |
77 verbose stack at maybeClose (node:internal/child_process:1091:16) | |
77 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:302:5) | |
78 verbose pkgid mdns@2.7.2 | |
79 verbose cwd /home/brent/Downloads/queryMDNS | |
80 verbose Linux 5.15.0-76-generic | |
81 verbose node v18.16.0 | |
82 verbose npm v9.8.1 | |
83 error code 1 | |
84 error path /home/brent/Downloads/queryMDNS/node_modules/mdns | |
85 error command failed | |
86 error command sh -c node-gyp rebuild | |
87 error make: Entering directory '/home/brent/Downloads/queryMDNS/node_modules/mdns/build' | |
87 error CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o | |
87 error make: Leaving directory '/home/brent/Downloads/queryMDNS/node_modules/mdns/build' | |
88 error gyp info it worked if it ends with ok | |
88 error gyp info using node-gyp@9.4.0 | |
88 error gyp info using node@18.16.0 | linux | x64 | |
88 error gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3" | |
88 error gyp info spawn /usr/bin/python3 | |
88 error gyp info spawn args [ | |
88 error gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', | |
88 error gyp info spawn args 'binding.gyp', | |
88 error gyp info spawn args '-f', | |
88 error gyp info spawn args 'make', | |
88 error gyp info spawn args '-I', | |
88 error gyp info spawn args '/home/brent/Downloads/queryMDNS/node_modules/mdns/build/config.gypi', | |
88 error gyp info spawn args '-I', | |
88 error gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', | |
88 error gyp info spawn args '-I', | |
88 error gyp info spawn args '/home/brent/.cache/node-gyp/18.16.0/include/node/common.gypi', | |
88 error gyp info spawn args '-Dlibrary=shared_library', | |
88 error gyp info spawn args '-Dvisibility=default', | |
88 error gyp info spawn args '-Dnode_root_dir=/home/brent/.cache/node-gyp/18.16.0', | |
88 error gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', | |
88 error gyp info spawn args '-Dnode_lib_file=/home/brent/.cache/node-gyp/18.16.0/<(target_arch)/node.lib', | |
88 error gyp info spawn args '-Dmodule_root_dir=/home/brent/Downloads/queryMDNS/node_modules/mdns', | |
88 error gyp info spawn args '-Dnode_engine=v8', | |
88 error gyp info spawn args '--depth=.', | |
88 error gyp info spawn args '--no-parallel', | |
88 error gyp info spawn args '--generator-output', | |
88 error gyp info spawn args 'build', | |
88 error gyp info spawn args '-Goutput_dir=.' | |
88 error gyp info spawn args ] | |
88 error gyp info spawn make | |
88 error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] | |
88 error In file included from ../src/dns_sd.cpp:1: | |
88 error ../src/mdns.hpp:32:10: fatal error: dns_sd.h: No such file or directory | |
88 error 32 | #include <dns_sd.h> | |
88 error | ^~~~~~~~~~ | |
88 error compilation terminated. | |
88 error make: *** [dns_sd_bindings.target.mk:183: Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 1 | |
88 error gyp ERR! build error | |
88 error gyp ERR! stack Error: `make` failed with exit code: 2 | |
88 error gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23) | |
88 error gyp ERR! stack at ChildProcess.emit (node:events:513:28) | |
88 error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12) | |
88 error gyp ERR! System Linux 5.15.0-76-generic | |
88 error gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
88 error gyp ERR! cwd /home/brent/Downloads/queryMDNS/node_modules/mdns | |
88 error gyp ERR! node -v v18.16.0 | |
88 error gyp ERR! node-gyp -v v9.4.0 | |
88 error gyp ERR! not ok | |
89 verbose exit 1 | |
90 timing npm Completed in 5796ms | |
91 verbose unfinished npm timer reify 1694639222979 | |
92 verbose unfinished npm timer reify:build 1694639224275 | |
93 verbose unfinished npm timer build 1694639224276 | |
94 verbose unfinished npm timer build:deps 1694639224276 | |
95 verbose unfinished npm timer build:run:install 1694639224283 | |
96 verbose unfinished npm timer build:run:install:node_modules/mdns 1694639224284 | |
97 verbose code 1 | |
98 error A complete log of this run can be found in: /home/brent/.npm/_logs/2023-09-13T21_07_01_822Z-debug-0.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment