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

55% Linking CXX shared library ../../lib/libopencv_core.dylib [ 55%] Built target opencv_core | Failed at the opencv-build@0.1.9 install script. #807

Open
igorpsf opened this issue Apr 5, 2021 · 17 comments

Comments

@igorpsf
Copy link

igorpsf commented Apr 5, 2021

Hello, trying to install opencv4nodejs on macOS and facing error below:

Error Message

[ 55%] Linking CXX shared library ../../lib/libopencv_core.dylib
[ 55%] Built target opencv_core
make: *** [all] Error 2
ERR! child process exited with code 2 (for more info, set '--loglevel silly') 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! opencv-build@0.1.9 install: 'node ./install.js'
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the opencv-build@0.1.9 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!     /Users/igorpost/.npm/_logs/2021-04-05T22_38_54_734Z-debug.log

Auto Build - Full Error Log

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   '/usr/local/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'install',
1 verbose cli   '-g',
1 verbose cli   'opencv4nodejs',
1 verbose cli   '--unsafe-perm',
1 verbose cli   '--allow-root'
1 verbose cli ]
2 info using npm@6.14.11
3 info using node@v14.16.0
4 verbose npm-session 49a6bc5800a8b189
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 304 https://registry.npmjs.org/opencv4nodejs 408ms (from cache)
8 silly pacote tag manifest for opencv4nodejs@latest fetched in 427ms
9 timing stage:loadCurrentTree Completed in 503ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 2ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule opencv4nodejs@5.6.0 checking installable status
17 http fetch GET 304 https://registry.npmjs.org/nan 134ms (from cache)
18 silly pacote range manifest for nan@^2.14.0 fetched in 577ms
19 silly resolveWithNewModule nan@2.14.2 checking installable status
20 http fetch GET 304 https://registry.npmjs.org/opencv-build 586ms (from cache)
21 http fetch GET 304 https://registry.npmjs.org/npmlog 589ms (from cache)
22 silly pacote range manifest for opencv-build@^0.1.9 fetched in 590ms
23 silly resolveWithNewModule opencv-build@0.1.9 checking installable status
24 silly pacote range manifest for npmlog@^4.1.2 fetched in 591ms
25 silly resolveWithNewModule npmlog@4.1.2 checking installable status
26 http fetch GET 304 https://registry.npmjs.org/@types%2fnode 611ms (from cache)
27 silly pacote range manifest for @types/node@>6 fetched in 621ms
28 silly resolveWithNewModule @types/node@14.14.37 checking installable status
29 http fetch GET 304 https://registry.npmjs.org/native-node-utils 848ms (from cache)
30 silly pacote range manifest for native-node-utils@^0.2.7 fetched in 854ms
31 silly resolveWithNewModule native-node-utils@0.2.7 checking installable status
32 http fetch GET 304 https://registry.npmjs.org/console-control-strings 117ms (from cache)
33 silly pacote range manifest for console-control-strings@~1.1.0 fetched in 120ms
34 silly resolveWithNewModule console-control-strings@1.1.0 checking installable status
35 http fetch GET 304 https://registry.npmjs.org/set-blocking 227ms (from cache)
36 http fetch GET 304 https://registry.npmjs.org/gauge 228ms (from cache)
37 silly pacote range manifest for set-blocking@~2.0.0 fetched in 236ms
38 silly resolveWithNewModule set-blocking@2.0.0 checking installable status
39 silly pacote range manifest for gauge@~2.7.3 fetched in 237ms
40 silly resolveWithNewModule gauge@2.7.4 checking installable status
41 http fetch GET 304 https://registry.npmjs.org/are-we-there-yet 246ms (from cache)
42 silly pacote range manifest for are-we-there-yet@~1.1.2 fetched in 249ms
43 silly resolveWithNewModule are-we-there-yet@1.1.5 checking installable status
44 http fetch GET 304 https://registry.npmjs.org/delegates 96ms (from cache)
45 silly pacote range manifest for delegates@^1.0.0 fetched in 100ms
46 silly resolveWithNewModule delegates@1.0.0 checking installable status
47 http fetch GET 304 https://registry.npmjs.org/readable-stream 107ms (from cache)
48 silly pacote range manifest for readable-stream@^2.0.6 fetched in 112ms
49 silly resolveWithNewModule readable-stream@2.3.7 checking installable status
50 http fetch GET 304 https://registry.npmjs.org/string_decoder 139ms (from cache)
51 http fetch GET 304 https://registry.npmjs.org/isarray 140ms (from cache)
52 http fetch GET 304 https://registry.npmjs.org/util-deprecate 138ms (from cache)
53 http fetch GET 304 https://registry.npmjs.org/process-nextick-args 144ms (from cache)
54 silly pacote range manifest for string_decoder@~1.1.1 fetched in 143ms
55 silly resolveWithNewModule string_decoder@1.1.1 checking installable status
56 silly pacote range manifest for isarray@~1.0.0 fetched in 145ms
57 silly resolveWithNewModule isarray@1.0.0 checking installable status
58 http fetch GET 304 https://registry.npmjs.org/safe-buffer 145ms (from cache)
59 silly pacote range manifest for util-deprecate@~1.0.1 fetched in 145ms
60 silly resolveWithNewModule util-deprecate@1.0.2 checking installable status
61 silly pacote range manifest for process-nextick-args@~2.0.0 fetched in 148ms
62 silly resolveWithNewModule process-nextick-args@2.0.1 checking installable status
63 silly pacote range manifest for safe-buffer@~5.1.1 fetched in 149ms
64 silly resolveWithNewModule safe-buffer@5.1.2 checking installable status
65 http fetch GET 304 https://registry.npmjs.org/inherits 185ms (from cache)
66 silly pacote range manifest for inherits@~2.0.3 fetched in 189ms
67 silly resolveWithNewModule inherits@2.0.4 checking installable status
68 http fetch GET 304 https://registry.npmjs.org/core-util-is 234ms (from cache)
69 silly pacote range manifest for core-util-is@~1.0.0 fetched in 241ms
70 silly resolveWithNewModule core-util-is@1.0.2 checking installable status
71 http fetch GET 304 https://registry.npmjs.org/object-assign 129ms (from cache)
72 http fetch GET 304 https://registry.npmjs.org/signal-exit 129ms (from cache)
73 http fetch GET 304 https://registry.npmjs.org/wide-align 131ms (from cache)
74 silly pacote range manifest for signal-exit@^3.0.0 fetched in 143ms
75 silly resolveWithNewModule signal-exit@3.0.3 checking installable status
76 silly pacote range manifest for wide-align@^1.1.0 fetched in 145ms
77 silly resolveWithNewModule wide-align@1.1.3 checking installable status
78 silly pacote range manifest for object-assign@^4.1.0 fetched in 147ms
79 silly resolveWithNewModule object-assign@4.1.1 checking installable status
80 http fetch GET 304 https://registry.npmjs.org/strip-ansi 147ms (from cache)
81 silly pacote range manifest for strip-ansi@^3.0.1 fetched in 155ms
82 silly resolveWithNewModule strip-ansi@3.0.1 checking installable status
83 http fetch GET 304 https://registry.npmjs.org/aproba 159ms (from cache)
84 silly pacote range manifest for aproba@^1.0.3 fetched in 162ms
85 silly resolveWithNewModule aproba@1.2.0 checking installable status
86 http fetch GET 304 https://registry.npmjs.org/has-unicode 165ms (from cache)
87 http fetch GET 304 https://registry.npmjs.org/string-width 166ms (from cache)
88 silly pacote range manifest for has-unicode@^2.0.0 fetched in 170ms
89 silly resolveWithNewModule has-unicode@2.0.1 checking installable status
90 silly pacote range manifest for string-width@^1.0.1 fetched in 171ms
91 silly resolveWithNewModule string-width@1.0.2 checking installable status
92 http fetch GET 304 https://registry.npmjs.org/code-point-at 89ms (from cache)
93 silly pacote range manifest for code-point-at@^1.0.0 fetched in 90ms
94 silly resolveWithNewModule code-point-at@1.1.0 checking installable status
95 http fetch GET 304 https://registry.npmjs.org/is-fullwidth-code-point 100ms (from cache)
96 silly pacote range manifest for is-fullwidth-code-point@^1.0.0 fetched in 102ms
97 silly resolveWithNewModule is-fullwidth-code-point@1.0.0 checking installable status
98 http fetch GET 304 https://registry.npmjs.org/number-is-nan 171ms (from cache)
99 silly pacote range manifest for number-is-nan@^1.0.0 fetched in 173ms
100 silly resolveWithNewModule number-is-nan@1.0.1 checking installable status
101 http fetch GET 304 https://registry.npmjs.org/ansi-regex 100ms (from cache)
102 silly pacote range manifest for ansi-regex@^2.0.0 fetched in 101ms
103 silly resolveWithNewModule ansi-regex@2.1.1 checking installable status
104 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 2044ms
105 timing stage:loadIdealTree Completed in 2058ms
106 silly currentTree lib
107 silly idealTree lib
107 silly idealTree └─┬ opencv4nodejs@5.6.0
107 silly idealTree   ├── @types/node@14.14.37
107 silly idealTree   ├── ansi-regex@2.1.1
107 silly idealTree   ├── aproba@1.2.0
107 silly idealTree   ├── are-we-there-yet@1.1.5
107 silly idealTree   ├── code-point-at@1.1.0
107 silly idealTree   ├── console-control-strings@1.1.0
107 silly idealTree   ├── core-util-is@1.0.2
107 silly idealTree   ├── delegates@1.0.0
107 silly idealTree   ├── gauge@2.7.4
107 silly idealTree   ├── has-unicode@2.0.1
107 silly idealTree   ├── inherits@2.0.4
107 silly idealTree   ├── is-fullwidth-code-point@1.0.0
107 silly idealTree   ├── isarray@1.0.0
107 silly idealTree   ├── nan@2.14.2
107 silly idealTree   ├── native-node-utils@0.2.7
107 silly idealTree   ├── npmlog@4.1.2
107 silly idealTree   ├── number-is-nan@1.0.1
107 silly idealTree   ├── object-assign@4.1.1
107 silly idealTree   ├── opencv-build@0.1.9
107 silly idealTree   ├── process-nextick-args@2.0.1
107 silly idealTree   ├── readable-stream@2.3.7
107 silly idealTree   ├── safe-buffer@5.1.2
107 silly idealTree   ├── set-blocking@2.0.0
107 silly idealTree   ├── signal-exit@3.0.3
107 silly idealTree   ├── string_decoder@1.1.1
107 silly idealTree   ├── string-width@1.0.2
107 silly idealTree   ├── strip-ansi@3.0.1
107 silly idealTree   ├── util-deprecate@1.0.2
107 silly idealTree   └── wide-align@1.1.3
108 silly install generateActionsToTake
109 timing stage:generateActionsToTake Completed in 7ms
110 silly diffTrees action count 30
111 silly diffTrees add ansi-regex@2.1.1
112 silly diffTrees add aproba@1.2.0
113 silly diffTrees add code-point-at@1.1.0
114 silly diffTrees add console-control-strings@1.1.0
115 silly diffTrees add core-util-is@1.0.2
116 silly diffTrees add delegates@1.0.0
117 silly diffTrees add has-unicode@2.0.1
118 silly diffTrees add inherits@2.0.4
119 silly diffTrees add isarray@1.0.0
120 silly diffTrees add nan@2.14.2
121 silly diffTrees add number-is-nan@1.0.1
122 silly diffTrees add is-fullwidth-code-point@1.0.0
123 silly diffTrees add object-assign@4.1.1
124 silly diffTrees add process-nextick-args@2.0.1
125 silly diffTrees add safe-buffer@5.1.2
126 silly diffTrees add set-blocking@2.0.0
127 silly diffTrees add signal-exit@3.0.3
128 silly diffTrees add string_decoder@1.1.1
129 silly diffTrees add strip-ansi@3.0.1
130 silly diffTrees add string-width@1.0.2
131 silly diffTrees add util-deprecate@1.0.2
132 silly diffTrees add readable-stream@2.3.7
133 silly diffTrees add are-we-there-yet@1.1.5
134 silly diffTrees add wide-align@1.1.3
135 silly diffTrees add gauge@2.7.4
136 silly diffTrees add npmlog@4.1.2
137 silly diffTrees add @types/node@14.14.37
138 silly diffTrees add native-node-utils@0.2.7
139 silly diffTrees add opencv-build@0.1.9
140 silly diffTrees add opencv4nodejs@5.6.0
141 silly decomposeActions action count 240
142 silly decomposeActions fetch ansi-regex@2.1.1
143 silly decomposeActions extract ansi-regex@2.1.1
144 silly decomposeActions preinstall ansi-regex@2.1.1
145 silly decomposeActions build ansi-regex@2.1.1
146 silly decomposeActions install ansi-regex@2.1.1
147 silly decomposeActions postinstall ansi-regex@2.1.1
148 silly decomposeActions finalize ansi-regex@2.1.1
149 silly decomposeActions refresh-package-json ansi-regex@2.1.1
150 silly decomposeActions fetch aproba@1.2.0
151 silly decomposeActions extract aproba@1.2.0
152 silly decomposeActions preinstall aproba@1.2.0
153 silly decomposeActions build aproba@1.2.0
154 silly decomposeActions install aproba@1.2.0
155 silly decomposeActions postinstall aproba@1.2.0
156 silly decomposeActions finalize aproba@1.2.0
157 silly decomposeActions refresh-package-json aproba@1.2.0
158 silly decomposeActions fetch code-point-at@1.1.0
159 silly decomposeActions extract code-point-at@1.1.0
160 silly decomposeActions preinstall code-point-at@1.1.0
161 silly decomposeActions build code-point-at@1.1.0
162 silly decomposeActions install code-point-at@1.1.0
163 silly decomposeActions postinstall code-point-at@1.1.0
164 silly decomposeActions finalize code-point-at@1.1.0
165 silly decomposeActions refresh-package-json code-point-at@1.1.0
166 silly decomposeActions fetch console-control-strings@1.1.0
167 silly decomposeActions extract console-control-strings@1.1.0
168 silly decomposeActions preinstall console-control-strings@1.1.0
169 silly decomposeActions build console-control-strings@1.1.0
170 silly decomposeActions install console-control-strings@1.1.0
171 silly decomposeActions postinstall console-control-strings@1.1.0
172 silly decomposeActions finalize console-control-strings@1.1.0
173 silly decomposeActions refresh-package-json console-control-strings@1.1.0
174 silly decomposeActions fetch core-util-is@1.0.2
175 silly decomposeActions extract core-util-is@1.0.2
176 silly decomposeActions preinstall core-util-is@1.0.2
177 silly decomposeActions build core-util-is@1.0.2
178 silly decomposeActions install core-util-is@1.0.2
179 silly decomposeActions postinstall core-util-is@1.0.2
180 silly decomposeActions finalize core-util-is@1.0.2
181 silly decomposeActions refresh-package-json core-util-is@1.0.2
182 silly decomposeActions fetch delegates@1.0.0
183 silly decomposeActions extract delegates@1.0.0
184 silly decomposeActions preinstall delegates@1.0.0
185 silly decomposeActions build delegates@1.0.0
186 silly decomposeActions install delegates@1.0.0
187 silly decomposeActions postinstall delegates@1.0.0
188 silly decomposeActions finalize delegates@1.0.0
189 silly decomposeActions refresh-package-json delegates@1.0.0
190 silly decomposeActions fetch has-unicode@2.0.1
191 silly decomposeActions extract has-unicode@2.0.1
192 silly decomposeActions preinstall has-unicode@2.0.1
193 silly decomposeActions build has-unicode@2.0.1
194 silly decomposeActions install has-unicode@2.0.1
195 silly decomposeActions postinstall has-unicode@2.0.1
196 silly decomposeActions finalize has-unicode@2.0.1
197 silly decomposeActions refresh-package-json has-unicode@2.0.1
198 silly decomposeActions fetch inherits@2.0.4
199 silly decomposeActions extract inherits@2.0.4
200 silly decomposeActions preinstall inherits@2.0.4
201 silly decomposeActions build inherits@2.0.4
202 silly decomposeActions install inherits@2.0.4
203 silly decomposeActions postinstall inherits@2.0.4
204 silly decomposeActions finalize inherits@2.0.4
205 silly decomposeActions refresh-package-json inherits@2.0.4
206 silly decomposeActions fetch isarray@1.0.0
207 silly decomposeActions extract isarray@1.0.0
208 silly decomposeActions preinstall isarray@1.0.0
209 silly decomposeActions build isarray@1.0.0
210 silly decomposeActions install isarray@1.0.0
211 silly decomposeActions postinstall isarray@1.0.0
212 silly decomposeActions finalize isarray@1.0.0
213 silly decomposeActions refresh-package-json isarray@1.0.0
214 silly decomposeActions fetch nan@2.14.2
215 silly decomposeActions extract nan@2.14.2
216 silly decomposeActions preinstall nan@2.14.2
217 silly decomposeActions build nan@2.14.2
218 silly decomposeActions install nan@2.14.2
219 silly decomposeActions postinstall nan@2.14.2
220 silly decomposeActions finalize nan@2.14.2
221 silly decomposeActions refresh-package-json nan@2.14.2
222 silly decomposeActions fetch number-is-nan@1.0.1
223 silly decomposeActions extract number-is-nan@1.0.1
224 silly decomposeActions preinstall number-is-nan@1.0.1
225 silly decomposeActions build number-is-nan@1.0.1
226 silly decomposeActions install number-is-nan@1.0.1
227 silly decomposeActions postinstall number-is-nan@1.0.1
228 silly decomposeActions finalize number-is-nan@1.0.1
229 silly decomposeActions refresh-package-json number-is-nan@1.0.1
230 silly decomposeActions fetch is-fullwidth-code-point@1.0.0
231 silly decomposeActions extract is-fullwidth-code-point@1.0.0
232 silly decomposeActions preinstall is-fullwidth-code-point@1.0.0
233 silly decomposeActions build is-fullwidth-code-point@1.0.0
234 silly decomposeActions install is-fullwidth-code-point@1.0.0
235 silly decomposeActions postinstall is-fullwidth-code-point@1.0.0
236 silly decomposeActions finalize is-fullwidth-code-point@1.0.0
237 silly decomposeActions refresh-package-json is-fullwidth-code-point@1.0.0
238 silly decomposeActions fetch object-assign@4.1.1
239 silly decomposeActions extract object-assign@4.1.1
240 silly decomposeActions preinstall object-assign@4.1.1
241 silly decomposeActions build object-assign@4.1.1
242 silly decomposeActions install object-assign@4.1.1
243 silly decomposeActions postinstall object-assign@4.1.1
244 silly decomposeActions finalize object-assign@4.1.1
245 silly decomposeActions refresh-package-json object-assign@4.1.1
246 silly decomposeActions fetch process-nextick-args@2.0.1
247 silly decomposeActions extract process-nextick-args@2.0.1
248 silly decomposeActions preinstall process-nextick-args@2.0.1
249 silly decomposeActions build process-nextick-args@2.0.1
250 silly decomposeActions install process-nextick-args@2.0.1
251 silly decomposeActions postinstall process-nextick-args@2.0.1
252 silly decomposeActions finalize process-nextick-args@2.0.1
253 silly decomposeActions refresh-package-json process-nextick-args@2.0.1
254 silly decomposeActions fetch safe-buffer@5.1.2
255 silly decomposeActions extract safe-buffer@5.1.2
256 silly decomposeActions preinstall safe-buffer@5.1.2
257 silly decomposeActions build safe-buffer@5.1.2
258 silly decomposeActions install safe-buffer@5.1.2
259 silly decomposeActions postinstall safe-buffer@5.1.2
260 silly decomposeActions finalize safe-buffer@5.1.2
261 silly decomposeActions refresh-package-json safe-buffer@5.1.2
262 silly decomposeActions fetch set-blocking@2.0.0
263 silly decomposeActions extract set-blocking@2.0.0
264 silly decomposeActions preinstall set-blocking@2.0.0
265 silly decomposeActions build set-blocking@2.0.0
266 silly decomposeActions install set-blocking@2.0.0
267 silly decomposeActions postinstall set-blocking@2.0.0
268 silly decomposeActions finalize set-blocking@2.0.0
269 silly decomposeActions refresh-package-json set-blocking@2.0.0
270 silly decomposeActions fetch signal-exit@3.0.3
271 silly decomposeActions extract signal-exit@3.0.3
272 silly decomposeActions preinstall signal-exit@3.0.3
273 silly decomposeActions build signal-exit@3.0.3
274 silly decomposeActions install signal-exit@3.0.3
275 silly decomposeActions postinstall signal-exit@3.0.3
276 silly decomposeActions finalize signal-exit@3.0.3
277 silly decomposeActions refresh-package-json signal-exit@3.0.3
278 silly decomposeActions fetch string_decoder@1.1.1
279 silly decomposeActions extract string_decoder@1.1.1
280 silly decomposeActions preinstall string_decoder@1.1.1
281 silly decomposeActions build string_decoder@1.1.1
282 silly decomposeActions install string_decoder@1.1.1
283 silly decomposeActions postinstall string_decoder@1.1.1
284 silly decomposeActions finalize string_decoder@1.1.1
285 silly decomposeActions refresh-package-json string_decoder@1.1.1
286 silly decomposeActions fetch strip-ansi@3.0.1
287 silly decomposeActions extract strip-ansi@3.0.1
288 silly decomposeActions preinstall strip-ansi@3.0.1
289 silly decomposeActions build strip-ansi@3.0.1
290 silly decomposeActions install strip-ansi@3.0.1
291 silly decomposeActions postinstall strip-ansi@3.0.1
292 silly decomposeActions finalize strip-ansi@3.0.1
293 silly decomposeActions refresh-package-json strip-ansi@3.0.1
294 silly decomposeActions fetch string-width@1.0.2
295 silly decomposeActions extract string-width@1.0.2
296 silly decomposeActions preinstall string-width@1.0.2
297 silly decomposeActions build string-width@1.0.2
298 silly decomposeActions install string-width@1.0.2
299 silly decomposeActions postinstall string-width@1.0.2
300 silly decomposeActions finalize string-width@1.0.2
301 silly decomposeActions refresh-package-json string-width@1.0.2
302 silly decomposeActions fetch util-deprecate@1.0.2
303 silly decomposeActions extract util-deprecate@1.0.2
304 silly decomposeActions preinstall util-deprecate@1.0.2
305 silly decomposeActions build util-deprecate@1.0.2
306 silly decomposeActions install util-deprecate@1.0.2
307 silly decomposeActions postinstall util-deprecate@1.0.2
308 silly decomposeActions finalize util-deprecate@1.0.2
309 silly decomposeActions refresh-package-json util-deprecate@1.0.2
310 silly decomposeActions fetch readable-stream@2.3.7
311 silly decomposeActions extract readable-stream@2.3.7
312 silly decomposeActions preinstall readable-stream@2.3.7
313 silly decomposeActions build readable-stream@2.3.7
314 silly decomposeActions install readable-stream@2.3.7
315 silly decomposeActions postinstall readable-stream@2.3.7
316 silly decomposeActions finalize readable-stream@2.3.7
317 silly decomposeActions refresh-package-json readable-stream@2.3.7
318 silly decomposeActions fetch are-we-there-yet@1.1.5
319 silly decomposeActions extract are-we-there-yet@1.1.5
320 silly decomposeActions preinstall are-we-there-yet@1.1.5
321 silly decomposeActions build are-we-there-yet@1.1.5
322 silly decomposeActions install are-we-there-yet@1.1.5
323 silly decomposeActions postinstall are-we-there-yet@1.1.5
324 silly decomposeActions finalize are-we-there-yet@1.1.5
325 silly decomposeActions refresh-package-json are-we-there-yet@1.1.5
326 silly decomposeActions fetch wide-align@1.1.3
327 silly decomposeActions extract wide-align@1.1.3
328 silly decomposeActions preinstall wide-align@1.1.3
329 silly decomposeActions build wide-align@1.1.3
330 silly decomposeActions install wide-align@1.1.3
331 silly decomposeActions postinstall wide-align@1.1.3
332 silly decomposeActions finalize wide-align@1.1.3
333 silly decomposeActions refresh-package-json wide-align@1.1.3
334 silly decomposeActions fetch gauge@2.7.4
335 silly decomposeActions extract gauge@2.7.4
336 silly decomposeActions preinstall gauge@2.7.4
337 silly decomposeActions build gauge@2.7.4
338 silly decomposeActions install gauge@2.7.4
339 silly decomposeActions postinstall gauge@2.7.4
340 silly decomposeActions finalize gauge@2.7.4
341 silly decomposeActions refresh-package-json gauge@2.7.4
342 silly decomposeActions fetch npmlog@4.1.2
343 silly decomposeActions extract npmlog@4.1.2
344 silly decomposeActions preinstall npmlog@4.1.2
345 silly decomposeActions build npmlog@4.1.2
346 silly decomposeActions install npmlog@4.1.2
347 silly decomposeActions postinstall npmlog@4.1.2
348 silly decomposeActions finalize npmlog@4.1.2
349 silly decomposeActions refresh-package-json npmlog@4.1.2
350 silly decomposeActions fetch @types/node@14.14.37
351 silly decomposeActions extract @types/node@14.14.37
352 silly decomposeActions preinstall @types/node@14.14.37
353 silly decomposeActions build @types/node@14.14.37
354 silly decomposeActions install @types/node@14.14.37
355 silly decomposeActions postinstall @types/node@14.14.37
356 silly decomposeActions finalize @types/node@14.14.37
357 silly decomposeActions refresh-package-json @types/node@14.14.37
358 silly decomposeActions fetch native-node-utils@0.2.7
359 silly decomposeActions extract native-node-utils@0.2.7
360 silly decomposeActions preinstall native-node-utils@0.2.7
361 silly decomposeActions build native-node-utils@0.2.7
362 silly decomposeActions install native-node-utils@0.2.7
363 silly decomposeActions postinstall native-node-utils@0.2.7
364 silly decomposeActions finalize native-node-utils@0.2.7
365 silly decomposeActions refresh-package-json native-node-utils@0.2.7
366 silly decomposeActions fetch opencv-build@0.1.9
367 silly decomposeActions extract opencv-build@0.1.9
368 silly decomposeActions preinstall opencv-build@0.1.9
369 silly decomposeActions build opencv-build@0.1.9
370 silly decomposeActions install opencv-build@0.1.9
371 silly decomposeActions postinstall opencv-build@0.1.9
372 silly decomposeActions finalize opencv-build@0.1.9
373 silly decomposeActions refresh-package-json opencv-build@0.1.9
374 silly decomposeActions fetch opencv4nodejs@5.6.0
375 silly decomposeActions extract opencv4nodejs@5.6.0
376 silly decomposeActions preinstall opencv4nodejs@5.6.0
377 silly decomposeActions build opencv4nodejs@5.6.0
378 silly decomposeActions install opencv4nodejs@5.6.0
379 silly decomposeActions postinstall opencv4nodejs@5.6.0
380 silly decomposeActions finalize opencv4nodejs@5.6.0
381 silly decomposeActions refresh-package-json opencv4nodejs@5.6.0
382 silly install executeActions
383 silly doSerial global-install 240
384 verbose correctMkdir /Users/igorpost/.npm/_locks correctMkdir not in flight; initializing
385 verbose lock using /Users/igorpost/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging
386 silly doParallel extract 30
387 silly extract ansi-regex@2.1.1
388 silly extract aproba@1.2.0
389 silly extract code-point-at@1.1.0
390 silly extract console-control-strings@1.1.0
391 silly extract core-util-is@1.0.2
392 silly extract delegates@1.0.0
393 silly extract has-unicode@2.0.1
394 silly extract inherits@2.0.4
395 silly extract isarray@1.0.0
396 silly extract nan@2.14.2
397 silly extract number-is-nan@1.0.1
398 silly extract is-fullwidth-code-point@1.0.0
399 silly extract object-assign@4.1.1
400 silly extract process-nextick-args@2.0.1
401 silly extract safe-buffer@5.1.2
402 silly extract set-blocking@2.0.0
403 silly extract signal-exit@3.0.3
404 silly extract string_decoder@1.1.1
405 silly extract strip-ansi@3.0.1
406 silly extract string-width@1.0.2
407 silly extract util-deprecate@1.0.2
408 silly extract readable-stream@2.3.7
409 silly extract are-we-there-yet@1.1.5
410 silly extract wide-align@1.1.3
411 silly extract gauge@2.7.4
412 silly extract npmlog@4.1.2
413 silly extract @types/node@14.14.37
414 silly extract native-node-utils@0.2.7
415 silly extract opencv-build@0.1.9
416 silly extract opencv4nodejs@5.6.0
417 silly tarball trying ansi-regex@^2.0.0 by hash: sha1-w7M6te42DYbg5ijwRorn7yfWVN8=
418 silly tarball trying aproba@^1.0.3 by hash: sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==
419 silly tarball trying code-point-at@^1.0.0 by hash: sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=
420 silly tarball trying console-control-strings@~1.1.0 by hash: sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=
421 silly tarball trying core-util-is@~1.0.0 by hash: sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=
422 silly tarball trying delegates@^1.0.0 by hash: sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=
423 silly tarball trying has-unicode@^2.0.0 by hash: sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=
424 silly tarball trying inherits@~2.0.3 by hash: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
425 silly tarball trying isarray@~1.0.0 by hash: sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=
426 silly tarball trying nan@^2.14.0 by hash: sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==
427 silly tarball trying number-is-nan@^1.0.0 by hash: sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=
428 silly tarball trying is-fullwidth-code-point@^1.0.0 by hash: sha1-754xOG8DGn8NZDr4L95QxFfvAMs=
429 silly tarball trying object-assign@^4.1.0 by hash: sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=
430 silly tarball trying process-nextick-args@~2.0.0 by hash: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==
431 silly tarball trying safe-buffer@~5.1.1 by hash: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==
432 silly tarball trying set-blocking@~2.0.0 by hash: sha1-BF+XgtARrppoA93TgrJDkrPYkPc=
433 silly tarball trying signal-exit@^3.0.0 by hash: sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==
434 silly tarball trying string_decoder@~1.1.1 by hash: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==
435 silly tarball trying strip-ansi@^3.0.1 by hash: sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=
436 silly tarball trying string-width@^1.0.1 by hash: sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=
437 silly tarball trying util-deprecate@~1.0.1 by hash: sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=
438 silly tarball trying readable-stream@^2.0.6 by hash: sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==
439 silly tarball trying are-we-there-yet@~1.1.2 by hash: sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==
440 silly tarball trying wide-align@^1.1.0 by hash: sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==
441 silly tarball trying gauge@~2.7.3 by hash: sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=
442 silly tarball trying npmlog@^4.1.2 by hash: sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==
443 silly tarball trying @types/node@>6 by hash: sha512-XYmBiy+ohOR4Lh5jE379fV2IU+6Jn4g5qASinhitfyO71b/sCo6MKsMLF5tc7Zf2CE8hViVQyYSobJNke8OvUw==
444 silly tarball trying native-node-utils@^0.2.7 by hash: sha512-61v0G3uVxWlXHppSZGwZi+ZEIgGUKI8QvEkEJLb1GVePI7P8SBe+G747z+QMXSt4TxfgbVZP0DyobbRKYVIjdw==
445 silly tarball trying opencv-build@^0.1.9 by hash: sha512-tgT/bnJAcYROen9yaPynfK98IMl62mPSgMLmTx41911m5bczlq21xtE5r+UWLB/xEo/0hKk6tl5zHyxV/JS5Rg==
446 silly tarball trying opencv4nodejs@latest by hash: sha512-JvcT1hb2JUCdntcVABgD9Gprr+gkXBe+jhHKvrr0Ug51y087K4ybm0vHBQVzI2ei1aJxEc9tNknPL9rpyx5Xuw==
447 silly extract aproba@^1.0.3 extracted to /usr/local/lib/node_modules/.staging/aproba-764d5b4c (399ms)
448 silly extract ansi-regex@^2.0.0 extracted to /usr/local/lib/node_modules/.staging/ansi-regex-a8a8b625 (404ms)
449 silly extract code-point-at@^1.0.0 extracted to /usr/local/lib/node_modules/.staging/code-point-at-26ae2633 (404ms)
450 silly extract has-unicode@^2.0.0 extracted to /usr/local/lib/node_modules/.staging/has-unicode-6e9f7504 (403ms)
451 silly extract number-is-nan@^1.0.0 extracted to /usr/local/lib/node_modules/.staging/number-is-nan-4c8262ba (402ms)
452 silly extract is-fullwidth-code-point@^1.0.0 extracted to /usr/local/lib/node_modules/.staging/is-fullwidth-code-point-63f7ae15 (402ms)
453 silly extract object-assign@^4.1.0 extracted to /usr/local/lib/node_modules/.staging/object-assign-09aff460 (402ms)
454 silly extract process-nextick-args@~2.0.0 extracted to /usr/local/lib/node_modules/.staging/process-nextick-args-8ee93182 (402ms)
455 silly extract strip-ansi@^3.0.1 extracted to /usr/local/lib/node_modules/.staging/strip-ansi-982f62de (401ms)
456 silly extract string-width@^1.0.1 extracted to /usr/local/lib/node_modules/.staging/string-width-b3e94d75 (401ms)
457 silly extract wide-align@^1.1.0 extracted to /usr/local/lib/node_modules/.staging/wide-align-302d6192 (400ms)
458 silly extract inherits@~2.0.3 extracted to /usr/local/lib/node_modules/.staging/inherits-d3c4cb07 (407ms)
459 silly extract console-control-strings@~1.1.0 extracted to /usr/local/lib/node_modules/.staging/console-control-strings-165975a2 (408ms)
460 silly extract set-blocking@~2.0.0 extracted to /usr/local/lib/node_modules/.staging/set-blocking-590c7766 (406ms)
461 silly extract signal-exit@^3.0.0 extracted to /usr/local/lib/node_modules/.staging/signal-exit-1ffdb54b (412ms)
462 silly extract util-deprecate@~1.0.1 extracted to /usr/local/lib/node_modules/.staging/util-deprecate-21dfa7d0 (410ms)
463 silly extract safe-buffer@~5.1.1 extracted to /usr/local/lib/node_modules/.staging/safe-buffer-16253f5e (444ms)
464 silly extract string_decoder@~1.1.1 extracted to /usr/local/lib/node_modules/.staging/string_decoder-5df191d0 (444ms)
465 silly extract npmlog@^4.1.2 extracted to /usr/local/lib/node_modules/.staging/npmlog-fdd37e7f (443ms)
466 silly extract isarray@~1.0.0 extracted to /usr/local/lib/node_modules/.staging/isarray-56a503fa (454ms)
467 silly extract core-util-is@~1.0.0 extracted to /usr/local/lib/node_modules/.staging/core-util-is-fbc4f3f3 (457ms)
468 silly extract delegates@^1.0.0 extracted to /usr/local/lib/node_modules/.staging/delegates-0faee5cf (457ms)
469 silly extract are-we-there-yet@~1.1.2 extracted to /usr/local/lib/node_modules/.staging/are-we-there-yet-238f8a80 (468ms)
470 silly extract native-node-utils@^0.2.7 extracted to /usr/local/lib/node_modules/.staging/native-node-utils-a7ca06f8 (486ms)
471 silly extract gauge@~2.7.3 extracted to /usr/local/lib/node_modules/.staging/gauge-f3b99d66 (499ms)
472 silly extract readable-stream@^2.0.6 extracted to /usr/local/lib/node_modules/.staging/readable-stream-86cdaefa (508ms)
473 silly extract opencv-build@^0.1.9 extracted to /usr/local/lib/node_modules/.staging/opencv-build-e21e20eb (522ms)
474 silly extract nan@^2.14.0 extracted to /usr/local/lib/node_modules/.staging/nan-9548b56c (576ms)
475 silly extract @types/node@>6 extracted to /usr/local/lib/node_modules/.staging/@types/node-cffd38e6 (592ms)
476 silly extract opencv4nodejs@latest extracted to /usr/local/lib/node_modules/.staging/opencv4nodejs-3f4e1522 (919ms)
477 timing action:extract Completed in 927ms
478 silly doReverseSerial unbuild 240
479 silly doSerial remove 240
480 silly doSerial move 240
481 silly doSerial finalize 240
482 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/ansi-regex
483 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/aproba
484 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/code-point-at
485 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/console-control-strings
486 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/core-util-is
487 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/delegates
488 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/has-unicode
489 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/inherits
490 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/isarray
491 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/nan
492 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/number-is-nan
493 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/is-fullwidth-code-point
494 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/object-assign
495 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/process-nextick-args
496 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/safe-buffer
497 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/set-blocking
498 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/signal-exit
499 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/string_decoder
500 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/strip-ansi
501 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/string-width
502 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/util-deprecate
503 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/readable-stream
504 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/are-we-there-yet
505 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/wide-align
506 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/gauge
507 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/npmlog
508 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/@types/node
509 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/native-node-utils
510 silly finalize /usr/local/lib/node_modules/opencv4nodejs/node_modules/opencv-build
511 silly finalize /usr/local/lib/node_modules/opencv4nodejs
512 timing action:finalize Completed in 99ms
513 silly doParallel refresh-package-json 30
514 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/ansi-regex
515 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/aproba
516 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/code-point-at
517 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/console-control-strings
518 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/core-util-is
519 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/delegates
520 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/has-unicode
521 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/inherits
522 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/isarray
523 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/nan
524 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/number-is-nan
525 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/is-fullwidth-code-point
526 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/object-assign
527 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/process-nextick-args
528 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/safe-buffer
529 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/set-blocking
530 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/signal-exit
531 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/string_decoder
532 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/strip-ansi
533 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/string-width
534 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/util-deprecate
535 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/readable-stream
536 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/are-we-there-yet
537 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/wide-align
538 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/gauge
539 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/npmlog
540 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/@types/node
541 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/native-node-utils
542 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs/node_modules/opencv-build
543 silly refresh-package-json /usr/local/lib/node_modules/opencv4nodejs
544 timing action:refresh-package-json Completed in 82ms
545 silly doParallel preinstall 30
546 silly preinstall ansi-regex@2.1.1
547 info lifecycle ansi-regex@2.1.1~preinstall: ansi-regex@2.1.1
548 silly preinstall aproba@1.2.0
549 info lifecycle aproba@1.2.0~preinstall: aproba@1.2.0
550 silly preinstall code-point-at@1.1.0
551 info lifecycle code-point-at@1.1.0~preinstall: code-point-at@1.1.0
552 silly preinstall console-control-strings@1.1.0
553 info lifecycle console-control-strings@1.1.0~preinstall: console-control-strings@1.1.0
554 silly preinstall core-util-is@1.0.2
555 info lifecycle core-util-is@1.0.2~preinstall: core-util-is@1.0.2
556 silly preinstall delegates@1.0.0
557 info lifecycle delegates@1.0.0~preinstall: delegates@1.0.0
558 silly preinstall has-unicode@2.0.1
559 info lifecycle has-unicode@2.0.1~preinstall: has-unicode@2.0.1
560 silly preinstall inherits@2.0.4
561 info lifecycle inherits@2.0.4~preinstall: inherits@2.0.4
562 silly preinstall isarray@1.0.0
563 info lifecycle isarray@1.0.0~preinstall: isarray@1.0.0
564 silly preinstall nan@2.14.2
565 info lifecycle nan@2.14.2~preinstall: nan@2.14.2
566 silly preinstall number-is-nan@1.0.1
567 info lifecycle number-is-nan@1.0.1~preinstall: number-is-nan@1.0.1
568 silly preinstall is-fullwidth-code-point@1.0.0
569 info lifecycle is-fullwidth-code-point@1.0.0~preinstall: is-fullwidth-code-point@1.0.0
570 silly preinstall object-assign@4.1.1
571 info lifecycle object-assign@4.1.1~preinstall: object-assign@4.1.1
572 silly preinstall process-nextick-args@2.0.1
573 info lifecycle process-nextick-args@2.0.1~preinstall: process-nextick-args@2.0.1
574 silly preinstall safe-buffer@5.1.2
575 info lifecycle safe-buffer@5.1.2~preinstall: safe-buffer@5.1.2
576 silly preinstall set-blocking@2.0.0
577 info lifecycle set-blocking@2.0.0~preinstall: set-blocking@2.0.0
578 silly preinstall signal-exit@3.0.3
579 info lifecycle signal-exit@3.0.3~preinstall: signal-exit@3.0.3
580 silly preinstall string_decoder@1.1.1
581 info lifecycle string_decoder@1.1.1~preinstall: string_decoder@1.1.1
582 silly preinstall strip-ansi@3.0.1
583 info lifecycle strip-ansi@3.0.1~preinstall: strip-ansi@3.0.1
584 silly preinstall string-width@1.0.2
585 info lifecycle string-width@1.0.2~preinstall: string-width@1.0.2
586 silly preinstall util-deprecate@1.0.2
587 info lifecycle util-deprecate@1.0.2~preinstall: util-deprecate@1.0.2
588 silly preinstall readable-stream@2.3.7
589 info lifecycle readable-stream@2.3.7~preinstall: readable-stream@2.3.7
590 silly preinstall are-we-there-yet@1.1.5
591 info lifecycle are-we-there-yet@1.1.5~preinstall: are-we-there-yet@1.1.5
592 silly preinstall wide-align@1.1.3
593 info lifecycle wide-align@1.1.3~preinstall: wide-align@1.1.3
594 silly preinstall gauge@2.7.4
595 info lifecycle gauge@2.7.4~preinstall: gauge@2.7.4
596 silly preinstall npmlog@4.1.2
597 info lifecycle npmlog@4.1.2~preinstall: npmlog@4.1.2
598 silly preinstall @types/node@14.14.37
599 info lifecycle @types/node@14.14.37~preinstall: @types/node@14.14.37
600 silly preinstall native-node-utils@0.2.7
601 info lifecycle native-node-utils@0.2.7~preinstall: native-node-utils@0.2.7
602 silly preinstall opencv-build@0.1.9
603 info lifecycle opencv-build@0.1.9~preinstall: opencv-build@0.1.9
604 silly preinstall opencv4nodejs@5.6.0
605 info lifecycle opencv4nodejs@5.6.0~preinstall: opencv4nodejs@5.6.0
606 timing action:preinstall Completed in 4ms
607 silly doSerial build 240
608 silly build ansi-regex@2.1.1
609 info linkStuff ansi-regex@2.1.1
610 silly linkStuff ansi-regex@2.1.1 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
611 silly linkStuff ansi-regex@2.1.1 is part of a global install
612 silly linkStuff ansi-regex@2.1.1 is installed into a global node_modules
613 silly build aproba@1.2.0
614 info linkStuff aproba@1.2.0
615 silly linkStuff aproba@1.2.0 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
616 silly linkStuff aproba@1.2.0 is part of a global install
617 silly linkStuff aproba@1.2.0 is installed into a global node_modules
618 silly build code-point-at@1.1.0
619 info linkStuff code-point-at@1.1.0
620 silly linkStuff code-point-at@1.1.0 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
621 silly linkStuff code-point-at@1.1.0 is part of a global install
622 silly linkStuff code-point-at@1.1.0 is installed into a global node_modules
623 silly build console-control-strings@1.1.0
624 info linkStuff console-control-strings@1.1.0
625 silly linkStuff console-control-strings@1.1.0 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
626 silly linkStuff console-control-strings@1.1.0 is part of a global install
627 silly linkStuff console-control-strings@1.1.0 is installed into a global node_modules
628 silly build core-util-is@1.0.2
629 info linkStuff core-util-is@1.0.2
630 silly linkStuff core-util-is@1.0.2 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
631 silly linkStuff core-util-is@1.0.2 is part of a global install
632 silly linkStuff core-util-is@1.0.2 is installed into a global node_modules
633 silly build delegates@1.0.0
634 info linkStuff delegates@1.0.0
635 silly linkStuff delegates@1.0.0 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
636 silly linkStuff delegates@1.0.0 is part of a global install
637 silly linkStuff delegates@1.0.0 is installed into a global node_modules
638 silly build has-unicode@2.0.1
639 info linkStuff has-unicode@2.0.1
640 silly linkStuff has-unicode@2.0.1 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
641 silly linkStuff has-unicode@2.0.1 is part of a global install
642 silly linkStuff has-unicode@2.0.1 is installed into a global node_modules
643 silly build inherits@2.0.4
644 info linkStuff inherits@2.0.4
645 silly linkStuff inherits@2.0.4 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
646 silly linkStuff inherits@2.0.4 is part of a global install
647 silly linkStuff inherits@2.0.4 is installed into a global node_modules
648 silly build isarray@1.0.0
649 info linkStuff isarray@1.0.0
650 silly linkStuff isarray@1.0.0 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
651 silly linkStuff isarray@1.0.0 is part of a global install
652 silly linkStuff isarray@1.0.0 is installed into a global node_modules
653 silly build nan@2.14.2
654 info linkStuff nan@2.14.2
655 silly linkStuff nan@2.14.2 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
656 silly linkStuff nan@2.14.2 is part of a global install
657 silly linkStuff nan@2.14.2 is installed into a global node_modules
658 silly build number-is-nan@1.0.1
659 info linkStuff number-is-nan@1.0.1
660 silly linkStuff number-is-nan@1.0.1 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
661 silly linkStuff number-is-nan@1.0.1 is part of a global install
662 silly linkStuff number-is-nan@1.0.1 is installed into a global node_modules
663 silly build is-fullwidth-code-point@1.0.0
664 info linkStuff is-fullwidth-code-point@1.0.0
665 silly linkStuff is-fullwidth-code-point@1.0.0 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
666 silly linkStuff is-fullwidth-code-point@1.0.0 is part of a global install
667 silly linkStuff is-fullwidth-code-point@1.0.0 is installed into a global node_modules
668 silly build object-assign@4.1.1
669 info linkStuff object-assign@4.1.1
670 silly linkStuff object-assign@4.1.1 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
671 silly linkStuff object-assign@4.1.1 is part of a global install
672 silly linkStuff object-assign@4.1.1 is installed into a global node_modules
673 silly build process-nextick-args@2.0.1
674 info linkStuff process-nextick-args@2.0.1
675 silly linkStuff process-nextick-args@2.0.1 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
676 silly linkStuff process-nextick-args@2.0.1 is part of a global install
677 silly linkStuff process-nextick-args@2.0.1 is installed into a global node_modules
678 silly build safe-buffer@5.1.2
679 info linkStuff safe-buffer@5.1.2
680 silly linkStuff safe-buffer@5.1.2 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
681 silly linkStuff safe-buffer@5.1.2 is part of a global install
682 silly linkStuff safe-buffer@5.1.2 is installed into a global node_modules
683 silly build set-blocking@2.0.0
684 info linkStuff set-blocking@2.0.0
685 silly linkStuff set-blocking@2.0.0 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
686 silly linkStuff set-blocking@2.0.0 is part of a global install
687 silly linkStuff set-blocking@2.0.0 is installed into a global node_modules
688 silly build signal-exit@3.0.3
689 info linkStuff signal-exit@3.0.3
690 silly linkStuff signal-exit@3.0.3 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
691 silly linkStuff signal-exit@3.0.3 is part of a global install
692 silly linkStuff signal-exit@3.0.3 is installed into a global node_modules
693 silly build string_decoder@1.1.1
694 info linkStuff string_decoder@1.1.1
695 silly linkStuff string_decoder@1.1.1 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
696 silly linkStuff string_decoder@1.1.1 is part of a global install
697 silly linkStuff string_decoder@1.1.1 is installed into a global node_modules
698 silly build strip-ansi@3.0.1
699 info linkStuff strip-ansi@3.0.1
700 silly linkStuff strip-ansi@3.0.1 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
701 silly linkStuff strip-ansi@3.0.1 is part of a global install
702 silly linkStuff strip-ansi@3.0.1 is installed into a global node_modules
703 silly build string-width@1.0.2
704 info linkStuff string-width@1.0.2
705 silly linkStuff string-width@1.0.2 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
706 silly linkStuff string-width@1.0.2 is part of a global install
707 silly linkStuff string-width@1.0.2 is installed into a global node_modules
708 silly build util-deprecate@1.0.2
709 info linkStuff util-deprecate@1.0.2
710 silly linkStuff util-deprecate@1.0.2 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
711 silly linkStuff util-deprecate@1.0.2 is part of a global install
712 silly linkStuff util-deprecate@1.0.2 is installed into a global node_modules
713 silly build readable-stream@2.3.7
714 info linkStuff readable-stream@2.3.7
715 silly linkStuff readable-stream@2.3.7 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
716 silly linkStuff readable-stream@2.3.7 is part of a global install
717 silly linkStuff readable-stream@2.3.7 is installed into a global node_modules
718 silly build are-we-there-yet@1.1.5
719 info linkStuff are-we-there-yet@1.1.5
720 silly linkStuff are-we-there-yet@1.1.5 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
721 silly linkStuff are-we-there-yet@1.1.5 is part of a global install
722 silly linkStuff are-we-there-yet@1.1.5 is installed into a global node_modules
723 silly build wide-align@1.1.3
724 info linkStuff wide-align@1.1.3
725 silly linkStuff wide-align@1.1.3 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
726 silly linkStuff wide-align@1.1.3 is part of a global install
727 silly linkStuff wide-align@1.1.3 is installed into a global node_modules
728 silly build gauge@2.7.4
729 info linkStuff gauge@2.7.4
730 silly linkStuff gauge@2.7.4 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
731 silly linkStuff gauge@2.7.4 is part of a global install
732 silly linkStuff gauge@2.7.4 is installed into a global node_modules
733 silly build npmlog@4.1.2
734 info linkStuff npmlog@4.1.2
735 silly linkStuff npmlog@4.1.2 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
736 silly linkStuff npmlog@4.1.2 is part of a global install
737 silly linkStuff npmlog@4.1.2 is installed into a global node_modules
738 silly build @types/node@14.14.37
739 info linkStuff @types/node@14.14.37
740 silly linkStuff @types/node@14.14.37 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
741 silly linkStuff @types/node@14.14.37 is part of a global install
742 silly linkStuff @types/node@14.14.37 is installed into a global node_modules
743 silly build native-node-utils@0.2.7
744 info linkStuff native-node-utils@0.2.7
745 silly linkStuff native-node-utils@0.2.7 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
746 silly linkStuff native-node-utils@0.2.7 is part of a global install
747 silly linkStuff native-node-utils@0.2.7 is installed into a global node_modules
748 silly build opencv-build@0.1.9
749 info linkStuff opencv-build@0.1.9
750 silly linkStuff opencv-build@0.1.9 has /usr/local/lib/node_modules/opencv4nodejs/node_modules as its parent node_modules
751 silly linkStuff opencv-build@0.1.9 is part of a global install
752 silly linkStuff opencv-build@0.1.9 is installed into a global node_modules
753 silly build opencv4nodejs@5.6.0
754 info linkStuff opencv4nodejs@5.6.0
755 silly linkStuff opencv4nodejs@5.6.0 has /usr/local/lib/node_modules as its parent node_modules
756 silly linkStuff opencv4nodejs@5.6.0 is part of a global install
757 silly linkStuff opencv4nodejs@5.6.0 is installed into a global node_modules
758 silly linkStuff opencv4nodejs@5.6.0 is installed into the top-level global node_modules
759 timing action:build Completed in 6ms
760 silly doSerial global-link 240
761 silly doParallel update-linked 0
762 silly doSerial install 240
763 silly install ansi-regex@2.1.1
764 info lifecycle ansi-regex@2.1.1~install: ansi-regex@2.1.1
765 silly install aproba@1.2.0
766 info lifecycle aproba@1.2.0~install: aproba@1.2.0
767 silly install code-point-at@1.1.0
768 info lifecycle code-point-at@1.1.0~install: code-point-at@1.1.0
769 silly install console-control-strings@1.1.0
770 info lifecycle console-control-strings@1.1.0~install: console-control-strings@1.1.0
771 silly install core-util-is@1.0.2
772 info lifecycle core-util-is@1.0.2~install: core-util-is@1.0.2
773 silly install delegates@1.0.0
774 info lifecycle delegates@1.0.0~install: delegates@1.0.0
775 silly install has-unicode@2.0.1
776 info lifecycle has-unicode@2.0.1~install: has-unicode@2.0.1
777 silly install inherits@2.0.4
778 info lifecycle inherits@2.0.4~install: inherits@2.0.4
779 silly install isarray@1.0.0
780 info lifecycle isarray@1.0.0~install: isarray@1.0.0
781 silly install nan@2.14.2
782 info lifecycle nan@2.14.2~install: nan@2.14.2
783 silly install number-is-nan@1.0.1
784 info lifecycle number-is-nan@1.0.1~install: number-is-nan@1.0.1
785 silly install is-fullwidth-code-point@1.0.0
786 info lifecycle is-fullwidth-code-point@1.0.0~install: is-fullwidth-code-point@1.0.0
787 silly install object-assign@4.1.1
788 info lifecycle object-assign@4.1.1~install: object-assign@4.1.1
789 silly install process-nextick-args@2.0.1
790 info lifecycle process-nextick-args@2.0.1~install: process-nextick-args@2.0.1
791 silly install safe-buffer@5.1.2
792 info lifecycle safe-buffer@5.1.2~install: safe-buffer@5.1.2
793 silly install set-blocking@2.0.0
794 info lifecycle set-blocking@2.0.0~install: set-blocking@2.0.0
795 silly install signal-exit@3.0.3
796 info lifecycle signal-exit@3.0.3~install: signal-exit@3.0.3
797 silly install string_decoder@1.1.1
798 info lifecycle string_decoder@1.1.1~install: string_decoder@1.1.1
799 silly install strip-ansi@3.0.1
800 info lifecycle strip-ansi@3.0.1~install: strip-ansi@3.0.1
801 silly install string-width@1.0.2
802 info lifecycle string-width@1.0.2~install: string-width@1.0.2
803 silly install util-deprecate@1.0.2
804 info lifecycle util-deprecate@1.0.2~install: util-deprecate@1.0.2
805 silly install readable-stream@2.3.7
806 info lifecycle readable-stream@2.3.7~install: readable-stream@2.3.7
807 silly install are-we-there-yet@1.1.5
808 info lifecycle are-we-there-yet@1.1.5~install: are-we-there-yet@1.1.5
809 silly install wide-align@1.1.3
810 info lifecycle wide-align@1.1.3~install: wide-align@1.1.3
811 silly install gauge@2.7.4
812 info lifecycle gauge@2.7.4~install: gauge@2.7.4
813 silly install npmlog@4.1.2
814 info lifecycle npmlog@4.1.2~install: npmlog@4.1.2
815 silly install @types/node@14.14.37
816 info lifecycle @types/node@14.14.37~install: @types/node@14.14.37
817 silly install native-node-utils@0.2.7
818 info lifecycle native-node-utils@0.2.7~install: native-node-utils@0.2.7
819 silly install opencv-build@0.1.9
820 info lifecycle opencv-build@0.1.9~install: opencv-build@0.1.9
821 verbose lifecycle opencv-build@0.1.9~install: unsafe-perm in lifecycle true
822 verbose lifecycle opencv-build@0.1.9~install: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/local/lib/node_modules/opencv4nodejs/node_modules/opencv-build/node_modules/.bin:/usr/local/lib/node_modules/opencv4nodejs/node_modules/.bin:/usr/local/lib/node_modules/.bin:/Users/igorpost/.toolbox/bin:/Users/igorpost/Library/Android/sdk/tools:/Users/igorpost/Library/Android/sdk/platform-tools:/Library/Java/JavaVirtualMachines/jdk-11.0.10.jdk/Contents/Home/bin:/Library/Frameworks/Python.framework/Versions/3.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/igorpost/platform-tools:/Users/igorpost/.npm-package/bin
823 verbose lifecycle opencv-build@0.1.9~install: CWD: /usr/local/lib/node_modules/opencv4nodejs/node_modules/opencv-build
824 silly lifecycle opencv-build@0.1.9~install: Args: [ '-c', 'node ./install.js' ]
825 silly lifecycle opencv-build@0.1.9~install: Returned: code: 1  signal: null
826 info lifecycle opencv-build@0.1.9~install: Failed to exec install script
827 timing action:install Completed in 539324ms
828 verbose unlock done using /Users/igorpost/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging
829 timing stage:rollbackFailedOptional Completed in 2767ms
830 timing stage:runTopLevelLifecycles Completed in 545797ms
831 verbose stack Error: opencv-build@0.1.9 install: `node ./install.js`
831 verbose stack Exit status 1
831 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
831 verbose stack     at EventEmitter.emit (events.js:315:20)
831 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
831 verbose stack     at ChildProcess.emit (events.js:315:20)
831 verbose stack     at maybeClose (internal/child_process.js:1048:16)
831 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
832 verbose pkgid opencv-build@0.1.9
833 verbose cwd /Users/igorpost/Desktop/Docs
834 verbose Darwin 19.6.0
835 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "opencv4nodejs" "--unsafe-perm" "--allow-root"
836 verbose node v14.16.0
837 verbose npm  v6.14.11
838 error code ELIFECYCLE
839 error errno 1
840 error opencv-build@0.1.9 install: `node ./install.js`
840 error Exit status 1
841 error Failed at the opencv-build@0.1.9 install script.
841 error This is probably not a problem with npm. There is likely additional logging output above.
842 verbose exit [ 1, true ]

Manual Build - Environment Information

OS: MacOS Catalina Version 10.15.7

@cedbale
Copy link

cedbale commented Apr 14, 2021

same here with

macOS Big Sur - 11.2.3 (20D91)
npm: '6.4.1'
node v10.15.3
opencv_version 4.5.2

I tried to install it with opencv installed first and without. Build fail at 55% with opencv_core in both cases.

[........]
[ 55%] Linking CXX shared library ../../lib/libopencv_core.dylib
[ 55%] Built target opencv_core
make: *** [all] Error 2

but i have many errors before with 3rdparty libs

[ 20%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/once.cc.o      
In file included from /Users/cedric/www/amplement/filer-manager/node_modules/opencv-build/opencv/opencv_contrib/modules/sfm/src/libmv_light/libmv/multiview/fundamental.cc:24:
In file included from /usr/local/include/ceres/ceres.h:37:                                                             
In file included from /usr/local/include/ceres/autodiff_cost_function.h:130:                                                                                                                                                                  
In file included from /usr/local/include/ceres/internal/autodiff.h:148:                                                                                                                                                                       
In file included from /usr/local/include/ceres/internal/array_selector.h:38:                                                                                                                                                                  
/usr/local/include/ceres/internal/fixed_array.h:47:1: error: unknown type name 'constexpr'                                                                                                                                                    
constexpr static auto kFixedArrayUseDefault = static_cast<size_t>(-1);                                                                                                                                                                        
^                                                                                                                                                                                                                                             
/usr/local/include/ceres/internal/fixed_array.h:47:18: error: cannot combine with previous 'static' declaration specifier                                                                                                                     
constexpr static auto kFixedArrayUseDefault = static_cast<size_t>(-1);                                                                                                                                                                        
                 ^                                                                                                                                                                                                                            
/usr/local/include/ceres/internal/fixed_array.h:59:57: error: a space is required between consecutive right angle brackets (use '> >')                                                                                                        
                              Eigen::aligned_allocator<T>>::type;                                                                                                                                                                             
                                                        ^                                                                                                                                                                                     
/usr/local/include/ceres/internal/fixed_array.h:86:52: error: a space is required between consecutive right angle brackets (use '> >')                                                                                                        
          typename A = FixedArrayDefaultAllocator<T>>                                                                                                                                                                                         
                                                   ^                                                                   
[ 20%] Building CXX object modules/sfm/src/libmv/libmv/multiview/CMakeFiles/multiview.dir/panography_kernel.cc.o      
/usr/local/include/ceres/internal/fixed_array.h:91:10: error: unknown type name 'constexpr'                            
  static constexpr size_t kInlineBytesDefault = 256;                                                                   
         ^                                                                                                             
/usr/local/include/ceres/internal/fixed_array.h:91:26: error: expected ';' at end of declaration list                                                                                                                                         
  static constexpr size_t kInlineBytesDefault = 256;                                                                   
                         ^                                                                                             
/usr/local/include/ceres/internal/fixed_array.h:100:10: error: unknown type name 'constexpr'                                                                                                                                                  
  static constexpr bool DefaultConstructorIsNonTrivial() {
         ^
/usr/local/include/ceres/internal/fixed_array.h:118:10: error: unknown type name 'constexpr'
  static constexpr size_type inline_elements =
         ^
/usr/local/include/ceres/internal/fixed_array.h:118:29: error: expected ';' at end of declaration list
  static constexpr size_type inline_elements =
                            ^
[ 21%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc_mips32.c.o
[ 21%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdhuff.c.o
/usr/local/include/ceres/internal/fixed_array.h:149:19: error: no template named 'initializer_list' in namespace 'std'
  FixedArray(std::initializer_list<value_type> init_list,
             ~~~~~^
/usr/local/include/ceres/internal/fixed_array.h:164:16: error: expected ';' at end of declaration list
  ~FixedArray() noexcept {
               ^
/usr/local/include/ceres/internal/fixed_array.h:185:3: error: unknown type name 'constexpr'
  constexpr size_type max_size() const {
  ^
/usr/local/include/ceres/internal/fixed_array.h:185:13: error: duplicate member 'size_type'
  constexpr size_type max_size() const {
            ^
/usr/local/include/ceres/internal/fixed_array.h:111:9: note: previous declaration is here
  using size_type = typename AllocatorTraits::size_type;
        ^
/usr/local/include/ceres/internal/fixed_array.h:185:22: error: expected ';' at end of declaration list
  constexpr size_type max_size() const {
                     ^
/usr/local/include/ceres/internal/fixed_array.h:367:33: error: use of undeclared identifier 'StorageElementWrapper'
                                StorageElementWrapper<value_type>,
                                ^
/usr/local/include/ceres/internal/fixed_array.h:368:46: error: expected ';' after alias declaration
                                value_type>::type;
                                             ^
/usr/local/include/ceres/internal/fixed_array.h:371:30: error: no template named 'StorageElementWrapper'
  static pointer AsValueType(StorageElementWrapper<value_type>* ptr) {
                             ^
/usr/local/include/ceres/internal/fixed_array.h:375:24: error: use of undeclared identifier 'StorageElement'
  static_assert(sizeof(StorageElement) == sizeof(value_type), "");

[ 21%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/pngwtran.c.o
/usr/local/include/ceres/internal/fixed_array.h:376:52: error: unexpected type name 'value_type': expected expression
  static_assert(alignof(StorageElement) == alignof(value_type), "");
                                                   ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[ 22%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc_sse2.c.o                                                                                                                                                         
In file included from /Users/cedric/www/amplement/filer-manager/node_modules/opencv-build/opencv/opencv_contrib/modules/sfm/src/libmv_light/libmv/multiview/homography.cc:24:                                                                 
In file included from /usr/local/include/ceres/ceres.h:37:                                                                                                                                                                                    
In file included from /usr/local/include/ceres/autodiff_cost_function.h:130:
In file included from /usr/local/include/ceres/internal/autodiff.h:148:
In file included from /usr/local/include/ceres/internal/array_selector.h:38:
/usr/local/include/ceres/internal/fixed_array.h:47:1: error: unknown type name 'constexpr'
constexpr static auto kFixedArrayUseDefault = static_cast<size_t>(-1);
^
/usr/local/include/ceres/internal/fixed_array.h:47:18: error: cannot combine with previous 'static' declaration specifier
constexpr static auto kFixedArrayUseDefault = static_cast<size_t>(-1);
                 ^
/usr/local/include/ceres/internal/fixed_array.h:59:57: error: a space is required between consecutive right angle brackets (use '> >')
                              Eigen::aligned_allocator<T>>::type;
                                                        ^
/usr/local/include/ceres/internal/fixed_array.h:86:52: error: a space is required between consecutive right angle brackets (use '> >')
          typename A = FixedArrayDefaultAllocator<T>>
                                                   ^
[ 22%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_mqenc.c.o
/usr/local/include/ceres/internal/fixed_array.h:91:10: error: unknown type name 'constexpr'
  static constexpr size_t kInlineBytesDefault = 256;
         ^
/usr/local/include/ceres/internal/fixed_array.h:91:26: error: expected ';' at end of declaration list
  static constexpr size_t kInlineBytesDefault = 256;
                         ^
/usr/local/include/ceres/internal/fixed_array.h:100:10: error: unknown type name 'constexpr'
  static constexpr bool DefaultConstructorIsNonTrivial() {
         ^
/usr/local/include/ceres/internal/fixed_array.h:118:10: error: unknown type name 'constexpr'
  static constexpr size_type inline_elements =
         ^
/usr/local/include/ceres/internal/fixed_array.h:118:29: error: expected ';' at end of declaration list
  static constexpr size_type inline_elements =
                            ^
/usr/local/include/ceres/internal/fixed_array.h:149:19: error: no template named 'initializer_list' in namespace 'std'
  FixedArray(std::initializer_list<value_type> init_list,
             ~~~~~^
/usr/local/include/ceres/internal/fixed_array.h:164:16: error: expected ';' at end of declaration list
  ~FixedArray() noexcept {
               ^
/usr/local/include/ceres/internal/fixed_array.h:185:3: error: unknown type name 'constexpr'
  constexpr size_type max_size() const {
  ^
/usr/local/include/ceres/internal/fixed_array.h:185:13: error: duplicate member 'size_type'
  constexpr size_type max_size() const {
            ^
/usr/local/include/ceres/internal/fixed_array.h:111:9: note: previous declaration is here
  using size_type = typename AllocatorTraits::size_type;
        ^
/usr/local/include/ceres/internal/fixed_array.h:185:22: error: expected ';' at end of declaration list
  constexpr size_type max_size() const {
                     ^
/usr/local/include/ceres/internal/fixed_array.h:367:33: error: use of undeclared identifier 'StorageElementWrapper'
                                StorageElementWrapper<value_type>,
                                ^
/usr/local/include/ceres/internal/fixed_array.h:368:46: error: expected ';' after alias declaration
                                value_type>::type;
                                             ^
/usr/local/include/ceres/internal/fixed_array.h:371:30: error: no template named 'StorageElementWrapper'
  static pointer AsValueType(StorageElementWrapper<value_type>* ptr) {
                             ^
/usr/local/include/ceres/internal/fixed_array.h:375:24: error: use of undeclared identifier 'StorageElement'
  static_assert(sizeof(StorageElement) == sizeof(value_type), "");
                       ^
/usr/local/include/ceres/internal/fixed_array.h:376:52: error: unexpected type name 'value_type': expected expression
  static_assert(alignof(StorageElement) == alignof(value_type), "");
                                                   ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[ 22%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdinput.c.o
20 errors generated.
make[2]: *** [modules/sfm/src/libmv/libmv/multiview/CMakeFiles/multiview.dir/homography.cc.o] Error 1
[ 37%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/picture_csp_enc.c.o
/Users/cedric/www/amplement/filer-manager/node_modules/opencv-build/opencv/opencv/3rdparty/libwebp/src/enc/picture_csp_enc.c:1002:40: warning: result of '2 ^ ALPHA_OFFSET' is 1; did you mean '1 << ALPHA_OFFSET' (8)? [-Wxor-used-as-pow]   
    const uint8_t* const g = argb + (2 ^ ALPHA_OFFSET);                                                                
                                     ~~^~~~~~~~~~~~~~                                                                  
                                     1 << ALPHA_OFFSET                                                                 
/Users/cedric/www/amplement/filer-manager/node_modules/opencv-build/opencv/opencv/3rdparty/libwebp/src/enc/picture_csp_enc.c:1002:40: note: replace expression with '0x2 ^ ALPHA_OFFSET' to silence this warning                              
[ 38%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_gpu_mat.cpp.o   

complete log here are available here

@l54808821
Copy link

@igorpsf Hi,I also encountered the same problem. Have you solved it?

@igorpsf
Copy link
Author

igorpsf commented Apr 25, 2021

Hi @l54808821 , not yet.

@zumkoolya
Copy link

Bad
This bug is blocking my work

@rizakov1982
Copy link

The problem will be solved? Can't install package

@mrbifie
Copy link

mrbifie commented May 26, 2021

I have the same problem :(

@AntonVislov
Copy link

The problem will be solved? Can't install package

@ascension
Copy link

I am having the same issue. Does anyone have any suggestions on how to fix this?

@smrtyviks
Copy link

I am having the exact same issue. has anyone found any suggestions on how to fix this?

@qdyzw
Copy link

qdyzw commented Jul 13, 2021

same to me ,need help

@jungwoolee-letsee
Copy link

Please...

@dipakkumar1225
Copy link

same here.. please help

@OwenYeah
Copy link

Same here, could someone find a solution?

@davebebo
Copy link

davebebo commented Nov 4, 2021

Hey there everyone,

So I have been able to make it a little bit further than the 55% mark now. I noticed that after running the "npm install opencv4nodejs" command there was a tag mentionning there was no CXX compiler detected. I think the default one being used is not even c++11 standard.

So before installing the package I have added an environment variable to set the default compiler to c++14

export CXXFLAGS="-std=c++14"
I then run the npm installation

I am now getting past the 55% mark but am now hitting another issue with narrowing that is accessible only in the c++11 version.

Working on fixing that compilation issue

Will keep you posted

@davebebo
Copy link

davebebo commented Nov 4, 2021

Ok so I was able to get the full installation of opencv4nodejs working.

Current Setup
mocOS Big Sur v11.6.1
Homebrew 3.3.2
opencv 4.5.3_2
node v14.18.1

Node installation (with Homebrew)
brew install node@14

opencv installation (with Homebrew)
brew install opencv

opencv4nodejs installtion (with node installer)

  • Before installing set both the following compiler flags
    export CXXFLAGS="-std=c++14 -Wno-c++11-narrowing"
  • In the same terminal where you have set the above environment variables run the installation
    npm install opencv4nodejs

@braco
Copy link

braco commented Mar 1, 2023

Just got this problem,

CXXFLAGS="-std=c++14 -Wno-c++11-narrowing"

was the key for me, works under Monterey / Node 18

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

No branches or pull requests

16 participants