0

no me instala node opus me sale el un error,ya he probado a reinstalar todos los paquetes relacionados con este y no funciona alguna sugerencia? el error es el siguiente: https://hastebin.com/rupahucipe.tex

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   'node-opus',
1 verbose cli   '-g' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 971d43320a2bdc8d
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 200 https://registry.npmjs.org/node-opus 14ms (from cache)
8 silly pacote tag manifest for node-opus@latest fetched in 44ms
9 silly install loadIdealTree
10 silly install cloneCurrentTreeToIdealTree
11 silly install loadShrinkwrap
12 silly install loadAllDepsIntoIdealTree
13 silly resolveWithNewModule [email protected] checking installable status
14 http fetch GET 200 https://registry.npmjs.org/nan 36ms (from cache)
15 http fetch GET 200 https://registry.npmjs.org/ogg-packet 37ms (from cache)
16 silly pacote range manifest for nan@^2.3.2 fetched in 38ms
17 silly resolveWithNewModule [email protected] checking installable status
18 silly pacote range manifest for ogg-packet@^1.0.0 fetched in 39ms
19 silly resolveWithNewModule [email protected] checking installable status
20 http fetch GET 304 https://registry.npmjs.org/commander 123ms (from cache)
21 silly pacote range manifest for commander@^2.9.0 fetched in 124ms
22 silly resolveWithNewModule [email protected] checking installable status
23 http fetch GET 304 https://registry.npmjs.org/bindings 293ms (from cache)
24 silly pacote range manifest for bindings@~1.2.1 fetched in 296ms
25 silly resolveWithNewModule [email protected] checking installable status
26 http fetch GET 200 https://registry.npmjs.org/ref-struct 2ms (from cache)
27 silly pacote range manifest for ref-struct@* fetched in 2ms
28 silly resolveWithNewModule [email protected] checking installable status
29 http fetch GET 200 https://registry.npmjs.org/ref 4ms (from cache)
30 silly pacote range manifest for ref@1 fetched in 5ms
31 silly resolveWithNewModule [email protected] checking installable status
32 http fetch GET 304 https://registry.npmjs.org/debug 25ms (from cache)
33 silly pacote range manifest for debug@2 fetched in 29ms
34 silly resolveWithNewModule [email protected] checking installable status
35 http fetch GET 200 https://registry.npmjs.org/ms 3ms (from cache)
36 silly pacote version manifest for [email protected] fetched in 5ms
37 silly resolveWithNewModule [email protected] checking installable status
38 silly currentTree npm
39 silly idealTree npm
39 silly idealTree `-- [email protected]
39 silly idealTree   +-- [email protected]
39 silly idealTree   +-- [email protected]
39 silly idealTree   +-- [email protected]
39 silly idealTree   +-- [email protected]
39 silly idealTree   +-- [email protected]
39 silly idealTree   +-- [email protected]
39 silly idealTree   +-- [email protected]
39 silly idealTree   `-- [email protected]
40 silly install generateActionsToTake
41 silly diffTrees action count 9
42 silly diffTrees add [email protected]
43 silly diffTrees add [email protected]
44 silly diffTrees add [email protected]
45 silly diffTrees add [email protected]
46 silly diffTrees add [email protected]
47 silly diffTrees add [email protected]
48 silly diffTrees add [email protected]
49 silly diffTrees add [email protected]
50 silly diffTrees add [email protected]
51 silly decomposeActions action count 72
52 silly decomposeActions fetch [email protected]
53 silly decomposeActions extract [email protected]
54 silly decomposeActions preinstall [email protected]
55 silly decomposeActions build [email protected]
56 silly decomposeActions install [email protected]
57 silly decomposeActions postinstall [email protected]
58 silly decomposeActions finalize [email protected]
59 silly decomposeActions refresh-package-json [email protected]
60 silly decomposeActions fetch [email protected]
61 silly decomposeActions extract [email protected]
62 silly decomposeActions preinstall [email protected]
63 silly decomposeActions build [email protected]
64 silly decomposeActions install [email protected]
65 silly decomposeActions postinstall [email protected]
66 silly decomposeActions finalize [email protected]
67 silly decomposeActions refresh-package-json [email protected]
68 silly decomposeActions fetch [email protected]
69 silly decomposeActions extract [email protected]
70 silly decomposeActions preinstall [email protected]
71 silly decomposeActions build [email protected]
72 silly decomposeActions install [email protected]
73 silly decomposeActions postinstall [email protected]
74 silly decomposeActions finalize [email protected]
75 silly decomposeActions refresh-package-json [email protected]
76 silly decomposeActions fetch [email protected]
77 silly decomposeActions extract [email protected]
78 silly decomposeActions preinstall [email protected]
79 silly decomposeActions build [email protected]
80 silly decomposeActions install [email protected]
81 silly decomposeActions postinstall [email protected]
82 silly decomposeActions finalize [email protected]
83 silly decomposeActions refresh-package-json [email protected]
84 silly decomposeActions fetch [email protected]
85 silly decomposeActions extract [email protected]
86 silly decomposeActions preinstall [email protected]
87 silly decomposeActions build [email protected]
88 silly decomposeActions install [email protected]
89 silly decomposeActions postinstall [email protected]
90 silly decomposeActions finalize [email protected]
91 silly decomposeActions refresh-package-json [email protected]
92 silly decomposeActions fetch [email protected]
93 silly decomposeActions extract [email protected]
94 silly decomposeActions preinstall [email protected]
95 silly decomposeActions build [email protected]
96 silly decomposeActions install [email protected]
97 silly decomposeActions postinstall [email protected]
98 silly decomposeActions finalize [email protected]
99 silly decomposeActions refresh-package-json [email protected]
100 silly decomposeActions fetch [email protected]
101 silly decomposeActions extract [email protected]
102 silly decomposeActions preinstall [email protected]
103 silly decomposeActions build [email protected]
104 silly decomposeActions install [email protected]
105 silly decomposeActions postinstall [email protected]
106 silly decomposeActions finalize [email protected]
107 silly decomposeActions refresh-package-json [email protected]
108 silly decomposeActions fetch [email protected]
109 silly decomposeActions extract [email protected]
110 silly decomposeActions preinstall [email protected]
111 silly decomposeActions build [email protected]
112 silly decomposeActions install [email protected]
113 silly decomposeActions postinstall [email protected]
114 silly decomposeActions finalize [email protected]
115 silly decomposeActions refresh-package-json [email protected]
116 silly decomposeActions fetch [email protected]
117 silly decomposeActions extract [email protected]
118 silly decomposeActions preinstall [email protected]
119 silly decomposeActions build [email protected]
120 silly decomposeActions install [email protected]
121 silly decomposeActions postinstall [email protected]
122 silly decomposeActions finalize [email protected]
123 silly decomposeActions refresh-package-json [email protected]
124 silly install executeActions
125 silly doSerial global-install 72
126 verbose correctMkdir C:\Users\Seyronjunior\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing
127 verbose lock using C:\Users\Seyronjunior\AppData\Roaming\npm-cache\_locks\staging-5371d44cf1cca0da.lock for C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\.staging
128 silly doParallel extract 72
129 silly extract [email protected]
130 silly extract [email protected]
131 silly extract [email protected]
132 silly extract [email protected]
133 silly extract [email protected]
134 silly extract [email protected]
135 silly extract [email protected]
136 silly extract [email protected]
137 silly extract [email protected]
138 silly doReverseSerial unbuild 72
139 silly doSerial remove 72
140 silly doSerial move 72
141 silly doSerial finalize 72
142 silly finalize C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\bindings
143 silly finalize C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\ms
144 silly finalize C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\debug
145 silly finalize C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\nan
146 silly finalize C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\ref
147 silly finalize C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\ref-struct
148 silly finalize C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\commander
149 silly finalize C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\ogg-packet
150 silly finalize C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus
151 silly doParallel refresh-package-json 72
152 silly refresh-package-json C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\bindings
153 silly refresh-package-json C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\ms
154 silly refresh-package-json C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\debug
155 silly refresh-package-json C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\nan
156 silly refresh-package-json C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\ref
157 silly refresh-package-json C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\ref-struct
158 silly refresh-package-json C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\commander
159 silly refresh-package-json C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\ogg-packet
160 silly refresh-package-json C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus
161 silly doParallel preinstall 72
162 silly preinstall [email protected]
163 info lifecycle [email protected]~preinstall: [email protected]
164 silly preinstall [email protected]
165 info lifecycle [email protected]~preinstall: [email protected]
166 silly preinstall [email protected]
167 info lifecycle [email protected]~preinstall: [email protected]
168 silly preinstall [email protected]
169 info lifecycle [email protected]~preinstall: [email protected]
170 silly preinstall [email protected]
171 info lifecycle [email protected]~preinstall: [email protected]
172 silly preinstall [email protected]
173 info lifecycle [email protected]~preinstall: [email protected]
174 silly preinstall [email protected]
175 info lifecycle [email protected]~preinstall: [email protected]
176 silly preinstall [email protected]
177 info lifecycle [email protected]~preinstall: [email protected]
178 silly preinstall [email protected]
179 info lifecycle [email protected]~preinstall: [email protected]
180 silly doSerial build 72
181 silly build [email protected]
182 info linkStuff [email protected]
183 silly linkStuff [email protected] has C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules as its parent node_modules
184 silly linkStuff [email protected] is part of a global install
185 silly linkStuff [email protected] is installed into a global node_modules
186 verbose linkBins [email protected]
187 verbose linkMans [email protected]
188 silly build [email protected]
189 info linkStuff [email protected]
190 silly linkStuff [email protected] has C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules as its parent node_modules
191 silly linkStuff [email protected] is part of a global install
192 silly linkStuff [email protected] is installed into a global node_modules
193 verbose linkBins [email protected]
194 verbose linkMans [email protected]
195 silly build [email protected]
196 info linkStuff [email protected]
197 silly linkStuff [email protected] has C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules as its parent node_modules
198 silly linkStuff [email protected] is part of a global install
199 silly linkStuff [email protected] is installed into a global node_modules
200 verbose linkBins [email protected]
201 verbose linkMans [email protected]
202 silly build [email protected]
203 info linkStuff [email protected]
204 silly linkStuff [email protected] has C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules as its parent node_modules
205 silly linkStuff [email protected] is part of a global install
206 silly linkStuff [email protected] is installed into a global node_modules
207 verbose linkBins [email protected]
208 verbose linkMans [email protected]
209 silly build [email protected]
210 info linkStuff [email protected]
211 silly linkStuff [email protected] has C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules as its parent node_modules
212 silly linkStuff [email protected] is part of a global install
213 silly linkStuff [email protected] is installed into a global node_modules
214 verbose linkBins [email protected]
215 verbose linkMans [email protected]
216 silly build [email protected]
217 info linkStuff [email protected]
218 silly linkStuff [email protected] has C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules as its parent node_modules
219 silly linkStuff [email protected] is part of a global install
220 silly linkStuff [email protected] is installed into a global node_modules
221 verbose linkBins [email protected]
222 verbose linkMans [email protected]
223 silly build [email protected]
224 info linkStuff [email protected]
225 silly linkStuff [email protected] has C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules as its parent node_modules
226 silly linkStuff [email protected] is part of a global install
227 silly linkStuff [email protected] is installed into a global node_modules
228 verbose linkBins [email protected]
229 verbose linkMans [email protected]
230 silly build [email protected]
231 info linkStuff [email protected]
232 silly linkStuff [email protected] has C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules as its parent node_modules
233 silly linkStuff [email protected] is part of a global install
234 silly linkStuff [email protected] is installed into a global node_modules
235 verbose linkBins [email protected]
236 verbose linkMans [email protected]
237 silly build [email protected]
238 info linkStuff [email protected]
239 silly linkStuff [email protected] has C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules as its parent node_modules
240 silly linkStuff [email protected] is part of a global install
241 silly linkStuff [email protected] is installed into a global node_modules
242 silly linkStuff [email protected] is installed into the top-level global node_modules
243 verbose linkBins [email protected]
244 verbose linkMans [email protected]
245 silly doSerial global-link 72
246 silly doParallel update-linked 72
247 silly doSerial install 72
248 silly install [email protected]
249 info lifecycle [email protected]~install: [email protected]
250 silly install [email protected]
251 info lifecycle [email protected]~install: [email protected]
252 silly install [email protected]
253 info lifecycle [email protected]~install: [email protected]
254 silly install [email protected]
255 info lifecycle [email protected]~install: [email protected]
256 silly install [email protected]
257 info lifecycle [email protected]~install: [email protected]
258 verbose lifecycle [email protected]~install: unsafe-perm in lifecycle true
259 verbose lifecycle [email protected]~install: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\ref\node_modules\.bin;C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\.bin;C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\.bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\FFmpeg\bin;C:\Program Files\nodejs\;C:\FFmpeg\bin;C:\Users\Seyronjunior\AppData\Roaming\npm
260 verbose lifecycle [email protected]~install: CWD: C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\ref
261 silly lifecycle [email protected]~install: Args: [ '/d /s /c', 'node-gyp rebuild' ]
262 silly lifecycle [email protected]~install: Returned: code: 1  signal: null
263 info lifecycle [email protected]~install: Failed to exec install script
264 silly install [email protected]
265 info lifecycle [email protected]~install: [email protected]
266 silly install [email protected]
267 info lifecycle [email protected]~install: [email protected]
268 verbose lifecycle [email protected]~install: unsafe-perm in lifecycle true
269 verbose lifecycle [email protected]~install: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus\node_modules\.bin;C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\.bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\FFmpeg\bin;C:\Program Files\nodejs\;C:\FFmpeg\bin;C:\Users\Seyronjunior\AppData\Roaming\npm
270 verbose lifecycle [email protected]~install: CWD: C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\node-opus
271 silly lifecycle [email protected]~install: Args: [ '/d /s /c', 'node-gyp rebuild' ]
272 silly lifecycle [email protected]~install: Returned: code: 1  signal: null
273 info lifecycle [email protected]~install: Failed to exec install script
274 verbose unlock done using C:\Users\Seyronjunior\AppData\Roaming\npm-cache\_locks\staging-5371d44cf1cca0da.lock for C:\Users\Seyronjunior\AppData\Roaming\npm\node_modules\.staging
275 warn optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\node-opus\node_modules\ref):
276 warn optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
276 warn optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
277 verbose optional SKIPPING OPTIONAL DEPENDENCY:
277 verbose optional Failed at the [email protected] install script.
277 verbose optional SKIPPING OPTIONAL DEPENDENCY: This is probably not a problem with npm. There is likely additional logging output above.
278 verbose stack Error: [email protected] install: `node-gyp rebuild`
278 verbose stack Exit status 1
278 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:289:16)
278 verbose stack     at emitTwo (events.js:125:13)
278 verbose stack     at EventEmitter.emit (events.js:213:7)
278 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
278 verbose stack     at emitTwo (events.js:125:13)
278 verbose stack     at ChildProcess.emit (events.js:213:7)
278 verbose stack     at maybeClose (internal/child_process.js:927:16)
278 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
279 verbose pkgid [email protected]
280 verbose cwd C:\Users\Seyronjunior\Desktop\IronBank
281 verbose Windows_NT 6.3.9600
282 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "node-opus" "-g"
283 verbose node v8.6.0
284 verbose npm  v5.3.0
285 error code ELIFECYCLE
286 error errno 1
287 error [email protected] install: `node-gyp rebuild`
287 error Exit status 1
288 error Failed at the [email protected] install script.
288 error This is probably not a problem with npm. There is likely additional logging output above.
289 verbose exit [ 1, true ]
1
  • 1
    Mira esta guia para que tu pregunta sea mejor recibida. Tambien, aprovecha y haz el tour para entender mejor como funcionamos y de paso obtener tu primera medalla!
    – gbianchi
    el 27 sep. 2017 a las 17:02

1 respuesta 1

1

Al parecer te faltan dependencias para compilar en Windows, puedes intentar corriendo:

npm install --global --production windows-build-tools

Asegurate de correrlo en una terminal con privilegios de Administrador como está propuesto en la documentación de node-gyp

¿No es la respuesta que buscas? Examina otras preguntas con la etiqueta o formula tu propia pregunta.