I have this error in the log:
error Failed at the openzwave-shared@1.7.2 install script.
Running Homebride on a raspberry and openzwave under domoticz.
I want to have HB and domoticz so i have a backup, when domoticz is not running i can use HB
Logfile:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/bin/node',
1 verbose cli '/usr/bin/npm',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'homebridge-platform-zwave@latest'
1 verbose cli ]
2 info using npm@6.14.10
3 info using node@v14.15.4
4 verbose npm-session dce69029c26e20b0
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 200 https://registry.npmjs.org/homebridge-platform-zwave 1252ms
8 http fetch GET 200 https://registry.npmjs.org/homebridge-platform-zwave/-/homebridge-platform-zwave-1.2.0.tgz 168ms
9 silly pacote tag manifest for homebridge-platform-zwave@latest fetched in 1501ms
10 timing stage:loadCurrentTree Completed in 1568ms
11 silly install loadIdealTree
12 silly install cloneCurrentTreeToIdealTree
13 timing stage:loadIdealTree:cloneCurrentTree Completed in 2ms
14 silly install loadShrinkwrap
15 timing stage:loadIdealTree:loadShrinkwrap Completed in 5ms
16 silly install loadAllDepsIntoIdealTree
17 silly resolveWithNewModule homebridge-platform-zwave@1.2.0 checking installable status
18 http fetch GET 200 https://registry.npmjs.org/try-require 301ms
19 http fetch GET 304 https://registry.npmjs.org/camelcase 358ms (from cache)
20 http fetch GET 200 https://registry.npmjs.org/try-require/-/try-require-1.2.1.tgz 96ms
21 silly pacote range manifest for try-require@^1.2.1 fetched in 451ms
22 silly resolveWithNewModule try-require@1.2.1 checking installable status
23 http fetch GET 304 https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz 130ms (from cache)
24 silly pacote range manifest for camelcase@^5.3.1 fetched in 520ms
25 silly resolveWithNewModule camelcase@5.3.1 checking installable status
26 http fetch GET 200 https://registry.npmjs.org/range-map 829ms
27 http fetch GET 304 https://registry.npmjs.org/openzwave-shared 959ms (from cache)
28 http fetch GET 304 https://registry.npmjs.org/openzwave-shared/-/openzwave-shared-1.7.2.tgz 191ms (from cache)
29 silly pacote range manifest for openzwave-shared@^1.5.6 fetched in 1177ms
30 silly resolveWithNewModule openzwave-shared@1.7.2 checking installable status
31 http fetch GET 200 https://registry.npmjs.org/range-map/-/range-map-1.0.4.tgz 755ms
32 silly pacote range manifest for range-map@^1.0.4 fetched in 1604ms
33 silly resolveWithNewModule range-map@1.0.4 checking installable status
34 http fetch GET 304 https://registry.npmjs.org/nan 82ms (from cache)
35 http fetch GET 304 https://registry.npmjs.org/nan/-/nan-2.14.2.tgz 122ms (from cache)
36 silly pacote range manifest for nan@>=2.14.0 fetched in 228ms
37 silly resolveWithNewModule nan@2.14.2 checking installable status
38 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 1898ms
39 timing stage:loadIdealTree Completed in 1924ms
40 silly currentTree lib
41 silly idealTree lib
41 silly idealTree └─┬ homebridge-platform-zwave@1.2.0
41 silly idealTree ├── camelcase@5.3.1
41 silly idealTree ├── nan@2.14.2
41 silly idealTree ├── openzwave-shared@1.7.2
41 silly idealTree ├── range-map@1.0.4
41 silly idealTree └── try-require@1.2.1
42 silly install generateActionsToTake
43 timing stage:generateActionsToTake Completed in 35ms
44 silly diffTrees action count 6
45 silly diffTrees add nan@2.14.2
46 silly diffTrees add camelcase@5.3.1
47 silly diffTrees add openzwave-shared@1.7.2
48 silly diffTrees add range-map@1.0.4
49 silly diffTrees add try-require@1.2.1
50 silly diffTrees add homebridge-platform-zwave@1.2.0
51 silly decomposeActions action count 48
52 silly decomposeActions fetch nan@2.14.2
53 silly decomposeActions extract nan@2.14.2
54 silly decomposeActions preinstall nan@2.14.2
55 silly decomposeActions build nan@2.14.2
56 silly decomposeActions install nan@2.14.2
57 silly decomposeActions postinstall nan@2.14.2
58 silly decomposeActions finalize nan@2.14.2
59 silly decomposeActions refresh-package-json nan@2.14.2
60 silly decomposeActions fetch camelcase@5.3.1
61 silly decomposeActions extract camelcase@5.3.1
62 silly decomposeActions preinstall camelcase@5.3.1
63 silly decomposeActions build camelcase@5.3.1
64 silly decomposeActions install camelcase@5.3.1
65 silly decomposeActions postinstall camelcase@5.3.1
66 silly decomposeActions finalize camelcase@5.3.1
67 silly decomposeActions refresh-package-json camelcase@5.3.1
68 silly decomposeActions fetch openzwave-shared@1.7.2
69 silly decomposeActions extract openzwave-shared@1.7.2
70 silly decomposeActions preinstall openzwave-shared@1.7.2
71 silly decomposeActions build openzwave-shared@1.7.2
72 silly decomposeActions install openzwave-shared@1.7.2
73 silly decomposeActions postinstall openzwave-shared@1.7.2
74 silly decomposeActions finalize openzwave-shared@1.7.2
75 silly decomposeActions refresh-package-json openzwave-shared@1.7.2
76 silly decomposeActions fetch range-map@1.0.4
77 silly decomposeActions extract range-map@1.0.4
78 silly decomposeActions preinstall range-map@1.0.4
79 silly decomposeActions build range-map@1.0.4
80 silly decomposeActions install range-map@1.0.4
81 silly decomposeActions postinstall range-map@1.0.4
82 silly decomposeActions finalize range-map@1.0.4
83 silly decomposeActions refresh-package-json range-map@1.0.4
84 silly decomposeActions fetch try-require@1.2.1
85 silly decomposeActions extract try-require@1.2.1
86 silly decomposeActions preinstall try-require@1.2.1
87 silly decomposeActions build try-require@1.2.1
88 silly decomposeActions install try-require@1.2.1
89 silly decomposeActions postinstall try-require@1.2.1
90 silly decomposeActions finalize try-require@1.2.1
91 silly decomposeActions refresh-package-json try-require@1.2.1
92 silly decomposeActions fetch homebridge-platform-zwave@1.2.0
93 silly decomposeActions extract homebridge-platform-zwave@1.2.0
94 silly decomposeActions preinstall homebridge-platform-zwave@1.2.0
95 silly decomposeActions build homebridge-platform-zwave@1.2.0
96 silly decomposeActions install homebridge-platform-zwave@1.2.0
97 silly decomposeActions postinstall homebridge-platform-zwave@1.2.0
98 silly decomposeActions finalize homebridge-platform-zwave@1.2.0
99 silly decomposeActions refresh-package-json homebridge-platform-zwave@1.2.0
100 silly install executeActions
101 silly doSerial global-install 48
102 verbose correctMkdir /home/homebridge/.npm/_locks correctMkdir not in flight; initializing
103 verbose lock using /home/homebridge/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
104 silly doParallel extract 6
105 silly extract nan@2.14.2
106 silly extract camelcase@5.3.1
107 silly extract openzwave-shared@1.7.2
108 silly extract range-map@1.0.4
109 silly extract try-require@1.2.1
110 silly extract homebridge-platform-zwave@1.2.0
111 silly tarball no local data for nan@>=2.14.0. Extracting by manifest.
112 silly tarball no local data for camelcase@^5.3.1. Extracting by manifest.
113 silly tarball no local data for openzwave-shared@^1.5.6. Extracting by manifest.
114 silly tarball no local data for range-map@^1.0.4. Extracting by manifest.
115 silly tarball no local data for try-require@^1.2.1. Extracting by manifest.
116 silly tarball no local data for homebridge-platform-zwave@latest. Extracting by manifest.
117 http fetch GET 304 https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz 361ms (from cache)
118 http fetch GET 304 https://registry.npmjs.org/nan/-/nan-2.14.2.tgz 416ms (from cache)
119 http fetch GET 304 https://registry.npmjs.org/range-map/-/range-map-1.0.4.tgz 408ms (from cache)
120 http fetch GET 304 https://registry.npmjs.org/openzwave-shared/-/openzwave-shared-1.7.2.tgz 448ms (from cache)
121 silly extract camelcase@^5.3.1 extracted to /usr/lib/node_modules/.staging/camelcase-9562cc89 (577ms)
122 http fetch GET 304 https://registry.npmjs.org/try-require/-/try-require-1.2.1.tgz 533ms (from cache)
123 http fetch GET 304 https://registry.npmjs.org/homebridge-platform-zwave/-/homebridge-platform-zwave-1.2.0.tgz 530ms (from cache)
124 silly extract range-map@^1.0.4 extracted to /usr/lib/node_modules/.staging/range-map-d2685c18 (606ms)
125 silly extract try-require@^1.2.1 extracted to /usr/lib/node_modules/.staging/try-require-ee37ca06 (634ms)
126 silly extract homebridge-platform-zwave@latest extracted to /usr/lib/node_modules/.staging/homebridge-platform-zwave-e99b55e4 (717ms)
127 silly extract openzwave-shared@^1.5.6 extracted to /usr/lib/node_modules/.staging/openzwave-shared-63185928 (796ms)
128 silly extract nan@>=2.14.0 extracted to /usr/lib/node_modules/.staging/nan-79b58975 (803ms)
129 timing action:extract Completed in 818ms
130 silly doReverseSerial unbuild 48
131 silly doSerial remove 48
132 silly doSerial move 48
133 silly doSerial finalize 48
134 silly finalize /usr/lib/node_modules/homebridge-platform-zwave/node_modules/nan
135 silly finalize /usr/lib/node_modules/homebridge-platform-zwave/node_modules/camelcase
136 silly finalize /usr/lib/node_modules/homebridge-platform-zwave/node_modules/openzwave-shared
137 silly finalize /usr/lib/node_modules/homebridge-platform-zwave/node_modules/range-map
138 silly finalize /usr/lib/node_modules/homebridge-platform-zwave/node_modules/try-require
139 silly finalize /usr/lib/node_modules/homebridge-platform-zwave
140 timing action:finalize Completed in 86ms
141 silly doParallel refresh-package-json 6
142 silly refresh-package-json /usr/lib/node_modules/homebridge-platform-zwave/node_modules/nan
143 silly refresh-package-json /usr/lib/node_modules/homebridge-platform-zwave/node_modules/camelcase
144 silly refresh-package-json /usr/lib/node_modules/homebridge-platform-zwave/node_modules/openzwave-shared
145 silly refresh-package-json /usr/lib/node_modules/homebridge-platform-zwave/node_modules/range-map
146 silly refresh-package-json /usr/lib/node_modules/homebridge-platform-zwave/node_modules/try-require
147 silly refresh-package-json /usr/lib/node_modules/homebridge-platform-zwave
148 timing action:refresh-package-json Completed in 175ms
149 silly doParallel preinstall 6
150 silly preinstall nan@2.14.2
151 info lifecycle nan@2.14.2~preinstall: nan@2.14.2
152 silly preinstall camelcase@5.3.1
153 info lifecycle camelcase@5.3.1~preinstall: camelcase@5.3.1
154 silly preinstall openzwave-shared@1.7.2
155 info lifecycle openzwave-shared@1.7.2~preinstall: openzwave-shared@1.7.2
156 silly preinstall range-map@1.0.4
157 info lifecycle range-map@1.0.4~preinstall: range-map@1.0.4
158 silly preinstall try-require@1.2.1
159 info lifecycle try-require@1.2.1~preinstall: try-require@1.2.1
160 silly preinstall homebridge-platform-zwave@1.2.0
161 info lifecycle homebridge-platform-zwave@1.2.0~preinstall: homebridge-platform-zwave@1.2.0
162 verbose lifecycle openzwave-shared@1.7.2~preinstall: unsafe-perm in lifecycle true
163 verbose lifecycle openzwave-shared@1.7.2~preinstall: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/lib/node_modules/homebridge-platform-zwave/node_modules/openzwave-shared/node_modules/.bin:/usr/lib/node_modules/homebridge-platform-zwave/node_modules/.bin:/usr/lib/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
164 verbose lifecycle openzwave-shared@1.7.2~preinstall: CWD: /usr/lib/node_modules/homebridge-platform-zwave/node_modules/openzwave-shared
165 silly lifecycle openzwave-shared@1.7.2~preinstall: Args: [ '-c', 'node lib/install-ozw.js' ]
166 silly lifecycle openzwave-shared@1.7.2~preinstall: Returned: code: 0 signal: null
167 timing action:preinstall Completed in 453ms
168 silly doSerial build 48
169 silly build nan@2.14.2
170 info linkStuff nan@2.14.2
171 silly linkStuff nan@2.14.2 has /usr/lib/node_modules/homebridge-platform-zwave/node_modules as its parent node_modules
172 silly linkStuff nan@2.14.2 is part of a global install
173 silly linkStuff nan@2.14.2 is installed into a global node_modules
174 silly build camelcase@5.3.1
175 info linkStuff camelcase@5.3.1
176 silly linkStuff camelcase@5.3.1 has /usr/lib/node_modules/homebridge-platform-zwave/node_modules as its parent node_modules
177 silly linkStuff camelcase@5.3.1 is part of a global install
178 silly linkStuff camelcase@5.3.1 is installed into a global node_modules
179 silly build openzwave-shared@1.7.2
180 info linkStuff openzwave-shared@1.7.2
181 silly linkStuff openzwave-shared@1.7.2 has /usr/lib/node_modules/homebridge-platform-zwave/node_modules as its parent node_modules
182 silly linkStuff openzwave-shared@1.7.2 is part of a global install
183 silly linkStuff openzwave-shared@1.7.2 is installed into a global node_modules
184 silly build range-map@1.0.4
185 info linkStuff range-map@1.0.4
186 silly linkStuff range-map@1.0.4 has /usr/lib/node_modules/homebridge-platform-zwave/node_modules as its parent node_modules
187 silly linkStuff range-map@1.0.4 is part of a global install
188 silly linkStuff range-map@1.0.4 is installed into a global node_modules
189 silly build try-require@1.2.1
190 info linkStuff try-require@1.2.1
191 silly linkStuff try-require@1.2.1 has /usr/lib/node_modules/homebridge-platform-zwave/node_modules as its parent node_modules
192 silly linkStuff try-require@1.2.1 is part of a global install
193 silly linkStuff try-require@1.2.1 is installed into a global node_modules
194 silly build homebridge-platform-zwave@1.2.0
195 info linkStuff homebridge-platform-zwave@1.2.0
196 silly linkStuff homebridge-platform-zwave@1.2.0 has /usr/lib/node_modules as its parent node_modules
197 silly linkStuff homebridge-platform-zwave@1.2.0 is part of a global install
198 silly linkStuff homebridge-platform-zwave@1.2.0 is installed into a global node_modules
199 silly linkStuff homebridge-platform-zwave@1.2.0 is installed into the top-level global node_modules
200 timing action:build Completed in 12ms
201 silly doSerial global-link 48
202 silly doParallel update-linked 0
203 silly doSerial install 48
204 silly install nan@2.14.2
205 info lifecycle nan@2.14.2~install: nan@2.14.2
206 silly install camelcase@5.3.1
207 info lifecycle camelcase@5.3.1~install: camelcase@5.3.1
208 silly install openzwave-shared@1.7.2
209 info lifecycle openzwave-shared@1.7.2~install: openzwave-shared@1.7.2
210 verbose lifecycle openzwave-shared@1.7.2~install: unsafe-perm in lifecycle true
211 verbose lifecycle openzwave-shared@1.7.2~install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/lib/node_modules/homebridge-platform-zwave/node_modules/openzwave-shared/node_modules/.bin:/usr/lib/node_modules/homebridge-platform-zwave/node_modules/.bin:/usr/lib/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
212 verbose lifecycle openzwave-shared@1.7.2~install: CWD: /usr/lib/node_modules/homebridge-platform-zwave/node_modules/openzwave-shared
213 silly lifecycle openzwave-shared@1.7.2~install: Args: [ '-c', 'node-gyp rebuild' ]
214 silly lifecycle openzwave-shared@1.7.2~install: Returned: code: 1 signal: null
215 info lifecycle openzwave-shared@1.7.2~install: Failed to exec install script
216 timing action:install Completed in 8353ms
217 verbose unlock done using /home/homebridge/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
218 timing stage:rollbackFailedOptional Completed in 146ms
219 timing stage:runTopLevelLifecycles Completed in 13643ms
220 verbose stack Error: openzwave-shared@1.7.2 install: node-gyp rebuild
220 verbose stack Exit status 1
220 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
220 verbose stack at EventEmitter.emit (events.js:315:20)
220 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
220 verbose stack at ChildProcess.emit (events.js:315:20)
220 verbose stack at maybeClose (internal/child_process.js:1048:16)
220 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
221 verbose pkgid openzwave-shared@1.7.2
222 verbose cwd /usr
223 verbose Linux 5.4.79-v7+
224 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "homebridge-platform-zwave@latest"
225 verbose node v14.15.4
226 verbose npm v6.14.10
227 error code ELIFECYCLE
228 error errno 1
229 error openzwave-shared@1.7.2 install: node-gyp rebuild
229 error Exit status 1
230 error Failed at the openzwave-shared@1.7.2 install script.
230 error This is probably not a problem with npm. There is likely additional logging output above.
231 verbose exit [ 1, true ]
I have this error in the log: error Failed at the openzwave-shared@1.7.2 install script. Running Homebride on a raspberry and openzwave under domoticz. I want to have HB and domoticz so i have a backup, when domoticz is not running i can use HB
Logfile:
0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli '/usr/bin/node', 1 verbose cli '/usr/bin/npm', 1 verbose cli 'install', 1 verbose cli '-g', 1 verbose cli 'homebridge-platform-zwave@latest' 1 verbose cli ] 2 info using npm@6.14.10 3 info using node@v14.15.4 4 verbose npm-session dce69029c26e20b0 5 silly install loadCurrentTree 6 silly install readGlobalPackageData 7 http fetch GET 200 https://registry.npmjs.org/homebridge-platform-zwave 1252ms 8 http fetch GET 200 https://registry.npmjs.org/homebridge-platform-zwave/-/homebridge-platform-zwave-1.2.0.tgz 168ms 9 silly pacote tag manifest for homebridge-platform-zwave@latest fetched in 1501ms 10 timing stage:loadCurrentTree Completed in 1568ms 11 silly install loadIdealTree 12 silly install cloneCurrentTreeToIdealTree 13 timing stage:loadIdealTree:cloneCurrentTree Completed in 2ms 14 silly install loadShrinkwrap 15 timing stage:loadIdealTree:loadShrinkwrap Completed in 5ms 16 silly install loadAllDepsIntoIdealTree 17 silly resolveWithNewModule homebridge-platform-zwave@1.2.0 checking installable status 18 http fetch GET 200 https://registry.npmjs.org/try-require 301ms 19 http fetch GET 304 https://registry.npmjs.org/camelcase 358ms (from cache) 20 http fetch GET 200 https://registry.npmjs.org/try-require/-/try-require-1.2.1.tgz 96ms 21 silly pacote range manifest for try-require@^1.2.1 fetched in 451ms 22 silly resolveWithNewModule try-require@1.2.1 checking installable status 23 http fetch GET 304 https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz 130ms (from cache) 24 silly pacote range manifest for camelcase@^5.3.1 fetched in 520ms 25 silly resolveWithNewModule camelcase@5.3.1 checking installable status 26 http fetch GET 200 https://registry.npmjs.org/range-map 829ms 27 http fetch GET 304 https://registry.npmjs.org/openzwave-shared 959ms (from cache) 28 http fetch GET 304 https://registry.npmjs.org/openzwave-shared/-/openzwave-shared-1.7.2.tgz 191ms (from cache) 29 silly pacote range manifest for openzwave-shared@^1.5.6 fetched in 1177ms 30 silly resolveWithNewModule openzwave-shared@1.7.2 checking installable status 31 http fetch GET 200 https://registry.npmjs.org/range-map/-/range-map-1.0.4.tgz 755ms 32 silly pacote range manifest for range-map@^1.0.4 fetched in 1604ms 33 silly resolveWithNewModule range-map@1.0.4 checking installable status 34 http fetch GET 304 https://registry.npmjs.org/nan 82ms (from cache) 35 http fetch GET 304 https://registry.npmjs.org/nan/-/nan-2.14.2.tgz 122ms (from cache) 36 silly pacote range manifest for nan@>=2.14.0 fetched in 228ms 37 silly resolveWithNewModule nan@2.14.2 checking installable status 38 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 1898ms 39 timing stage:loadIdealTree Completed in 1924ms 40 silly currentTree lib 41 silly idealTree lib 41 silly idealTree └─┬ homebridge-platform-zwave@1.2.0 41 silly idealTree ├── camelcase@5.3.1 41 silly idealTree ├── nan@2.14.2 41 silly idealTree ├── openzwave-shared@1.7.2 41 silly idealTree ├── range-map@1.0.4 41 silly idealTree └── try-require@1.2.1 42 silly install generateActionsToTake 43 timing stage:generateActionsToTake Completed in 35ms 44 silly diffTrees action count 6 45 silly diffTrees add nan@2.14.2 46 silly diffTrees add camelcase@5.3.1 47 silly diffTrees add openzwave-shared@1.7.2 48 silly diffTrees add range-map@1.0.4 49 silly diffTrees add try-require@1.2.1 50 silly diffTrees add homebridge-platform-zwave@1.2.0 51 silly decomposeActions action count 48 52 silly decomposeActions fetch nan@2.14.2 53 silly decomposeActions extract nan@2.14.2 54 silly decomposeActions preinstall nan@2.14.2 55 silly decomposeActions build nan@2.14.2 56 silly decomposeActions install nan@2.14.2 57 silly decomposeActions postinstall nan@2.14.2 58 silly decomposeActions finalize nan@2.14.2 59 silly decomposeActions refresh-package-json nan@2.14.2 60 silly decomposeActions fetch camelcase@5.3.1 61 silly decomposeActions extract camelcase@5.3.1 62 silly decomposeActions preinstall camelcase@5.3.1 63 silly decomposeActions build camelcase@5.3.1 64 silly decomposeActions install camelcase@5.3.1 65 silly decomposeActions postinstall camelcase@5.3.1 66 silly decomposeActions finalize camelcase@5.3.1 67 silly decomposeActions refresh-package-json camelcase@5.3.1 68 silly decomposeActions fetch openzwave-shared@1.7.2 69 silly decomposeActions extract openzwave-shared@1.7.2 70 silly decomposeActions preinstall openzwave-shared@1.7.2 71 silly decomposeActions build openzwave-shared@1.7.2 72 silly decomposeActions install openzwave-shared@1.7.2 73 silly decomposeActions postinstall openzwave-shared@1.7.2 74 silly decomposeActions finalize openzwave-shared@1.7.2 75 silly decomposeActions refresh-package-json openzwave-shared@1.7.2 76 silly decomposeActions fetch range-map@1.0.4 77 silly decomposeActions extract range-map@1.0.4 78 silly decomposeActions preinstall range-map@1.0.4 79 silly decomposeActions build range-map@1.0.4 80 silly decomposeActions install range-map@1.0.4 81 silly decomposeActions postinstall range-map@1.0.4 82 silly decomposeActions finalize range-map@1.0.4 83 silly decomposeActions refresh-package-json range-map@1.0.4 84 silly decomposeActions fetch try-require@1.2.1 85 silly decomposeActions extract try-require@1.2.1 86 silly decomposeActions preinstall try-require@1.2.1 87 silly decomposeActions build try-require@1.2.1 88 silly decomposeActions install try-require@1.2.1 89 silly decomposeActions postinstall try-require@1.2.1 90 silly decomposeActions finalize try-require@1.2.1 91 silly decomposeActions refresh-package-json try-require@1.2.1 92 silly decomposeActions fetch homebridge-platform-zwave@1.2.0 93 silly decomposeActions extract homebridge-platform-zwave@1.2.0 94 silly decomposeActions preinstall homebridge-platform-zwave@1.2.0 95 silly decomposeActions build homebridge-platform-zwave@1.2.0 96 silly decomposeActions install homebridge-platform-zwave@1.2.0 97 silly decomposeActions postinstall homebridge-platform-zwave@1.2.0 98 silly decomposeActions finalize homebridge-platform-zwave@1.2.0 99 silly decomposeActions refresh-package-json homebridge-platform-zwave@1.2.0 100 silly install executeActions 101 silly doSerial global-install 48 102 verbose correctMkdir /home/homebridge/.npm/_locks correctMkdir not in flight; initializing 103 verbose lock using /home/homebridge/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging 104 silly doParallel extract 6 105 silly extract nan@2.14.2 106 silly extract camelcase@5.3.1 107 silly extract openzwave-shared@1.7.2 108 silly extract range-map@1.0.4 109 silly extract try-require@1.2.1 110 silly extract homebridge-platform-zwave@1.2.0 111 silly tarball no local data for nan@>=2.14.0. Extracting by manifest. 112 silly tarball no local data for camelcase@^5.3.1. Extracting by manifest. 113 silly tarball no local data for openzwave-shared@^1.5.6. Extracting by manifest. 114 silly tarball no local data for range-map@^1.0.4. Extracting by manifest. 115 silly tarball no local data for try-require@^1.2.1. Extracting by manifest. 116 silly tarball no local data for homebridge-platform-zwave@latest. Extracting by manifest. 117 http fetch GET 304 https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz 361ms (from cache) 118 http fetch GET 304 https://registry.npmjs.org/nan/-/nan-2.14.2.tgz 416ms (from cache) 119 http fetch GET 304 https://registry.npmjs.org/range-map/-/range-map-1.0.4.tgz 408ms (from cache) 120 http fetch GET 304 https://registry.npmjs.org/openzwave-shared/-/openzwave-shared-1.7.2.tgz 448ms (from cache) 121 silly extract camelcase@^5.3.1 extracted to /usr/lib/node_modules/.staging/camelcase-9562cc89 (577ms) 122 http fetch GET 304 https://registry.npmjs.org/try-require/-/try-require-1.2.1.tgz 533ms (from cache) 123 http fetch GET 304 https://registry.npmjs.org/homebridge-platform-zwave/-/homebridge-platform-zwave-1.2.0.tgz 530ms (from cache) 124 silly extract range-map@^1.0.4 extracted to /usr/lib/node_modules/.staging/range-map-d2685c18 (606ms) 125 silly extract try-require@^1.2.1 extracted to /usr/lib/node_modules/.staging/try-require-ee37ca06 (634ms) 126 silly extract homebridge-platform-zwave@latest extracted to /usr/lib/node_modules/.staging/homebridge-platform-zwave-e99b55e4 (717ms) 127 silly extract openzwave-shared@^1.5.6 extracted to /usr/lib/node_modules/.staging/openzwave-shared-63185928 (796ms) 128 silly extract nan@>=2.14.0 extracted to /usr/lib/node_modules/.staging/nan-79b58975 (803ms) 129 timing action:extract Completed in 818ms 130 silly doReverseSerial unbuild 48 131 silly doSerial remove 48 132 silly doSerial move 48 133 silly doSerial finalize 48 134 silly finalize /usr/lib/node_modules/homebridge-platform-zwave/node_modules/nan 135 silly finalize /usr/lib/node_modules/homebridge-platform-zwave/node_modules/camelcase 136 silly finalize /usr/lib/node_modules/homebridge-platform-zwave/node_modules/openzwave-shared 137 silly finalize /usr/lib/node_modules/homebridge-platform-zwave/node_modules/range-map 138 silly finalize /usr/lib/node_modules/homebridge-platform-zwave/node_modules/try-require 139 silly finalize /usr/lib/node_modules/homebridge-platform-zwave 140 timing action:finalize Completed in 86ms 141 silly doParallel refresh-package-json 6 142 silly refresh-package-json /usr/lib/node_modules/homebridge-platform-zwave/node_modules/nan 143 silly refresh-package-json /usr/lib/node_modules/homebridge-platform-zwave/node_modules/camelcase 144 silly refresh-package-json /usr/lib/node_modules/homebridge-platform-zwave/node_modules/openzwave-shared 145 silly refresh-package-json /usr/lib/node_modules/homebridge-platform-zwave/node_modules/range-map 146 silly refresh-package-json /usr/lib/node_modules/homebridge-platform-zwave/node_modules/try-require 147 silly refresh-package-json /usr/lib/node_modules/homebridge-platform-zwave 148 timing action:refresh-package-json Completed in 175ms 149 silly doParallel preinstall 6 150 silly preinstall nan@2.14.2 151 info lifecycle nan@2.14.2~preinstall: nan@2.14.2 152 silly preinstall camelcase@5.3.1 153 info lifecycle camelcase@5.3.1~preinstall: camelcase@5.3.1 154 silly preinstall openzwave-shared@1.7.2 155 info lifecycle openzwave-shared@1.7.2~preinstall: openzwave-shared@1.7.2 156 silly preinstall range-map@1.0.4 157 info lifecycle range-map@1.0.4~preinstall: range-map@1.0.4 158 silly preinstall try-require@1.2.1 159 info lifecycle try-require@1.2.1~preinstall: try-require@1.2.1 160 silly preinstall homebridge-platform-zwave@1.2.0 161 info lifecycle homebridge-platform-zwave@1.2.0~preinstall: homebridge-platform-zwave@1.2.0 162 verbose lifecycle openzwave-shared@1.7.2~preinstall: unsafe-perm in lifecycle true 163 verbose lifecycle openzwave-shared@1.7.2~preinstall: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/lib/node_modules/homebridge-platform-zwave/node_modules/openzwave-shared/node_modules/.bin:/usr/lib/node_modules/homebridge-platform-zwave/node_modules/.bin:/usr/lib/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 164 verbose lifecycle openzwave-shared@1.7.2~preinstall: CWD: /usr/lib/node_modules/homebridge-platform-zwave/node_modules/openzwave-shared 165 silly lifecycle openzwave-shared@1.7.2~preinstall: Args: [ '-c', 'node lib/install-ozw.js' ] 166 silly lifecycle openzwave-shared@1.7.2~preinstall: Returned: code: 0 signal: null 167 timing action:preinstall Completed in 453ms 168 silly doSerial build 48 169 silly build nan@2.14.2 170 info linkStuff nan@2.14.2 171 silly linkStuff nan@2.14.2 has /usr/lib/node_modules/homebridge-platform-zwave/node_modules as its parent node_modules 172 silly linkStuff nan@2.14.2 is part of a global install 173 silly linkStuff nan@2.14.2 is installed into a global node_modules 174 silly build camelcase@5.3.1 175 info linkStuff camelcase@5.3.1 176 silly linkStuff camelcase@5.3.1 has /usr/lib/node_modules/homebridge-platform-zwave/node_modules as its parent node_modules 177 silly linkStuff camelcase@5.3.1 is part of a global install 178 silly linkStuff camelcase@5.3.1 is installed into a global node_modules 179 silly build openzwave-shared@1.7.2 180 info linkStuff openzwave-shared@1.7.2 181 silly linkStuff openzwave-shared@1.7.2 has /usr/lib/node_modules/homebridge-platform-zwave/node_modules as its parent node_modules 182 silly linkStuff openzwave-shared@1.7.2 is part of a global install 183 silly linkStuff openzwave-shared@1.7.2 is installed into a global node_modules 184 silly build range-map@1.0.4 185 info linkStuff range-map@1.0.4 186 silly linkStuff range-map@1.0.4 has /usr/lib/node_modules/homebridge-platform-zwave/node_modules as its parent node_modules 187 silly linkStuff range-map@1.0.4 is part of a global install 188 silly linkStuff range-map@1.0.4 is installed into a global node_modules 189 silly build try-require@1.2.1 190 info linkStuff try-require@1.2.1 191 silly linkStuff try-require@1.2.1 has /usr/lib/node_modules/homebridge-platform-zwave/node_modules as its parent node_modules 192 silly linkStuff try-require@1.2.1 is part of a global install 193 silly linkStuff try-require@1.2.1 is installed into a global node_modules 194 silly build homebridge-platform-zwave@1.2.0 195 info linkStuff homebridge-platform-zwave@1.2.0 196 silly linkStuff homebridge-platform-zwave@1.2.0 has /usr/lib/node_modules as its parent node_modules 197 silly linkStuff homebridge-platform-zwave@1.2.0 is part of a global install 198 silly linkStuff homebridge-platform-zwave@1.2.0 is installed into a global node_modules 199 silly linkStuff homebridge-platform-zwave@1.2.0 is installed into the top-level global node_modules 200 timing action:build Completed in 12ms 201 silly doSerial global-link 48 202 silly doParallel update-linked 0 203 silly doSerial install 48 204 silly install nan@2.14.2 205 info lifecycle nan@2.14.2~install: nan@2.14.2 206 silly install camelcase@5.3.1 207 info lifecycle camelcase@5.3.1~install: camelcase@5.3.1 208 silly install openzwave-shared@1.7.2 209 info lifecycle openzwave-shared@1.7.2~install: openzwave-shared@1.7.2 210 verbose lifecycle openzwave-shared@1.7.2~install: unsafe-perm in lifecycle true 211 verbose lifecycle openzwave-shared@1.7.2~install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/lib/node_modules/homebridge-platform-zwave/node_modules/openzwave-shared/node_modules/.bin:/usr/lib/node_modules/homebridge-platform-zwave/node_modules/.bin:/usr/lib/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 212 verbose lifecycle openzwave-shared@1.7.2~install: CWD: /usr/lib/node_modules/homebridge-platform-zwave/node_modules/openzwave-shared 213 silly lifecycle openzwave-shared@1.7.2~install: Args: [ '-c', 'node-gyp rebuild' ] 214 silly lifecycle openzwave-shared@1.7.2~install: Returned: code: 1 signal: null 215 info lifecycle openzwave-shared@1.7.2~install: Failed to exec install script 216 timing action:install Completed in 8353ms 217 verbose unlock done using /home/homebridge/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging 218 timing stage:rollbackFailedOptional Completed in 146ms 219 timing stage:runTopLevelLifecycles Completed in 13643ms 220 verbose stack Error: openzwave-shared@1.7.2 install: (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
220 verbose stack at EventEmitter.emit (events.js:315:20)
220 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
220 verbose stack at ChildProcess.emit (events.js:315:20)
220 verbose stack at maybeClose (internal/child_process.js:1048:16)
220 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
221 verbose pkgid openzwave-shared@1.7.2
222 verbose cwd /usr
223 verbose Linux 5.4.79-v7+
224 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "homebridge-platform-zwave@latest"
225 verbose node v14.15.4
226 verbose npm v6.14.10
227 error code ELIFECYCLE
228 error errno 1
229 error openzwave-shared@1.7.2 install:
node-gyp rebuild
220 verbose stack Exit status 1 220 verbose stack at EventEmitter.node-gyp rebuild
229 error Exit status 1 230 error Failed at the openzwave-shared@1.7.2 install script. 230 error This is probably not a problem with npm. There is likely additional logging output above. 231 verbose exit [ 1, true ]