dank074 / Discord-video-stream

Experiment for making video streaming work for discord selfbots.
170 stars 32 forks source link

Unable to install this project using NPM - SOLVED, CANT RUN ON STEAM DECK #58

Closed bengeek2 closed 6 months ago

bengeek2 commented 6 months ago

Upon attempting to install the package with npm by using "npm install @dank074/discord-video-stream@latest" the install errors out and fails. Errors start at ~line 480 in the log. It appears that this is an issue with installing opus, I do not know if this is relevent, but the package referenced on line 486 no longer exists.

verbose cli /usr/bin/node /usr/bin/npm
1 info using npm@8.19.2
2 info using node@v20.3.0
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 5ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 1ms
9 timing config:load:project Completed in 1ms
10 timing config:load:file:/home/deck/.npmrc Completed in 0ms
11 timing config:load:user Completed in 0ms
12 timing config:load:file:/usr/etc/npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:validate Completed in 1ms
15 timing config:load:credentials Completed in 1ms
16 timing config:load:setEnvs Completed in 1ms
17 timing config:load Completed in 15ms
18 timing npm:load:configload Completed in 15ms
19 timing npm:load:mkdirpcache Completed in 1ms
20 timing npm:load:mkdirplogs Completed in 1ms
21 verbose title npm install @dank074/discord-video-stream@latest
22 verbose argv "install" "@dank074/discord-video-stream@latest"
23 timing npm:load:setTitle Completed in 1ms
24 timing config:load:flatten Completed in 3ms
25 timing npm:load:display Completed in 5ms
26 verbose logfile logs-max:10 dir:/home/deck/.npm/_logs
27 verbose logfile /home/deck/.npm/_logs/2024-02-02T17_59_13_596Z-debug-0.log
28 timing npm:load:logFile Completed in 6ms
29 timing npm:load:timers Completed in 0ms
30 timing npm:load:configScope Completed in 0ms
31 timing npm:load Completed in 30ms
32 timing arborist:ctor Completed in 0ms
33 silly logfile start cleaning logs, removing 1 files
34 silly logfile done cleaning log files
35 timing arborist:ctor Completed in 0ms
36 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules
37 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules
38 timing idealTree:init Completed in 91ms
39 http fetch GET 200 https://registry.npmjs.org/@dank074%2fdiscord-video-stream 993ms (cache revalidated)
40 timing idealTree:userRequests Completed in 1000ms
41 silly idealTree buildDeps
42 silly fetch manifest @dank074/discord-video-stream@3.0.5
43 silly fetch manifest discord.js-selfbot-v13@2.x
44 http fetch GET 200 https://registry.npmjs.org/discord.js-selfbot-v13 283ms (cache revalidated)
45 silly placeDep ROOT @dank074/discord-video-stream@3.0.5 OK for:  want: 3.0.5
46 silly placeDep ROOT discord.js-selfbot-v13@2.15.1 REPLACE for: @dank074/discord-video-stream@3.0.5 want: 2.x
47 silly fetch manifest @dank074/fluent-ffmpeg-multistream-ts@^1.0.2
48 silly fetch manifest @discordjs/opus@^0.8.0
49 silly fetch manifest fluent-ffmpeg@^2.1.2
50 silly fetch manifest libsodium-wrappers@^0.7.11
51 silly fetch manifest prism-media@^1.3.5
52 silly fetch manifest @discordjs/voice@^0.16.0
53 silly fetch manifest chalk@^4.1.2
54 silly fetch manifest json-bigint@^1.0.0
55 silly fetch manifest lodash.permutations@^1.0.0
56 silly fetch manifest safe-base64@^2.0.1-0
57 silly fetch manifest string-similarity@^4.0.4
58 silly fetch manifest string_decoder@^1.3.0
59 http fetch GET 200 https://registry.npmjs.org/json-bigint 50ms (cache hit)
60 http fetch GET 200 https://registry.npmjs.org/chalk 52ms (cache hit)
61 http fetch GET 200 https://registry.npmjs.org/lodash.permutations 53ms (cache hit)
62 http fetch GET 200 https://registry.npmjs.org/safe-base64 53ms (cache hit)
63 http fetch GET 200 https://registry.npmjs.org/string-similarity 53ms (cache hit)
64 http fetch GET 200 https://registry.npmjs.org/@discordjs%2fvoice 62ms (cache hit)
65 http fetch GET 200 https://registry.npmjs.org/libsodium-wrappers 215ms (cache revalidated)
66 http fetch GET 200 https://registry.npmjs.org/string_decoder 215ms (cache revalidated)
67 http fetch GET 200 https://registry.npmjs.org/@discordjs%2fopus 285ms (cache revalidated)
68 http fetch GET 200 https://registry.npmjs.org/fluent-ffmpeg 561ms (cache revalidated)
69 http fetch GET 200 https://registry.npmjs.org/@dank074%2ffluent-ffmpeg-multistream-ts 564ms (cache revalidated)
70 http fetch GET 200 https://registry.npmjs.org/prism-media 562ms (cache revalidated)
71 timing idealTree:#root Completed in 907ms
72 silly fetch manifest ffmpeg-static@^5.0.2 || ^4.2.7 || ^3.0.0 || ^2.4.0
73 http fetch GET 200 https://registry.npmjs.org/ffmpeg-static 396ms (cache revalidated)
74 silly fetch manifest node-opus@^0.3.3
75 http fetch GET 200 https://registry.npmjs.org/node-opus 203ms (cache revalidated)
76 silly fetch manifest opusscript@^0.0.8
77 http fetch GET 200 https://registry.npmjs.org/opusscript 158ms (cache revalidated)
78 silly placeDep ROOT @dank074/fluent-ffmpeg-multistream-ts@1.0.2 OK for: @dank074/discord-video-stream@3.0.5 want: ^1.0.2
79 silly placeDep ROOT @discordjs/opus@0.8.0 OK for: @dank074/discord-video-stream@3.0.5 want: ^0.8.0
80 silly placeDep ROOT fluent-ffmpeg@2.1.2 OK for: @dank074/discord-video-stream@3.0.5 want: ^2.1.2
81 silly placeDep ROOT libsodium-wrappers@0.7.13 OK for: @dank074/discord-video-stream@3.0.5 want: ^0.7.11
82 silly placeDep ROOT prism-media@1.3.5 OK for: @dank074/discord-video-stream@3.0.5 want: ^1.3.5
83 silly fetch manifest @discordjs/node-pre-gyp@^0.4.4
84 silly fetch manifest node-addon-api@^5.0.0
85 silly fetch manifest async@>=0.2.9
86 silly fetch manifest which@^1.1.1
87 silly fetch manifest libsodium@^0.7.13
88 http fetch GET 200 https://registry.npmjs.org/which 76ms (cache revalidated)
89 http fetch GET 200 https://registry.npmjs.org/libsodium 84ms (cache revalidated)
90 http fetch GET 200 https://registry.npmjs.org/async 89ms (cache revalidated)
91 http fetch GET 200 https://registry.npmjs.org/node-addon-api 97ms (cache revalidated)
92 http fetch GET 200 https://registry.npmjs.org/@discordjs%2fnode-pre-gyp 853ms (cache revalidated)
93 timing idealTree:node_modules/@dank074/discord-video-stream Completed in 1633ms
94 timing idealTree:node_modules/@dank074/fluent-ffmpeg-multistream-ts Completed in 0ms
95 silly placeDep ROOT @discordjs/node-pre-gyp@0.4.5 OK for: @discordjs/opus@0.8.0 want: ^0.4.4
96 silly placeDep ROOT node-addon-api@5.1.0 OK for: @discordjs/opus@0.8.0 want: ^5.0.0
97 silly fetch manifest detect-libc@^2.0.0
98 silly fetch manifest https-proxy-agent@^5.0.0
99 silly fetch manifest make-dir@^3.1.0
100 silly fetch manifest nopt@^5.0.0
101 silly fetch manifest npmlog@^5.0.1
102 silly fetch manifest rimraf@^3.0.2
103 silly fetch manifest semver@^7.3.5
104 silly fetch manifest tar@^6.1.11
105 http fetch GET 200 https://registry.npmjs.org/semver 79ms (cache revalidated)
106 http fetch GET 200 https://registry.npmjs.org/nopt 93ms (cache revalidated)
107 http fetch GET 200 https://registry.npmjs.org/make-dir 96ms (cache revalidated)
108 http fetch GET 200 https://registry.npmjs.org/npmlog 99ms (cache revalidated)
109 http fetch GET 200 https://registry.npmjs.org/rimraf 102ms (cache revalidated)
110 http fetch GET 200 https://registry.npmjs.org/tar 104ms (cache revalidated)
111 http fetch GET 200 https://registry.npmjs.org/https-proxy-agent 185ms (cache revalidated)
112 http fetch GET 200 https://registry.npmjs.org/detect-libc 197ms (cache revalidated)
113 timing idealTree:node_modules/@discordjs/opus Completed in 202ms
114 silly placeDep ROOT detect-libc@2.0.2 OK for: @discordjs/node-pre-gyp@0.4.5 want: ^2.0.0
115 silly placeDep ROOT https-proxy-agent@5.0.1 OK for: @discordjs/node-pre-gyp@0.4.5 want: ^5.0.0
116 silly placeDep ROOT make-dir@3.1.0 OK for: @discordjs/node-pre-gyp@0.4.5 want: ^3.1.0
117 silly placeDep ROOT nopt@5.0.0 OK for: @discordjs/node-pre-gyp@0.4.5 want: ^5.0.0
118 silly placeDep ROOT npmlog@5.0.1 OK for: @discordjs/node-pre-gyp@0.4.5 want: ^5.0.1
119 silly placeDep ROOT rimraf@3.0.2 OK for: @discordjs/node-pre-gyp@0.4.5 want: ^3.0.2
120 silly placeDep ROOT semver@7.5.4 OK for: @discordjs/node-pre-gyp@0.4.5 want: ^7.3.5
121 silly placeDep ROOT tar@6.2.0 OK for: @discordjs/node-pre-gyp@0.4.5 want: ^6.1.11
122 silly fetch manifest agent-base@6
123 silly fetch manifest debug@4
124 silly fetch manifest semver@^6.0.0
125 silly fetch manifest abbrev@1
126 silly fetch manifest are-we-there-yet@^2.0.0
127 silly fetch manifest console-control-strings@^1.1.0
128 silly fetch manifest gauge@^3.0.0
129 silly fetch manifest set-blocking@^2.0.0
130 silly fetch manifest glob@^7.1.3
131 silly fetch manifest lru-cache@^6.0.0
132 silly fetch manifest chownr@^2.0.0
133 silly fetch manifest fs-minipass@^2.0.0
134 silly fetch manifest minipass@^5.0.0
135 silly fetch manifest minizlib@^2.1.1
136 silly fetch manifest mkdirp@^1.0.3
137 silly fetch manifest yallist@^4.0.0
138 http fetch GET 200 https://registry.npmjs.org/debug 107ms (cache revalidated)
139 http fetch GET 200 https://registry.npmjs.org/agent-base 111ms (cache revalidated)
140 http fetch GET 200 https://registry.npmjs.org/lru-cache 105ms (cache revalidated)
141 http fetch GET 200 https://registry.npmjs.org/console-control-strings 133ms (cache revalidated)
142 http fetch GET 200 https://registry.npmjs.org/set-blocking 132ms (cache revalidated)
143 http fetch GET 200 https://registry.npmjs.org/are-we-there-yet 140ms (cache revalidated)
144 http fetch GET 200 https://registry.npmjs.org/chownr 132ms (cache revalidated)
145 http fetch GET 200 https://registry.npmjs.org/gauge 141ms (cache revalidated)
146 http fetch GET 200 https://registry.npmjs.org/abbrev 189ms (cache revalidated)
147 http fetch GET 200 https://registry.npmjs.org/minipass 193ms (cache revalidated)
148 http fetch GET 200 https://registry.npmjs.org/yallist 199ms (cache revalidated)
149 http fetch GET 200 https://registry.npmjs.org/mkdirp 206ms (cache revalidated)
150 http fetch GET 200 https://registry.npmjs.org/minizlib 209ms (cache revalidated)
151 http fetch GET 200 https://registry.npmjs.org/glob 216ms (cache revalidated)
152 http fetch GET 200 https://registry.npmjs.org/fs-minipass 219ms (cache revalidated)
153 timing idealTree:node_modules/@discordjs/node-pre-gyp Completed in 250ms
154 timing idealTree:node_modules/detect-libc Completed in 0ms
155 silly fetch manifest lodash@^4.0.0
156 http fetch GET 200 https://registry.npmjs.org/lodash 6ms (cache hit)
157 silly placeDep ROOT @discordjs/voice@0.16.1 OK for: discord.js-selfbot-v13@2.15.1 want: ^0.16.0
158 silly placeDep ROOT chalk@4.1.2 OK for: discord.js-selfbot-v13@2.15.1 want: ^4.1.2
159 silly placeDep ROOT json-bigint@1.0.0 OK for: discord.js-selfbot-v13@2.15.1 want: ^1.0.0
160 silly placeDep ROOT lodash.permutations@1.0.0 OK for: discord.js-selfbot-v13@2.15.1 want: ^1.0.0
161 silly placeDep ROOT safe-base64@2.0.1-0 OK for: discord.js-selfbot-v13@2.15.1 want: ^2.0.1-0
162 silly placeDep ROOT string_decoder@1.3.0 OK for: discord.js-selfbot-v13@2.15.1 want: ^1.3.0
163 silly placeDep ROOT string-similarity@4.0.4 OK for: discord.js-selfbot-v13@2.15.1 want: ^4.0.4
164 silly fetch manifest discord-api-types@0.37.61
165 silly fetch manifest ansi-styles@^4.1.0
166 silly fetch manifest supports-color@^7.1.0
167 silly fetch manifest bignumber.js@^9.0.0
168 silly fetch manifest safe-buffer@~5.2.0
169 http fetch GET 200 https://registry.npmjs.org/supports-color 16ms (cache hit)
170 http fetch GET 200 https://registry.npmjs.org/bignumber.js 16ms (cache hit)
171 http fetch GET 200 https://registry.npmjs.org/ansi-styles 20ms (cache hit)
172 http fetch GET 200 https://registry.npmjs.org/discord-api-types 26ms (cache hit)
173 http fetch GET 200 https://registry.npmjs.org/safe-buffer 74ms (cache revalidated)
174 timing idealTree:node_modules/discord.js-selfbot-v13 Completed in 102ms
175 silly placeDep node_modules/@discordjs/voice discord-api-types@0.37.61 OK for: @discordjs/voice@0.16.1 want: 0.37.61
176 timing idealTree:node_modules/@discordjs/voice Completed in 2ms
177 silly placeDep ROOT ansi-styles@4.3.0 OK for: chalk@4.1.2 want: ^4.1.0
178 silly placeDep ROOT supports-color@7.2.0 OK for: chalk@4.1.2 want: ^7.1.0
179 silly fetch manifest color-convert@^2.0.1
180 silly fetch manifest has-flag@^4.0.0
181 http fetch GET 200 https://registry.npmjs.org/has-flag 9ms (cache hit)
182 http fetch GET 200 https://registry.npmjs.org/color-convert 11ms (cache hit)
183 timing idealTree:node_modules/chalk Completed in 14ms
184 silly placeDep ROOT color-convert@2.0.1 OK for: ansi-styles@4.3.0 want: ^2.0.1
185 silly fetch manifest color-name@~1.1.4
186 http fetch GET 200 https://registry.npmjs.org/color-name 5ms (cache hit)
187 timing idealTree:node_modules/ansi-styles Completed in 9ms
188 silly placeDep ROOT color-name@1.1.4 OK for: color-convert@2.0.1 want: ~1.1.4
189 timing idealTree:node_modules/color-convert Completed in 1ms
190 timing idealTree:node_modules/color-name Completed in 0ms
191 silly placeDep ROOT async@3.2.5 OK for: fluent-ffmpeg@2.1.2 want: >=0.2.9
192 silly placeDep ROOT which@1.3.1 OK for: fluent-ffmpeg@2.1.2 want: ^1.1.1
193 silly fetch manifest isexe@^2.0.0
194 http fetch GET 200 https://registry.npmjs.org/isexe 64ms (cache revalidated)
195 timing idealTree:node_modules/fluent-ffmpeg Completed in 67ms
196 timing idealTree:node_modules/async Completed in 0ms
197 silly placeDep ROOT agent-base@6.0.2 OK for: https-proxy-agent@5.0.1 want: 6
198 silly placeDep ROOT debug@4.3.4 OK for: https-proxy-agent@5.0.1 want: 4
199 silly fetch manifest ms@2.1.2
200 http fetch GET 200 https://registry.npmjs.org/ms 73ms (cache revalidated)
201 timing idealTree:node_modules/https-proxy-agent Completed in 79ms
202 timing idealTree:node_modules/agent-base Completed in 0ms
203 silly placeDep ROOT ms@2.1.2 OK for: debug@4.3.4 want: 2.1.2
204 timing idealTree:node_modules/debug Completed in 1ms
205 silly placeDep ROOT bignumber.js@9.1.2 OK for: json-bigint@1.0.0 want: ^9.0.0
206 timing idealTree:node_modules/json-bigint Completed in 1ms
207 timing idealTree:node_modules/bignumber.js Completed in 0ms
208 silly placeDep ROOT libsodium@0.7.13 OK for: libsodium-wrappers@0.7.13 want: ^0.7.13
209 timing idealTree:node_modules/libsodium-wrappers Completed in 1ms
210 timing idealTree:node_modules/libsodium Completed in 0ms
211 timing idealTree:node_modules/lodash.permutations Completed in 0ms
212 silly placeDep node_modules/make-dir semver@6.3.1 OK for: make-dir@3.1.0 want: ^6.0.0
213 timing idealTree:node_modules/make-dir Completed in 2ms
214 timing idealTree:node_modules/ms Completed in 0ms
215 timing idealTree:node_modules/node-addon-api Completed in 0ms
216 silly placeDep ROOT abbrev@1.1.1 OK for: nopt@5.0.0 want: 1
217 timing idealTree:node_modules/nopt Completed in 1ms
218 timing idealTree:node_modules/abbrev Completed in 0ms
219 silly placeDep ROOT are-we-there-yet@2.0.0 OK for: npmlog@5.0.1 want: ^2.0.0
220 silly placeDep ROOT console-control-strings@1.1.0 OK for: npmlog@5.0.1 want: ^1.1.0
221 silly placeDep ROOT gauge@3.0.2 OK for: npmlog@5.0.1 want: ^3.0.0
222 silly placeDep ROOT set-blocking@2.0.0 OK for: npmlog@5.0.1 want: ^2.0.0
223 silly fetch manifest delegates@^1.0.0
224 silly fetch manifest readable-stream@^3.6.0
225 silly fetch manifest aproba@^1.0.3 || ^2.0.0
226 silly fetch manifest color-support@^1.1.2
227 silly fetch manifest has-unicode@^2.0.1
228 silly fetch manifest object-assign@^4.1.1
229 silly fetch manifest signal-exit@^3.0.0
230 silly fetch manifest string-width@^4.2.3
231 silly fetch manifest strip-ansi@^6.0.1
232 silly fetch manifest wide-align@^1.1.2
233 http fetch GET 200 https://registry.npmjs.org/aproba 76ms (cache revalidated)
234 http fetch GET 200 https://registry.npmjs.org/wide-align 77ms (cache revalidated)
235 http fetch GET 200 https://registry.npmjs.org/color-support 86ms (cache revalidated)
236 http fetch GET 200 https://registry.npmjs.org/signal-exit 83ms (cache revalidated)
237 http fetch GET 200 https://registry.npmjs.org/readable-stream 90ms (cache revalidated)
238 http fetch GET 200 https://registry.npmjs.org/string-width 106ms (cache revalidated)
239 http fetch GET 200 https://registry.npmjs.org/delegates 122ms (cache revalidated)
240 http fetch GET 200 https://registry.npmjs.org/object-assign 116ms (cache revalidated)
241 http fetch GET 200 https://registry.npmjs.org/has-unicode 119ms (cache revalidated)
242 http fetch GET 200 https://registry.npmjs.org/strip-ansi 112ms (cache revalidated)
243 timing idealTree:node_modules/npmlog Completed in 129ms
244 silly placeDep ROOT delegates@1.0.0 OK for: are-we-there-yet@2.0.0 want: ^1.0.0
245 silly placeDep ROOT readable-stream@3.6.2 OK for: are-we-there-yet@2.0.0 want: ^3.6.0
246 silly fetch manifest inherits@^2.0.3
247 silly fetch manifest util-deprecate@^1.0.1
248 http fetch GET 200 https://registry.npmjs.org/inherits 63ms (cache revalidated)
249 http fetch GET 200 https://registry.npmjs.org/util-deprecate 85ms (cache revalidated)
250 timing idealTree:node_modules/are-we-there-yet Completed in 92ms
251 timing idealTree:node_modules/console-control-strings Completed in 0ms
252 timing idealTree:node_modules/delegates Completed in 0ms
253 silly placeDep ROOT aproba@2.0.0 OK for: gauge@3.0.2 want: ^1.0.3 || ^2.0.0
254 silly placeDep ROOT color-support@1.1.3 OK for: gauge@3.0.2 want: ^1.1.2
255 silly placeDep ROOT has-unicode@2.0.1 OK for: gauge@3.0.2 want: ^2.0.1
256 silly placeDep ROOT object-assign@4.1.1 OK for: gauge@3.0.2 want: ^4.1.1
257 silly placeDep ROOT signal-exit@3.0.7 OK for: gauge@3.0.2 want: ^3.0.0
258 silly placeDep ROOT string-width@4.2.3 OK for: gauge@3.0.2 want: ^4.2.3
259 silly placeDep ROOT strip-ansi@6.0.1 OK for: gauge@3.0.2 want: ^6.0.1
260 silly placeDep ROOT wide-align@1.1.5 OK for: gauge@3.0.2 want: ^1.1.2
261 silly fetch manifest emoji-regex@^8.0.0
262 silly fetch manifest is-fullwidth-code-point@^3.0.0
263 silly fetch manifest ansi-regex@^5.0.1
264 http fetch GET 200 https://registry.npmjs.org/emoji-regex 65ms (cache revalidated)
265 http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 67ms (cache revalidated)
266 http fetch GET 200 https://registry.npmjs.org/ansi-regex 71ms (cache revalidated)
267 timing idealTree:node_modules/gauge Completed in 85ms
268 timing idealTree:node_modules/aproba Completed in 0ms
269 timing idealTree:node_modules/color-support Completed in 0ms
270 timing idealTree:node_modules/has-unicode Completed in 0ms
271 timing idealTree:node_modules/object-assign Completed in 0ms
272 timing idealTree:node_modules/prism-media Completed in 0ms
273 silly placeDep ROOT inherits@2.0.4 OK for: readable-stream@3.6.2 want: ^2.0.3
274 silly placeDep ROOT util-deprecate@1.0.2 OK for: readable-stream@3.6.2 want: ^1.0.1
275 timing idealTree:node_modules/readable-stream Completed in 3ms
276 timing idealTree:node_modules/inherits Completed in 0ms
277 silly placeDep ROOT glob@7.2.3 OK for: rimraf@3.0.2 want: ^7.1.3
278 silly fetch manifest fs.realpath@^1.0.0
279 silly fetch manifest inflight@^1.0.4
280 silly fetch manifest minimatch@^3.1.1
281 silly fetch manifest once@^1.3.0
282 silly fetch manifest path-is-absolute@^1.0.0
283 http fetch GET 200 https://registry.npmjs.org/once 77ms (cache revalidated)
284 http fetch GET 200 https://registry.npmjs.org/path-is-absolute 237ms (cache revalidated)
285 http fetch GET 200 https://registry.npmjs.org/minimatch 241ms (cache revalidated)
286 http fetch GET 200 https://registry.npmjs.org/inflight 246ms (cache revalidated)
287 http fetch GET 200 https://registry.npmjs.org/fs.realpath 247ms (cache revalidated)
288 timing idealTree:node_modules/rimraf Completed in 251ms
289 silly placeDep ROOT fs.realpath@1.0.0 OK for: glob@7.2.3 want: ^1.0.0
290 silly placeDep ROOT inflight@1.0.6 OK for: glob@7.2.3 want: ^1.0.4
291 silly placeDep ROOT minimatch@3.1.2 OK for: glob@7.2.3 want: ^3.1.1
292 silly placeDep ROOT once@1.4.0 OK for: glob@7.2.3 want: ^1.3.0
293 silly placeDep ROOT path-is-absolute@1.0.1 OK for: glob@7.2.3 want: ^1.0.0
294 silly fetch manifest wrappy@1
295 silly fetch manifest brace-expansion@^1.1.7
296 http fetch GET 200 https://registry.npmjs.org/wrappy 77ms (cache revalidated)
297 http fetch GET 200 https://registry.npmjs.org/brace-expansion 78ms (cache revalidated)
298 timing idealTree:node_modules/glob Completed in 87ms
299 timing idealTree:node_modules/fs.realpath Completed in 0ms
300 silly placeDep ROOT wrappy@1.0.2 OK for: inflight@1.0.6 want: 1
301 timing idealTree:node_modules/inflight Completed in 1ms
302 silly placeDep ROOT brace-expansion@1.1.11 OK for: minimatch@3.1.2 want: ^1.1.7
303 silly fetch manifest balanced-match@^1.0.0
304 silly fetch manifest concat-map@0.0.1
305 http fetch GET 200 https://registry.npmjs.org/balanced-match 75ms (cache revalidated)
306 http fetch GET 200 https://registry.npmjs.org/concat-map 84ms (cache revalidated)
307 timing idealTree:node_modules/minimatch Completed in 88ms
308 silly placeDep ROOT balanced-match@1.0.2 OK for: brace-expansion@1.1.11 want: ^1.0.0
309 silly placeDep ROOT concat-map@0.0.1 OK for: brace-expansion@1.1.11 want: 0.0.1
310 timing idealTree:node_modules/brace-expansion Completed in 3ms
311 timing idealTree:node_modules/balanced-match Completed in 0ms
312 timing idealTree:node_modules/concat-map Completed in 0ms
313 timing idealTree:node_modules/once Completed in 0ms
314 timing idealTree:node_modules/path-is-absolute Completed in 0ms
315 timing idealTree:node_modules/safe-base64 Completed in 0ms
316 silly placeDep ROOT lru-cache@6.0.0 OK for: semver@7.5.4 want: ^6.0.0
317 timing idealTree:node_modules/semver Completed in 2ms
318 silly placeDep ROOT yallist@4.0.0 OK for: lru-cache@6.0.0 want: ^4.0.0
319 timing idealTree:node_modules/lru-cache Completed in 1ms
320 timing idealTree:node_modules/set-blocking Completed in 0ms
321 timing idealTree:node_modules/signal-exit Completed in 0ms
322 silly placeDep ROOT safe-buffer@5.2.1 OK for: string_decoder@1.3.0 want: ~5.2.0
323 timing idealTree:node_modules/string_decoder Completed in 2ms
324 timing idealTree:node_modules/safe-buffer Completed in 0ms
325 timing idealTree:node_modules/string-similarity Completed in 0ms
326 silly placeDep ROOT emoji-regex@8.0.0 OK for: string-width@4.2.3 want: ^8.0.0
327 silly placeDep ROOT is-fullwidth-code-point@3.0.0 OK for: string-width@4.2.3 want: ^3.0.0
328 timing idealTree:node_modules/string-width Completed in 2ms
329 timing idealTree:node_modules/emoji-regex Completed in 0ms
330 timing idealTree:node_modules/is-fullwidth-code-point Completed in 0ms
331 silly placeDep ROOT ansi-regex@5.0.1 OK for: strip-ansi@6.0.1 want: ^5.0.1
332 timing idealTree:node_modules/strip-ansi Completed in 2ms
333 timing idealTree:node_modules/ansi-regex Completed in 0ms
334 silly placeDep ROOT has-flag@4.0.0 OK for: supports-color@7.2.0 want: ^4.0.0
335 timing idealTree:node_modules/supports-color Completed in 2ms
336 timing idealTree:node_modules/has-flag Completed in 0ms
337 silly placeDep ROOT chownr@2.0.0 OK for: tar@6.2.0 want: ^2.0.0
338 silly placeDep ROOT fs-minipass@2.1.0 OK for: tar@6.2.0 want: ^2.0.0
339 silly placeDep ROOT minipass@5.0.0 OK for: tar@6.2.0 want: ^5.0.0
340 silly placeDep ROOT minizlib@2.1.2 OK for: tar@6.2.0 want: ^2.1.1
341 silly placeDep ROOT mkdirp@1.0.4 OK for: tar@6.2.0 want: ^1.0.3
342 silly fetch manifest minipass@^3.0.0
343 timing idealTree:node_modules/tar Completed in 10ms
344 timing idealTree:node_modules/chownr Completed in 0ms
345 silly placeDep node_modules/fs-minipass minipass@3.3.6 OK for: fs-minipass@2.1.0 want: ^3.0.0
346 timing idealTree:node_modules/fs-minipass Completed in 2ms
347 timing idealTree:node_modules/minipass Completed in 0ms
348 silly placeDep node_modules/minizlib minipass@3.3.6 OK for: minizlib@2.1.2 want: ^3.0.0
349 timing idealTree:node_modules/minizlib Completed in 2ms
350 timing idealTree:node_modules/mkdirp Completed in 0ms
351 timing idealTree:node_modules/util-deprecate Completed in 0ms
352 silly placeDep ROOT isexe@2.0.0 OK for: which@1.3.1 want: ^2.0.0
353 timing idealTree:node_modules/which Completed in 2ms
354 timing idealTree:node_modules/isexe Completed in 0ms
355 timing idealTree:node_modules/wide-align Completed in 0ms
356 timing idealTree:node_modules/wrappy Completed in 0ms
357 timing idealTree:node_modules/yallist Completed in 0ms
358 timing idealTree:node_modules/@discordjs/voice/node_modules/discord-api-types Completed in 0ms
359 timing idealTree:node_modules/fs-minipass/node_modules/minipass Completed in 0ms
360 timing idealTree:node_modules/make-dir/node_modules/semver Completed in 0ms
361 timing idealTree:node_modules/minizlib/node_modules/minipass Completed in 0ms
362 timing idealTree:buildDeps Completed in 4048ms
363 timing idealTree:fixDepFlags Completed in 3ms
364 timing idealTree Completed in 5145ms
365 timing reify:loadTrees Completed in 5146ms
366 timing reify:diffTrees Completed in 5ms
367 silly reify mark retired [ '/home/deck/node_modules/discord.js-selfbot-v13' ]
368 silly reify moves {
368 silly reify   '/home/deck/node_modules/discord.js-selfbot-v13': '/home/deck/node_modules/.discord.js-selfbot-v13-mNhfd2Sr'
368 silly reify }
369 timing reify:retireShallow Completed in 5ms
370 timing reify:createSparse Completed in 15ms
371 timing reify:loadBundles Completed in 0ms
372 silly audit bulk request {
372 silly audit   asynckit: [ '0.4.0' ],
372 silly audit   'combined-stream': [ '1.0.8' ],
372 silly audit   'delayed-stream': [ '1.0.0' ],
372 silly audit   'discord-api-types': [ '0.37.67', '0.37.61' ],
372 silly audit   'fast-deep-equal': [ '3.1.3' ],
372 silly audit   'fetch-cookie': [ '2.2.0' ],
372 silly audit   'form-data': [ '4.0.0' ],
372 silly audit   lodash: [ '4.17.21' ],
372 silly audit   'mime-db': [ '1.52.0' ],
372 silly audit   'mime-types': [ '2.1.35' ],
372 silly audit   'node-fetch': [ '2.7.0' ],
372 silly audit   psl: [ '1.9.0' ],
372 silly audit   punycode: [ '2.3.1' ],
372 silly audit   querystringify: [ '2.2.0' ],
372 silly audit   'requires-port': [ '1.0.0' ],
372 silly audit   'set-cookie-parser': [ '2.6.0' ],
372 silly audit   'tough-cookie': [ '4.1.3' ],
372 silly audit   'ts-mixer': [ '6.0.3' ],
372 silly audit   tr46: [ '0.0.3' ],
372 silly audit   tslib: [ '2.6.2' ],
372 silly audit   'undici-types': [ '5.26.5' ],
372 silly audit   universalify: [ '0.2.0' ],
372 silly audit   'url-parse': [ '1.5.10' ],
372 silly audit   'webidl-conversions': [ '3.0.1' ],
372 silly audit   'whatwg-url': [ '5.0.0' ],
372 silly audit   ws: [ '8.16.0' ],
372 silly audit   '@aikochan2k6/qrcode-terminal': [ '0.12.1' ],
372 silly audit   '@discordjs/collection': [ '1.5.3' ],
372 silly audit   '@discordjs/formatters': [ '0.3.3' ],
372 silly audit   '@discordjs/builders': [ '1.7.0' ],
372 silly audit   '@discordjs/util': [ '1.0.2' ],
372 silly audit   '@sapphire/shapeshift': [ '3.9.6' ],
372 silly audit   '@sapphire/async-queue': [ '1.5.2' ],
372 silly audit   '@types/node': [ '20.11.16' ],
372 silly audit   '@types/node-fetch': [ '2.6.11' ],
372 silly audit   '@types/ws': [ '8.5.10' ],
372 silly audit   '@dank074/discord-video-stream': [ '3.0.5' ],
372 silly audit   'discord.js-selfbot-v13': [ '2.15.1' ],
372 silly audit   '@dank074/fluent-ffmpeg-multistream-ts': [ '1.0.2' ],
372 silly audit   '@discordjs/opus': [ '0.8.0' ],
372 silly audit   'fluent-ffmpeg': [ '2.1.2' ],
372 silly audit   'libsodium-wrappers': [ '0.7.13' ],
372 silly audit   'prism-media': [ '1.3.5' ],
372 silly audit   '@discordjs/node-pre-gyp': [ '0.4.5' ],
372 silly audit   'node-addon-api': [ '5.1.0' ],
372 silly audit   'detect-libc': [ '2.0.2' ],
372 silly audit   'https-proxy-agent': [ '5.0.1' ],
372 silly audit   'make-dir': [ '3.1.0' ],
372 silly audit   nopt: [ '5.0.0' ],
372 silly audit   npmlog: [ '5.0.1' ],
372 silly audit   rimraf: [ '3.0.2' ],
372 silly audit   semver: [ '7.5.4', '6.3.1' ],
372 silly audit   tar: [ '6.2.0' ],
372 silly audit   '@discordjs/voice': [ '0.16.1' ],
372 silly audit   chalk: [ '4.1.2' ],
372 silly audit   'json-bigint': [ '1.0.0' ],
372 silly audit   'lodash.permutations': [ '1.0.0' ],
372 silly audit   'safe-base64': [ '2.0.1-0' ],
372 silly audit   string_decoder: [ '1.3.0' ],
372 silly audit   'string-similarity': [ '4.0.4' ],
372 silly audit   'ansi-styles': [ '4.3.0' ],
372 silly audit   'supports-color': [ '7.2.0' ],
372 silly audit   'color-convert': [ '2.0.1' ],
372 silly audit   'color-name': [ '1.1.4' ],
372 silly audit   async: [ '3.2.5' ],
372 silly audit   which: [ '1.3.1' ],
372 silly audit   'agent-base': [ '6.0.2' ],
372 silly audit   debug: [ '4.3.4' ],
372 silly audit   ms: [ '2.1.2' ],
372 silly audit   'bignumber.js': [ '9.1.2' ],
372 silly audit   libsodium: [ '0.7.13' ],
372 silly audit   abbrev: [ '1.1.1' ],
372 silly audit   'are-we-there-yet': [ '2.0.0' ],
372 silly audit   'console-control-strings': [ '1.1.0' ],
372 silly audit   gauge: [ '3.0.2' ],
372 silly audit   'set-blocking': [ '2.0.0' ],
372 silly audit   delegates: [ '1.0.0' ],
372 silly audit   'readable-stream': [ '3.6.2' ],
372 silly audit   aproba: [ '2.0.0' ],
372 silly audit   'color-support': [ '1.1.3' ],
372 silly audit   'has-unicode': [ '2.0.1' ],
372 silly audit   'object-assign': [ '4.1.1' ],
372 silly audit   'signal-exit': [ '3.0.7' ],
372 silly audit   'string-width': [ '4.2.3' ],
372 silly audit   'strip-ansi': [ '6.0.1' ],
372 silly audit   'wide-align': [ '1.1.5' ],
372 silly audit   inherits: [ '2.0.4' ],
372 silly audit   'util-deprecate': [ '1.0.2' ],
372 silly audit   glob: [ '7.2.3' ],
372 silly audit   'fs.realpath': [ '1.0.0' ],
372 silly audit   inflight: [ '1.0.6' ],
372 silly audit   minimatch: [ '3.1.2' ],
372 silly audit   once: [ '1.4.0' ],
372 silly audit   'path-is-absolute': [ '1.0.1' ],
372 silly audit   wrappy: [ '1.0.2' ],
372 silly audit   'brace-expansion': [ '1.1.11' ],
372 silly audit   'balanced-match': [ '1.0.2' ],
372 silly audit   'concat-map': [ '0.0.1' ],
372 silly audit   'lru-cache': [ '6.0.0' ],
372 silly audit   yallist: [ '4.0.0' ],
372 silly audit   'safe-buffer': [ '5.2.1' ],
372 silly audit   'emoji-regex': [ '8.0.0' ],
372 silly audit   'is-fullwidth-code-point': [ '3.0.0' ],
372 silly audit   'ansi-regex': [ '5.0.1' ],
372 silly audit   'has-flag': [ '4.0.0' ],
372 silly audit   chownr: [ '2.0.0' ],
372 silly audit   'fs-minipass': [ '2.1.0' ],
372 silly audit   minipass: [ '5.0.0', '3.3.6' ],
372 silly audit   minizlib: [ '2.1.2' ],
372 silly audit   mkdirp: [ '1.0.4' ],
372 silly audit   isexe: [ '2.0.0' ]
372 silly audit }
373 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 325ms
374 timing auditReport:getReport Completed in 329ms
375 silly audit report {}
376 timing auditReport:init Completed in 0ms
377 timing reify:audit Completed in 330ms
378 timing reifyNode:node_modules/chownr Completed in 359ms
379 timing reifyNode:node_modules/brace-expansion Completed in 357ms
380 timing reifyNode:node_modules/wrappy Completed in 358ms
381 timing reifyNode:node_modules/path-is-absolute Completed in 358ms
382 timing reifyNode:node_modules/once Completed in 358ms
383 timing reifyNode:node_modules/inflight Completed in 358ms
384 timing reifyNode:node_modules/wide-align Completed in 358ms
385 timing reifyNode:node_modules/has-unicode Completed in 357ms
386 timing reifyNode:node_modules/object-assign Completed in 358ms
387 timing reifyNode:node_modules/abbrev Completed in 358ms
388 timing reifyNode:node_modules/ms Completed in 358ms
389 timing reifyNode:node_modules/color-name Completed in 358ms
390 timing reifyNode:node_modules/lodash.permutations Completed in 359ms
391 timing reifyNode:node_modules/fs-minipass Completed in 365ms
392 timing reifyNode:node_modules/has-flag Completed in 365ms
393 timing reifyNode:node_modules/ansi-regex Completed in 365ms
394 timing reifyNode:node_modules/is-fullwidth-code-point Completed in 365ms
395 timing reifyNode:node_modules/lru-cache Completed in 366ms
396 timing reifyNode:node_modules/inherits Completed in 365ms
397 timing reifyNode:node_modules/string-width Completed in 365ms
398 timing reifyNode:node_modules/strip-ansi Completed in 365ms
399 timing reifyNode:node_modules/signal-exit Completed in 364ms
400 timing reifyNode:node_modules/aproba Completed in 365ms
401 timing reifyNode:node_modules/set-blocking Completed in 365ms
402 timing reifyNode:node_modules/console-control-strings Completed in 365ms
403 timing reifyNode:node_modules/supports-color Completed in 365ms
404 timing reifyNode:node_modules/make-dir Completed in 365ms
405 timing reifyNode:node_modules/npmlog Completed in 365ms
406 timing reifyNode:node_modules/yallist Completed in 371ms
407 timing reifyNode:node_modules/balanced-match Completed in 371ms
408 timing reifyNode:node_modules/fs.realpath Completed in 370ms
409 timing reifyNode:node_modules/util-deprecate Completed in 371ms
410 timing reifyNode:node_modules/color-support Completed in 370ms
411 timing reifyNode:node_modules/ansi-styles Completed in 370ms
412 timing reifyNode:node_modules/string_decoder Completed in 370ms
413 timing reifyNode:node_modules/minizlib Completed in 376ms
414 timing reifyNode:node_modules/minimatch Completed in 375ms
415 timing reifyNode:node_modules/which Completed in 378ms
416 warn deprecated string-similarity@4.0.4: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
417 timing reifyNode:node_modules/string-similarity Completed in 379ms
418 timing reifyNode:node_modules/safe-buffer Completed in 384ms
419 timing reifyNode:node_modules/rimraf Completed in 382ms
420 timing reifyNode:node_modules/@dank074/fluent-ffmpeg-multistream-ts Completed in 382ms
421 timing reifyNode:node_modules/concat-map Completed in 389ms
422 timing reifyNode:node_modules/delegates Completed in 387ms
423 timing reifyNode:node_modules/debug Completed in 387ms
424 timing reifyNode:node_modules/color-convert Completed in 388ms
425 timing reifyNode:node_modules/json-bigint Completed in 389ms
426 timing reifyNode:node_modules/isexe Completed in 395ms
427 timing reifyNode:node_modules/are-we-there-yet Completed in 394ms
428 timing reifyNode:node_modules/nopt Completed in 393ms
429 timing reifyNode:node_modules/detect-libc Completed in 394ms
430 timing reifyNode:node_modules/minizlib/node_modules/minipass Completed in 400ms
431 timing reifyNode:node_modules/fs-minipass/node_modules/minipass Completed in 400ms
432 timing reifyNode:node_modules/glob Completed in 399ms
433 timing reifyNode:node_modules/chalk Completed in 398ms
434 timing reifyNode:node_modules/emoji-regex Completed in 402ms
435 timing reifyNode:node_modules/minipass Completed in 403ms
436 timing reifyNode:node_modules/libsodium-wrappers Completed in 405ms
437 timing reifyNode:node_modules/make-dir/node_modules/semver Completed in 405ms
438 timing reifyNode:node_modules/mkdirp Completed in 412ms
439 timing reifyNode:node_modules/safe-base64 Completed in 408ms
440 timing reifyNode:node_modules/https-proxy-agent Completed in 410ms
441 timing reifyNode:node_modules/agent-base Completed in 412ms
442 timing reifyNode:node_modules/gauge Completed in 417ms
443 timing reifyNode:node_modules/prism-media Completed in 423ms
444 timing reifyNode:node_modules/bignumber.js Completed in 429ms
445 timing reifyNode:node_modules/libsodium Completed in 432ms
446 timing reifyNode:node_modules/readable-stream Completed in 433ms
447 timing reifyNode:node_modules/node-addon-api Completed in 436ms
448 timing reifyNode:node_modules/tar Completed in 437ms
449 timing reifyNode:node_modules/@discordjs/voice Completed in 440ms
450 timing reifyNode:node_modules/@discordjs/node-pre-gyp Completed in 443ms
451 timing reifyNode:node_modules/semver Completed in 451ms
452 timing reifyNode:node_modules/@dank074/discord-video-stream Completed in 479ms
453 timing reifyNode:node_modules/fluent-ffmpeg Completed in 502ms
454 timing reifyNode:node_modules/async Completed in 516ms
455 timing reifyNode:node_modules/discord.js-selfbot-v13 Completed in 616ms
456 timing reifyNode:node_modules/@discordjs/opus Completed in 672ms
457 timing reifyNode:node_modules/@discordjs/voice/node_modules/discord-api-types Completed in 693ms
458 timing reify:unpack Completed in 699ms
459 timing reify:unretire Completed in 1ms
460 timing build:queue Completed in 3ms
461 timing build:link:node_modules/color-support Completed in 1ms
462 timing build:link:node_modules/mkdirp Completed in 1ms
463 timing build:link:node_modules/nopt Completed in 1ms
464 timing build:link:node_modules/rimraf Completed in 1ms
465 timing build:link:node_modules/@discordjs/node-pre-gyp Completed in 2ms
466 timing build:link:node_modules/which Completed in 1ms
467 timing build:link:node_modules/semver Completed in 1ms
468 timing build:link:node_modules/make-dir/node_modules/semver Completed in 3ms
469 timing build:link Completed in 4ms
470 info run @discordjs/opus@0.8.0 install node_modules/@discordjs/opus node-pre-gyp install --fallback-to-build
471 info run @discordjs/opus@0.8.0 install { code: 1, signal: null }
472 timing reify:rollback:createSparse Completed in 112ms
473 timing reify:rollback:retireShallow Completed in 0ms
474 timing command:install Completed in 7827ms
475 verbose stack Error: command failed
475 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27)
475 verbose stack     at ChildProcess.emit (node:events:511:28)
475 verbose stack     at maybeClose (node:internal/child_process:1098:16)
475 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:304:5)
476 verbose pkgid @discordjs/opus@0.8.0
477 verbose cwd /home/deck
478 verbose Linux 6.1.52-valve9-1-neptune-61
479 verbose node v20.3.0
480 verbose npm  v8.19.2
481 error code 1
482 error path /home/deck/node_modules/@discordjs/opus
483 error command failed
484 error command sh -c -- node-pre-gyp install --fallback-to-build
485 error Failed to execute '/usr/bin/node /usr/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/deck/node_modules/@discordjs/opus/prebuild/node-v115-napi-v3-linux-x64-glibc-2.37/opus.node --module_name=opus --module_path=/home/deck/node_modules/@discordjs/opus/prebuild/node-v115-napi-v3-linux-x64-glibc-2.37 --napi_version=9 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
486 error node-pre-gyp info it worked if it ends with ok
486 error node-pre-gyp info using node-pre-gyp@0.4.5
486 error node-pre-gyp info using node@20.3.0 | linux | x64
486 error node-pre-gyp info check checked for "/home/deck/node_modules/@discordjs/opus/prebuild/node-v115-napi-v3-linux-x64-glibc-2.37/opus.node" (not found)
486 error node-pre-gyp http GET https://github.com/discordjs/opus/releases/download/v0.8.0/opus-v0.8.0-node-v115-napi-v3-linux-x64-glibc-2.37.tar.gz
486 error node-pre-gyp ERR! install response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.8.0/opus-v0.8.0-node-v115-napi-v3-linux-x64-glibc-2.37.tar.gz 
486 error node-pre-gyp WARN Pre-built binaries not installable for @discordjs/opus@0.8.0 and node@20.3.0 (node-v115 ABI, glibc) (falling back to source compile with node-gyp) 
486 error node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.8.0/opus-v0.8.0-node-v115-napi-v3-linux-x64-glibc-2.37.tar.gz 
486 error gyp info it worked if it ends with ok
486 error gyp info using node-gyp@9.3.1
486 error gyp info using node@20.3.0 | linux | x64
486 error gyp info ok 
486 error gyp info it worked if it ends with ok
486 error gyp info using node-gyp@9.3.1
486 error gyp info using node@20.3.0 | linux | x64
486 error gyp info find Python using Python version 3.11.3 found at "/usr/bin/python3"
486 error gyp info spawn /usr/bin/python3
486 error gyp info spawn args [
486 error gyp info spawn args   '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
486 error gyp info spawn args   'binding.gyp',
486 error gyp info spawn args   '-f',
486 error gyp info spawn args   'make',
486 error gyp info spawn args   '-I',
486 error gyp info spawn args   '/home/deck/node_modules/@discordjs/opus/build/config.gypi',
486 error gyp info spawn args   '-I',
486 error gyp info spawn args   '/usr/lib/node_modules/node-gyp/addon.gypi',
486 error gyp info spawn args   '-I',
486 error gyp info spawn args   '/home/deck/.cache/node-gyp/20.3.0/include/node/common.gypi',
486 error gyp info spawn args   '-Dlibrary=shared_library',
486 error gyp info spawn args   '-Dvisibility=default',
486 error gyp info spawn args   '-Dnode_root_dir=/home/deck/.cache/node-gyp/20.3.0',
486 error gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
486 error gyp info spawn args   '-Dnode_lib_file=/home/deck/.cache/node-gyp/20.3.0/<(target_arch)/node.lib',
486 error gyp info spawn args   '-Dmodule_root_dir=/home/deck/node_modules/@discordjs/opus',
486 error gyp info spawn args   '-Dnode_engine=v8',
486 error gyp info spawn args   '--depth=.',
486 error gyp info spawn args   '--no-parallel',
486 error gyp info spawn args   '--generator-output',
486 error gyp info spawn args   'build',
486 error gyp info spawn args   '-Goutput_dir=.'
486 error gyp info spawn args ]
486 error gyp info ok 
486 error gyp info it worked if it ends with ok
486 error gyp info using node-gyp@9.3.1
486 error gyp info using node@20.3.0 | linux | x64
486 error gyp ERR! build error 
486 error gyp ERR! stack Error: not found: make
486 error gyp ERR! stack     at getNotFoundError (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:10:17)
486 error gyp ERR! stack     at /usr/lib/node_modules/node-gyp/node_modules/which/which.js:57:18
486 error gyp ERR! stack     at new Promise (<anonymous>)
486 error gyp ERR! stack     at step (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:54:21)
486 error gyp ERR! stack     at /usr/lib/node_modules/node-gyp/node_modules/which/which.js:71:22
486 error gyp ERR! stack     at new Promise (<anonymous>)
486 error gyp ERR! stack     at subStep (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:69:33)
486 error gyp ERR! stack     at /usr/lib/node_modules/node-gyp/node_modules/which/which.js:80:22
486 error gyp ERR! stack     at /usr/lib/node_modules/node-gyp/node_modules/isexe/index.js:42:5
486 error gyp ERR! stack     at /usr/lib/node_modules/node-gyp/node_modules/isexe/mode.js:8:5
486 error gyp ERR! System Linux 6.1.52-valve9-1-neptune-61
486 error gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/deck/node_modules/@discordjs/opus/prebuild/node-v115-napi-v3-linux-x64-glibc-2.37/opus.node" "--module_name=opus" "--module_path=/home/deck/node_modules/@discordjs/opus/prebuild/node-v115-napi-v3-linux-x64-glibc-2.37" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3"
486 error gyp ERR! cwd /home/deck/node_modules/@discordjs/opus
486 error gyp ERR! node -v v20.3.0
486 error gyp ERR! node-gyp -v v9.3.1
486 error gyp ERR! not ok 
486 error node-pre-gyp ERR! build error 
486 error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/deck/node_modules/@discordjs/opus/prebuild/node-v115-napi-v3-linux-x64-glibc-2.37/opus.node --module_name=opus --module_path=/home/deck/node_modules/@discordjs/opus/prebuild/node-v115-napi-v3-linux-x64-glibc-2.37 --napi_version=9 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
486 error node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/deck/node_modules/@discordjs/node-pre-gyp/lib/util/compile.js:85:20)
486 error node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:511:28)
486 error node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1098:16)
486 error node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:304:5)
486 error node-pre-gyp ERR! System Linux 6.1.52-valve9-1-neptune-61
486 error node-pre-gyp ERR! command "/usr/bin/node" "/home/deck/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
486 error node-pre-gyp ERR! cwd /home/deck/node_modules/@discordjs/opus
486 error node-pre-gyp ERR! node -v v20.3.0
486 error node-pre-gyp ERR! node-pre-gyp -v v0.4.5
486 error node-pre-gyp ERR! not ok
487 verbose exit 1
488 timing npm Completed in 7945ms
489 verbose unfinished npm timer reify 1706896753713
490 verbose unfinished npm timer reify:build 1706896759605
491 verbose unfinished npm timer build 1706896759605
492 verbose unfinished npm timer build:deps 1706896759605
493 verbose unfinished npm timer build:run:install 1706896759613
494 verbose unfinished npm timer build:run:install:node_modules/@discordjs/opus 1706896759613
495 verbose code 1
496 error A complete log of this run can be found in:
496 error     /home/deck/.npm/_logs/2024-02-02T17_59_13_596Z-debug-0.log
message.txt
45 KB
dank074 commented 6 months ago

There's no prebuilt package for your version of node (since it is fairly newer node) so it is attempting to build native package and failing because you don't have make installed on your machine

https://stackoverflow.com/questions/14772508/npm-failed-to-install-time-with-make-not-found-error

bengeek2 commented 6 months ago

Sorry for the confusion, I am very new to NPM. I installed base essentials, downgraded node, and tried to run the install again. This is the current error output. I did not downgrade gcc so this could also be an issue, but i am uncertain

npm WARN deprecated string-similarity@4.0.4: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm ERR! code 1
npm ERR! path /home/deck/node_modules/@discordjs/opus
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install --fallback-to-build
npm ERR! make: Entering directory '/home/deck/node_modules/@discordjs/opus/build'
npm ERR!   CC(target) Release/obj.target/libopus/deps/opus/src/opus_multistream.o
npm ERR! make: Leaving directory '/home/deck/node_modules/@discordjs/opus/build'
npm ERR! Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/deck/node_modules/@discordjs/opus/prebuild/node-v108-napi-v3-linux-x64-glibc-2.37/opus.node --module_name=opus --module_path=/home/deck/node_modules/@discordjs/opus/prebuild/node-v108-napi-v3-linux-x64-glibc-2.37 --napi_version=9 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@0.4.5
npm ERR! node-pre-gyp info using node@18.17.1 | linux | x64
npm ERR! node-pre-gyp info check checked for "/home/deck/node_modules/@discordjs/opus/prebuild/node-v108-napi-v3-linux-x64-glibc-2.37/opus.node" (not found)
npm ERR! node-pre-gyp http GET https://github.com/discordjs/opus/releases/download/v0.8.0/opus-v0.8.0-node-v108-napi-v3-linux-x64-glibc-2.37.tar.gz
npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.8.0/opus-v0.8.0-node-v108-napi-v3-linux-x64-glibc-2.37.tar.gz 
npm ERR! node-pre-gyp WARN Pre-built binaries not installable for @discordjs/opus@0.8.0 and node@18.17.1 (node-v108 ABI, glibc) (falling back to source compile with node-gyp) 
npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.8.0/opus-v0.8.0-node-v108-napi-v3-linux-x64-glibc-2.37.tar.gz 
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.3.1
npm ERR! gyp info using node@18.17.1 | linux | x64
npm ERR! gyp info ok 
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.3.1
npm ERR! gyp info using node@18.17.1 | linux | x64
npm ERR! gyp info find Python using Python version 3.11.3 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/usr/local/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   '/home/deck/node_modules/@discordjs/opus/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/deck/.cache/node-gyp/18.17.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=/home/deck/.cache/node-gyp/18.17.1',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/deck/.cache/node-gyp/18.17.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/deck/node_modules/@discordjs/opus',
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 info ok 
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.3.1
npm ERR! gyp info using node@18.17.1 | linux | x64
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! In file included from ../deps/opus/include/opus_types.h:46,
npm ERR!                  from ../deps/opus/include/opus.h:36,
npm ERR!                  from ../deps/opus/include/opus_multistream.h:36,
npm ERR!                  from ../deps/opus/src/opus_multistream.c:32:
npm ERR! /usr/lib/gcc/x86_64-pc-linux-gnu/13.1.1/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
npm ERR!     9 | # include_next <stdint.h>
npm ERR!       |                ^~~~~~~~~~
npm ERR! compilation terminated.
npm ERR! make: *** [deps/libopus.target.mk:306: Release/obj.target/libopus/deps/opus/src/opus_multistream.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:514:28)
npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Linux 6.1.52-valve9-1-neptune-61
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/deck/node_modules/@discordjs/opus/prebuild/node-v108-napi-v3-linux-x64-glibc-2.37/opus.node" "--module_name=opus" "--module_path=/home/deck/node_modules/@discordjs/opus/prebuild/node-v108-napi-v3-linux-x64-glibc-2.37" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3"
npm ERR! gyp ERR! cwd /home/deck/node_modules/@discordjs/opus
npm ERR! gyp ERR! node -v v18.17.1
npm ERR! gyp ERR! node-gyp -v v9.3.1
npm ERR! gyp ERR! not ok 
npm ERR! node-pre-gyp ERR! build error 
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/deck/node_modules/@discordjs/opus/prebuild/node-v108-napi-v3-linux-x64-glibc-2.37/opus.node --module_name=opus --module_path=/home/deck/node_modules/@discordjs/opus/prebuild/node-v108-napi-v3-linux-x64-glibc-2.37 --napi_version=9 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/deck/node_modules/@discordjs/node-pre-gyp/lib/util/compile.js:85:20)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:514:28)
npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1091:16)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm ERR! node-pre-gyp ERR! System Linux 6.1.52-valve9-1-neptune-61
npm ERR! node-pre-gyp ERR! command "/usr/local/bin/node" "/home/deck/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /home/deck/node_modules/@discordjs/opus
npm ERR! node-pre-gyp ERR! node -v v18.17.1
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.4.5
npm ERR! node-pre-gyp ERR! not ok

npm ERR! A complete log of this run can be found in: /home/deck/.npm/_logs/2024-02-02T19_31_40_810Z-debug-0.log
dank074 commented 6 months ago

Mhmm weird that

GET https://github.com/discordjs/opus/releases/download/v0.8.0/opus-v0.8.0-node-v108-napi-v3-linux-x64-glibc-2.37.tar.gz

Is returning 404 according to your logs but the url exists. Try deleting node_modules and npm install again

As for the build logs: yes it seems your gcc is the problem. You have incomplete c libraries: stdint.h: No such file or directory

bengeek2 commented 6 months ago

The webpage resolves because github has a page there but no file. I can curl it, but no file is on the page. Thanks again for the help! Did some futzing with versions, and finally reduced my errors down to this:

> @discordjs/opus@0.8.0 install /home/deck/node_modules/@discordjs/opus
> node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! install response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.8.0/opus-v0.8.0-node-v83-napi-v3-linux-x64-glibc-2.37.tar.gz 
node-pre-gyp WARN Pre-built binaries not installable for @discordjs/opus@0.8.0 and node@14.17.3 (node-v83 ABI, glibc) (falling back to source compile with node-gyp) 
node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.8.0/opus-v0.8.0-node-v83-napi-v3-linux-x64-glibc-2.37.tar.gz 
Traceback (most recent call last):
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 50, in <module>
    sys.exit(gyp.script_main())
             ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 554, in script_main
    return main(sys.argv[1:])
           ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 547, in main
    return gyp_main(args)
           ^^^^^^^^^^^^^^
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 520, in gyp_main
    [generator, flat_list, targets, data] = Load(
                                            ^^^^^
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 136, in Load
    result = gyp.input.Load(build_files, default_variables, includes[:],
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2782, in Load
    LoadTargetBuildFile(build_file, data, aux_data,
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 391, in LoadTargetBuildFile
    build_file_data = LoadOneBuildFile(build_file_path, data, aux_data,
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 234, in LoadOneBuildFile
    build_file_contents = open(build_file_path, 'rU').read()
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid mode: 'rU' while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:375:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Linux 6.1.52-valve9-1-neptune-61
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/deck/node_modules/@discordjs/opus/prebuild/node-v83-napi-v3-linux-x64-glibc-2.37/opus.node" "--module_name=opus" "--module_path=/home/deck/node_modules/@discordjs/opus/prebuild/node-v83-napi-v3-linux-x64-glibc-2.37" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3"
gyp ERR! cwd /home/deck/node_modules/@discordjs/opus
gyp ERR! node -v v14.17.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/deck/node_modules/@discordjs/opus/prebuild/node-v83-napi-v3-linux-x64-glibc-2.37/opus.node --module_name=opus --module_path=/home/deck/node_modules/@discordjs/opus/prebuild/node-v83-napi-v3-linux-x64-glibc-2.37 --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/deck/node_modules/@discordjs/node-pre-gyp/lib/util/compile.js:85:20)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:375:28)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1055:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
node-pre-gyp ERR! System Linux 6.1.52-valve9-1-neptune-61
node-pre-gyp ERR! command "/usr/local/bin/node" "/home/deck/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/deck/node_modules/@discordjs/opus
node-pre-gyp ERR! node -v v14.17.3
node-pre-gyp ERR! node-pre-gyp -v v0.4.5
node-pre-gyp ERR! not ok 
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/deck/node_modules/@discordjs/opus/prebuild/node-v83-napi-v3-linux-x64-glibc-2.37/opus.node --module_name=opus --module_path=/home/deck/node_modules/@discordjs/opus/prebuild/node-v83-napi-v3-linux-x64-glibc-2.37 --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
npm WARN enoent ENOENT: no such file or directory, open '/home/deck/package.json'
npm WARN @dank074/discord-video-stream@3.0.5 requires a peer of discord.js-selfbot-v13@2.x but none is installed. You must install peer dependencies yourself.
npm WARN deck No description
npm WARN deck No repository field.
npm WARN deck No README data
npm WARN deck No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @discordjs/opus@0.8.0 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @discordjs/opus@0.8.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/deck/.npm/_logs/2024-02-02T20_44_27_066Z-debug.log
message.txt
bengeek2 commented 6 months ago

Welp. It's cause I'm on a steam deck. Wanted to test this on the deck, and it turns out steamOS does not like running c program compilers. https://stackoverflow.com/questions/72398974/configure-error-cannot-run-c-compiled-programs-installing-gap-on-arch-linux

longnguyen2004 commented 6 months ago

Ideal solution would be to make @discordjs/opus a peer dependency, so it's not required for package installation, and on platforms where it doesn't work, opusscript can be substituted in instead.

@bengeek2 Can you remove @discordjs/opus from the package.json and install opusscript instead?