chezpaul

Raspberry Homebridge-Vera install

Jul 9th, 2017
773
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.99 KB | None | 0 0
  1. Last login: Sun Jul 9 11:02:17 on ttys000
  2. Pauls-iMac:~ paul$ ssh [email protected]
  3. ssh: connect to host 192.168.1.137 port 22: Host is down
  4. Pauls-iMac:~ paul$ ssh [email protected]
  5. The authenticity of host '192.168.1.138 (192.168.1.138)' can't be established.
  6. ECDSA key fingerprint is SHA256:3KTbznpobZgKK2pEqiCedg6ThUwQE34XN/9VMllclVw.
  7. Are you sure you want to continue connecting (yes/no)? yes
  8. Warning: Permanently added '192.168.1.138' (ECDSA) to the list of known hosts.
  9. [email protected]'s password:
  10.  
  11. The programs included with the Debian GNU/Linux system are free software;
  12. the exact distribution terms for each program are described in the
  13. individual files in /usr/share/doc/*/copyright.
  14.  
  15. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  16. permitted by applicable law.
  17. Last login: Wed Jul 5 12:01:25 2017
  18.  
  19. SSH is enabled and the default password for the 'pi' user has not been changed.
  20. This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
  21.  
  22. pi@raspberrypi:~ $ uname -a
  23. Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
  24. pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
  25.  
  26. ## Installing the NodeSource Node.js v7.x repo...
  27.  
  28.  
  29. ## Populating apt-get cache...
  30.  
  31. + apt-get update
  32. Hit http://mirrordirector.raspbian.org jessie InRelease
  33. Hit http://archive.raspberrypi.org jessie InRelease
  34. Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
  35. Hit http://archive.raspberrypi.org jessie/main armhf Packages
  36. Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
  37. Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
  38. Hit http://archive.raspberrypi.org jessie/ui armhf Packages
  39. Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
  40. Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
  41. Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
  42. Ign http://archive.raspberrypi.org jessie/main Translation-en
  43. Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
  44. Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
  45. Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
  46. Ign http://mirrordirector.raspbian.org jessie/main Translation-en
  47. Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
  48. Ign http://archive.raspberrypi.org jessie/ui Translation-en
  49. Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
  50. Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
  51. Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
  52. Reading package lists... Done
  53.  
  54. ## Confirming "jessie" is supported...
  55.  
  56. + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_7.x/dists/jessie/Release'
  57.  
  58. ## Adding the NodeSource signing key to your keyring...
  59.  
  60. + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
  61. OK
  62.  
  63. ## Creating apt sources list file for the NodeSource Node.js v7.x repo...
  64.  
  65. + echo 'deb https://deb.nodesource.com/node_7.x jessie main' > /etc/apt/sources.list.d/nodesource.list
  66. + echo 'deb-src https://deb.nodesource.com/node_7.x jessie main' >> /etc/apt/sources.list.d/nodesource.list
  67.  
  68. ## Running `apt-get update` for you...
  69.  
  70. + apt-get update
  71. Hit http://mirrordirector.raspbian.org jessie InRelease
  72. Hit http://archive.raspberrypi.org jessie InRelease
  73. Get:1 https://deb.nodesource.com jessie InRelease [4,634 B]
  74. Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
  75. Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
  76. Get:2 https://deb.nodesource.com jessie/main Sources [760 B]
  77. Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
  78. Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
  79. Hit http://archive.raspberrypi.org jessie/main armhf Packages
  80. Get:3 https://deb.nodesource.com jessie/main armhf Packages [973 B]
  81. Get:4 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
  82. Hit http://archive.raspberrypi.org jessie/ui armhf Packages
  83. Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]
  84. Get:6 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
  85. Get:7 https://deb.nodesource.com jessie/main Translation-en [162 B]
  86. Get:8 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
  87. Get:9 https://deb.nodesource.com jessie/main Translation-en [162 B]
  88. Get:10 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
  89. Get:11 https://deb.nodesource.com jessie/main Translation-en [162 B]
  90. Get:12 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
  91. Ign https://deb.nodesource.com jessie/main Translation-en_GB
  92. Get:13 https://deb.nodesource.com jessie/main Translation-en [162 B]
  93. Ign https://deb.nodesource.com jessie/main Translation-en
  94. Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
  95. Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
  96. Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
  97. Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
  98. Ign http://mirrordirector.raspbian.org jessie/main Translation-en
  99. Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
  100. Ign http://archive.raspberrypi.org jessie/main Translation-en
  101. Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
  102. Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
  103. Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
  104. Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
  105. Ign http://archive.raspberrypi.org jessie/ui Translation-en
  106. Fetched 6,367 B in 13s (465 B/s)
  107. Reading package lists... Done
  108.  
  109. ## Run `apt-get install nodejs` (as root) to install Node.js v7.x and npm
  110.  
  111. pi@raspberrypi:~ $ sudo apt-get install -y nodejs
  112. Reading package lists... Done
  113. Building dependency tree
  114. Reading state information... Done
  115. The following packages were automatically installed and are no longer required:
  116. libc-ares2 libv8-3.14.5
  117. Use 'apt-get autoremove' to remove them.
  118. The following packages will be REMOVED:
  119. nodejs-legacy nodered
  120. The following packages will be upgraded:
  121. nodejs
  122. 1 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
  123. Need to get 10.1 MB of archives.
  124. After this operation, 47.5 MB of additional disk space will be used.
  125. Get:1 https://deb.nodesource.com/node_7.x/ jessie/main nodejs armhf 7.10.0-1nodesource1~jessie1 [10.1 MB]
  126. Fetched 10.1 MB in 4s (2,266 kB/s)
  127. Reading changelogs... Done
  128. (Reading database ... 115401 files and directories currently installed.)
  129. Removing nodered (0.15.3) ...
  130. Removing nodejs-legacy (0.10.29~dfsg-2) ...
  131. Processing triggers for gnome-menus (3.13.3-6) ...
  132. Processing triggers for desktop-file-utils (0.22-1) ...
  133. Processing triggers for mime-support (3.58) ...
  134. Processing triggers for gnome-icon-theme (3.12.0-1) ...
  135. Processing triggers for man-db (2.7.5-1~bpo8+1) ...
  136. (Reading database ... 107568 files and directories currently installed.)
  137. Preparing to unpack .../nodejs_7.10.0-1nodesource1~jessie1_armhf.deb ...
  138. Unpacking nodejs (7.10.0-1nodesource1~jessie1) over (0.10.29~dfsg-2) ...
  139. Processing triggers for man-db (2.7.5-1~bpo8+1) ...
  140. Setting up nodejs (7.10.0-1nodesource1~jessie1) ...
  141. pi@raspberrypi:~ $ sudo apt-get install libavahi-compat-libdnssd-dev
  142. Reading package lists... Done
  143. Building dependency tree
  144. Reading state information... Done
  145. The following packages were automatically installed and are no longer required:
  146. libc-ares2 libv8-3.14.5
  147. Use 'apt-get autoremove' to remove them.
  148. The following extra packages will be installed:
  149. libavahi-client-dev libavahi-common-dev libavahi-compat-libdnssd1
  150. libdbus-1-dev
  151. The following NEW packages will be installed:
  152. libavahi-client-dev libavahi-common-dev libavahi-compat-libdnssd-dev
  153. libavahi-compat-libdnssd1 libdbus-1-dev
  154. 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
  155. Need to get 402 kB of archives.
  156. After this operation, 1,160 kB of additional disk space will be used.
  157. Do you want to continue? [Y/n] Y
  158. Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavahi-compat-libdnssd1 armhf 0.6.31-5 [42.9 kB]
  159. Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavahi-common-dev armhf 0.6.31-5 [61.4 kB]
  160. Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libdbus-1-dev armhf 1.8.22-0+deb8u1 [184 kB]
  161. Get:4 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavahi-client-dev armhf 0.6.31-5 [55.4 kB]
  162. Get:5 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavahi-compat-libdnssd-dev armhf 0.6.31-5 [57.7 kB]
  163. Fetched 402 kB in 1s (248 kB/s)
  164. Selecting previously unselected package libavahi-compat-libdnssd1:armhf.
  165. (Reading database ... 110602 files and directories currently installed.)
  166. Preparing to unpack .../libavahi-compat-libdnssd1_0.6.31-5_armhf.deb ...
  167. Unpacking libavahi-compat-libdnssd1:armhf (0.6.31-5) ...
  168. Selecting previously unselected package libavahi-common-dev.
  169. Preparing to unpack .../libavahi-common-dev_0.6.31-5_armhf.deb ...
  170. Unpacking libavahi-common-dev (0.6.31-5) ...
  171. Selecting previously unselected package libdbus-1-dev:armhf.
  172. Preparing to unpack .../libdbus-1-dev_1.8.22-0+deb8u1_armhf.deb ...
  173. Unpacking libdbus-1-dev:armhf (1.8.22-0+deb8u1) ...
  174. Selecting previously unselected package libavahi-client-dev.
  175. Preparing to unpack .../libavahi-client-dev_0.6.31-5_armhf.deb ...
  176. Unpacking libavahi-client-dev (0.6.31-5) ...
  177. Selecting previously unselected package libavahi-compat-libdnssd-dev.
  178. Preparing to unpack .../libavahi-compat-libdnssd-dev_0.6.31-5_armhf.deb ...
  179. Unpacking libavahi-compat-libdnssd-dev (0.6.31-5) ...
  180. Setting up libavahi-compat-libdnssd1:armhf (0.6.31-5) ...
  181. Setting up libavahi-common-dev (0.6.31-5) ...
  182. Setting up libdbus-1-dev:armhf (1.8.22-0+deb8u1) ...
  183. Setting up libavahi-client-dev (0.6.31-5) ...
  184. Setting up libavahi-compat-libdnssd-dev (0.6.31-5) ...
  185. Processing triggers for libc-bin (2.19-18+deb8u10) ...
  186. pi@raspberrypi:~ $ sudo npm install -g --unsafe-perm homebridge
  187. /usr/bin/homebridge -> /usr/lib/node_modules/homebridge/bin/homebridge
  188.  
  189. > [email protected] install /usr/lib/node_modules/homebridge/node_modules/mdns
  190. > node-gyp rebuild
  191.  
  192. make: Entering directory '/usr/lib/node_modules/homebridge/node_modules/mdns/build'
  193. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o
  194. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_browse.o
  195. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_enumerate_domains.o
  196. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_get_addr_info.o
  197. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_process_result.o
  198. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref.o
  199. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_deallocate.o
  200. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_sock_fd.o
  201. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_register.o
  202. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_resolve.o
  203. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_update_record.o
  204. CXX(target) Release/obj.target/dns_sd_bindings/src/mdns_utils.o
  205. CXX(target) Release/obj.target/dns_sd_bindings/src/network_interface.o
  206. CXX(target) Release/obj.target/dns_sd_bindings/src/socket_watcher.o
  207. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_ref.o
  208. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_create.o
  209. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_deallocate.o
  210. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_set_value.o
  211. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_get_length.o
  212. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_buffer_to_object.o
  213. SOLINK_MODULE(target) Release/obj.target/dns_sd_bindings.node
  214. COPY Release/dns_sd_bindings.node
  215. make: Leaving directory '/usr/lib/node_modules/homebridge/node_modules/mdns/build'
  216.  
  217. > [email protected] install /usr/lib/node_modules/homebridge/node_modules/curve25519-n2
  218. > node-gyp rebuild
  219.  
  220. make: Entering directory '/usr/lib/node_modules/homebridge/node_modules/curve25519-n2/build'
  221. CXX(target) Release/obj.target/curve/node_curve.o
  222. SOLINK_MODULE(target) Release/obj.target/curve.node
  223. COPY Release/curve.node
  224. make: Leaving directory '/usr/lib/node_modules/homebridge/node_modules/curve25519-n2/build'
  225.  
  226. > [email protected] install /usr/lib/node_modules/homebridge/node_modules/ed25519
  227. > node-gyp rebuild
  228.  
  229. make: Entering directory '/usr/lib/node_modules/homebridge/node_modules/ed25519/build'
  230. CC(target) Release/obj.target/ed25519/src/ed25519/keypair.o
  231. CC(target) Release/obj.target/ed25519/src/ed25519/sign.o
  232. CC(target) Release/obj.target/ed25519/src/ed25519/open.o
  233. CC(target) Release/obj.target/ed25519/src/ed25519/crypto_verify_32.o
  234. CC(target) Release/obj.target/ed25519/src/ed25519/ge_double_scalarmult.o
  235. CC(target) Release/obj.target/ed25519/src/ed25519/ge_frombytes.o
  236. CC(target) Release/obj.target/ed25519/src/ed25519/ge_scalarmult_base.o
  237. CC(target) Release/obj.target/ed25519/src/ed25519/ge_precomp_0.o
  238. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_0.o
  239. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_dbl.o
  240. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_0.o
  241. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_dbl.o
  242. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_p2.o
  243. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_cached.o
  244. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_tobytes.o
  245. CC(target) Release/obj.target/ed25519/src/ed25519/ge_madd.o
  246. CC(target) Release/obj.target/ed25519/src/ed25519/ge_add.o
  247. CC(target) Release/obj.target/ed25519/src/ed25519/ge_msub.o
  248. CC(target) Release/obj.target/ed25519/src/ed25519/ge_sub.o
  249. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p3.o
  250. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p2.o
  251. CC(target) Release/obj.target/ed25519/src/ed25519/ge_tobytes.o
  252. CC(target) Release/obj.target/ed25519/src/ed25519/fe_0.o
  253. CC(target) Release/obj.target/ed25519/src/ed25519/fe_1.o
  254. CC(target) Release/obj.target/ed25519/src/ed25519/fe_cmov.o
  255. CC(target) Release/obj.target/ed25519/src/ed25519/fe_copy.o
  256. CC(target) Release/obj.target/ed25519/src/ed25519/fe_neg.o
  257. CC(target) Release/obj.target/ed25519/src/ed25519/fe_add.o
  258. CC(target) Release/obj.target/ed25519/src/ed25519/fe_sub.o
  259. CC(target) Release/obj.target/ed25519/src/ed25519/fe_mul.o
  260. CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq.o
  261. CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq2.o
  262. CC(target) Release/obj.target/ed25519/src/ed25519/fe_invert.o
  263. CC(target) Release/obj.target/ed25519/src/ed25519/fe_tobytes.o
  264. CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnegative.o
  265. CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnonzero.o
  266. CC(target) Release/obj.target/ed25519/src/ed25519/fe_frombytes.o
  267. CC(target) Release/obj.target/ed25519/src/ed25519/fe_pow22523.o
  268. CC(target) Release/obj.target/ed25519/src/ed25519/sc_reduce.o
  269. CC(target) Release/obj.target/ed25519/src/ed25519/sc_muladd.o
  270. CXX(target) Release/obj.target/ed25519/src/ed25519.o
  271. SOLINK_MODULE(target) Release/obj.target/ed25519.node
  272. COPY Release/ed25519.node
  273. make: Leaving directory '/usr/lib/node_modules/homebridge/node_modules/ed25519/build'
  274. /usr/lib
  275. ├─┬ [email protected]
  276. │ ├── [email protected]
  277. │ ├── [email protected]
  278. │ ├─┬ [email protected]
  279. │ │ └── [email protected]
  280. │ ├── [email protected]
  281. │ └── [email protected]
  282. ├─┬ [email protected]
  283. │ └── [email protected]
  284. ├─┬ [email protected]
  285. │ ├── [email protected]
  286. │ ├─┬ [email protected]
  287. │ │ ├── [email protected]
  288. │ │ └── [email protected]
  289. │ ├─┬ [email protected]
  290. │ │ └── [email protected]
  291. │ ├── [email protected]
  292. │ ├── [email protected]
  293. │ ├── [email protected]
  294. │ ├─┬ [email protected]
  295. │ │ └── [email protected]
  296. │ └─┬ [email protected]
  297. │ └─┬ [email protected]
  298. │ └── [email protected]
  299. ├─┬ [email protected]
  300. │ ├── [email protected]
  301. │ └── [email protected]
  302. └── [email protected]
  303.  
  304. pi@raspberrypi:~ $ sudo npm install -g homebridge-vera
  305.  
  306. > [email protected] install /usr/lib/node_modules/homebridge-vera/node_modules/mdns
  307. > node-gyp rebuild
  308.  
  309. gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/7.10.0"
  310. gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/homebridge-vera/node_modules/mdns/.node-gyp"
  311. make: Entering directory '/usr/lib/node_modules/homebridge-vera/node_modules/mdns/build'
  312. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o
  313. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_browse.o
  314. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_enumerate_domains.o
  315. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_get_addr_info.o
  316. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_process_result.o
  317. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref.o
  318. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_deallocate.o
  319. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_sock_fd.o
  320. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_register.o
  321. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_resolve.o
  322. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_update_record.o
  323. CXX(target) Release/obj.target/dns_sd_bindings/src/mdns_utils.o
  324. CXX(target) Release/obj.target/dns_sd_bindings/src/network_interface.o
  325. CXX(target) Release/obj.target/dns_sd_bindings/src/socket_watcher.o
  326. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_ref.o
  327. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_create.o
  328. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_deallocate.o
  329. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_set_value.o
  330. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_get_length.o
  331. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_buffer_to_object.o
  332. SOLINK_MODULE(target) Release/obj.target/dns_sd_bindings.node
  333. COPY Release/dns_sd_bindings.node
  334. make: Leaving directory '/usr/lib/node_modules/homebridge-vera/node_modules/mdns/build'
  335.  
  336. > [email protected] install /usr/lib/node_modules/homebridge-vera/node_modules/curve25519
  337. > node-gyp rebuild
  338.  
  339. gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/7.10.0"
  340. gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/homebridge-vera/node_modules/curve25519/.node-gyp"
  341. make: Entering directory '/usr/lib/node_modules/homebridge-vera/node_modules/curve25519/build'
  342. CXX(target) Release/obj.target/curve/node_curve.o
  343. SOLINK_MODULE(target) Release/obj.target/curve.node
  344. COPY Release/curve.node
  345. make: Leaving directory '/usr/lib/node_modules/homebridge-vera/node_modules/curve25519/build'
  346.  
  347. > [email protected] install /usr/lib/node_modules/homebridge-vera/node_modules/ed25519
  348. > node-gyp rebuild
  349.  
  350. gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/7.10.0"
  351. gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/homebridge-vera/node_modules/ed25519/.node-gyp"
  352. make: Entering directory '/usr/lib/node_modules/homebridge-vera/node_modules/ed25519/build'
  353. CC(target) Release/obj.target/ed25519/src/ed25519/keypair.o
  354. CC(target) Release/obj.target/ed25519/src/ed25519/sign.o
  355. CC(target) Release/obj.target/ed25519/src/ed25519/open.o
  356. CC(target) Release/obj.target/ed25519/src/ed25519/crypto_verify_32.o
  357. CC(target) Release/obj.target/ed25519/src/ed25519/ge_double_scalarmult.o
  358. CC(target) Release/obj.target/ed25519/src/ed25519/ge_frombytes.o
  359. CC(target) Release/obj.target/ed25519/src/ed25519/ge_scalarmult_base.o
  360. CC(target) Release/obj.target/ed25519/src/ed25519/ge_precomp_0.o
  361. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_0.o
  362. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_dbl.o
  363. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_0.o
  364. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_dbl.o
  365. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_p2.o
  366. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_cached.o
  367. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_tobytes.o
  368. CC(target) Release/obj.target/ed25519/src/ed25519/ge_madd.o
  369. CC(target) Release/obj.target/ed25519/src/ed25519/ge_add.o
  370. CC(target) Release/obj.target/ed25519/src/ed25519/ge_msub.o
  371. CC(target) Release/obj.target/ed25519/src/ed25519/ge_sub.o
  372. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p3.o
  373. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p2.o
  374. CC(target) Release/obj.target/ed25519/src/ed25519/ge_tobytes.o
  375. CC(target) Release/obj.target/ed25519/src/ed25519/fe_0.o
  376. CC(target) Release/obj.target/ed25519/src/ed25519/fe_1.o
  377. CC(target) Release/obj.target/ed25519/src/ed25519/fe_cmov.o
  378. CC(target) Release/obj.target/ed25519/src/ed25519/fe_copy.o
  379. CC(target) Release/obj.target/ed25519/src/ed25519/fe_neg.o
  380. CC(target) Release/obj.target/ed25519/src/ed25519/fe_add.o
  381. CC(target) Release/obj.target/ed25519/src/ed25519/fe_sub.o
  382. CC(target) Release/obj.target/ed25519/src/ed25519/fe_mul.o
  383. CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq.o
  384. CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq2.o
  385. CC(target) Release/obj.target/ed25519/src/ed25519/fe_invert.o
  386. CC(target) Release/obj.target/ed25519/src/ed25519/fe_tobytes.o
  387. CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnegative.o
  388. CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnonzero.o
  389. CC(target) Release/obj.target/ed25519/src/ed25519/fe_frombytes.o
  390. CC(target) Release/obj.target/ed25519/src/ed25519/fe_pow22523.o
  391. CC(target) Release/obj.target/ed25519/src/ed25519/sc_reduce.o
  392. CC(target) Release/obj.target/ed25519/src/ed25519/sc_muladd.o
  393. CXX(target) Release/obj.target/ed25519/src/ed25519.o
  394. SOLINK_MODULE(target) Release/obj.target/ed25519.node
  395. COPY Release/ed25519.node
  396. make: Leaving directory '/usr/lib/node_modules/homebridge-vera/node_modules/ed25519/build'
  397.  
  398. > [email protected] install /usr/lib/node_modules/homebridge-vera/node_modules/bignum
  399. > node-pre-gyp install --fallback-to-build
  400.  
  401. node-pre-gyp ERR! Tried to download(403): https://rvagg-node.s3-us-west-2.amazonaws.com/bignum/v0.12.5/bignum-v0.12.5-node-v51-linux-arm.tar.gz
  402. node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v51 ABI) (falling back to source compile with node-gyp)
  403. gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/7.10.0"
  404. gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/homebridge-vera/node_modules/bignum/.node-gyp"
  405. make: Entering directory '/usr/lib/node_modules/homebridge-vera/node_modules/bignum/build'
  406. make: *** No rule to make target '../.node-gyp/7.10.0/include/node/common.gypi', needed by 'Makefile'. Stop.
  407. make: Leaving directory '/usr/lib/node_modules/homebridge-vera/node_modules/bignum/build'
  408. gyp ERR! build error
  409. gyp ERR! stack Error: `make` failed with exit code: 2
  410. gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
  411. gyp ERR! stack at emitTwo (events.js:106:13)
  412. gyp ERR! stack at ChildProcess.emit (events.js:194:7)
  413. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
  414. gyp ERR! System Linux 4.9.35-v7+
  415. gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/usr/lib/node_modules/homebridge-vera/node_modules/bignum/binding/bignum.node" "--module_name=bignum" "--module_path=/usr/lib/node_modules/homebridge-vera/node_modules/bignum/binding"
  416. gyp ERR! cwd /usr/lib/node_modules/homebridge-vera/node_modules/bignum
  417. gyp ERR! node -v v7.10.0
  418. gyp ERR! node-gyp -v v3.5.0
  419. gyp ERR! not ok
  420. node-pre-gyp ERR! build error
  421. node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/nodejs /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/lib/node_modules/homebridge-vera/node_modules/bignum/binding/bignum.node --module_name=bignum --module_path=/usr/lib/node_modules/homebridge-vera/node_modules/bignum/binding' (1)
  422. node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/homebridge-vera/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
  423. node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
  424. node-pre-gyp ERR! stack at ChildProcess.emit (events.js:194:7)
  425. node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:899:16)
  426. node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
  427. node-pre-gyp ERR! System Linux 4.9.35-v7+
  428. node-pre-gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/homebridge-vera/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
  429. node-pre-gyp ERR! cwd /usr/lib/node_modules/homebridge-vera/node_modules/bignum
  430. node-pre-gyp ERR! node -v v7.10.0
  431. node-pre-gyp ERR! node-pre-gyp -v v0.6.36
  432. node-pre-gyp ERR! not ok
  433. Failed to execute '/usr/bin/nodejs /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/lib/node_modules/homebridge-vera/node_modules/bignum/binding/bignum.node --module_name=bignum --module_path=/usr/lib/node_modules/homebridge-vera/node_modules/bignum/binding' (1)
  434. /usr/lib
  435. └── (empty)
  436.  
  437. npm ERR! Linux 4.9.35-v7+
  438. npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "homebridge-vera"
  439. npm ERR! node v7.10.0
  440. npm ERR! npm v4.2.0
  441. npm ERR! code ELIFECYCLE
  442. npm ERR! errno 1
  443.  
  444. npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
  445. npm ERR! Exit status 1
  446. npm ERR!
  447. npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
  448. npm ERR! Make sure you have the latest version of node.js and npm installed.
  449. npm ERR! If you do, this is most likely a problem with the bignum package,
  450. npm ERR! not with npm itself.
  451. npm ERR! Tell the author that this fails on your system:
  452. npm ERR! node-pre-gyp install --fallback-to-build
  453. npm ERR! You can get information on how to open an issue for this project with:
  454. npm ERR! npm bugs bignum
  455. npm ERR! Or if that isn't available, you can get their info via:
  456. npm ERR! npm owner ls bignum
  457. npm ERR! There is likely additional logging output above.
  458.  
  459. npm ERR! Please include the following file with any support request:
  460. npm ERR! /root/.npm/_logs/2017-07-09T18_54_49_046Z-debug.log
  461. pi@raspberrypi:~ $ sudo apt-get update
  462. Hit https://deb.nodesource.com jessie InRelease
  463. Hit http://mirrordirector.raspbian.org jessie InRelease
  464. Hit http://archive.raspberrypi.org jessie InRelease
  465. Hit https://deb.nodesource.com jessie/main Sources
  466. Hit https://deb.nodesource.com jessie/main armhf Packages
  467. Get:1 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
  468. Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
  469. Get:2 https://deb.nodesource.com jessie/main Translation-en [162 B]
  470. Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
  471. Get:3 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
  472. Get:4 https://deb.nodesource.com jessie/main Translation-en [162 B]
  473. Hit http://archive.raspberrypi.org jessie/main armhf Packages
  474. Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
  475. Get:5 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
  476. Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
  477. Get:6 https://deb.nodesource.com jessie/main Translation-en [162 B]
  478. Hit http://archive.raspberrypi.org jessie/ui armhf Packages
  479. Get:7 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
  480. Get:8 https://deb.nodesource.com jessie/main Translation-en [162 B]
  481. Get:9 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
  482. Ign https://deb.nodesource.com jessie/main Translation-en_GB
  483. Get:10 https://deb.nodesource.com jessie/main Translation-en [162 B]
  484. Ign https://deb.nodesource.com jessie/main Translation-en
  485. Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
  486. Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
  487. Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
  488. Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
  489. Ign http://archive.raspberrypi.org jessie/main Translation-en
  490. Ign http://mirrordirector.raspbian.org jessie/main Translation-en
  491. Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
  492. Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
  493. Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
  494. Ign http://archive.raspberrypi.org jessie/ui Translation-en
  495. Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
  496. Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
  497. Reading package lists... Done
  498. pi@raspberrypi:~ $ sudo apt-get install nodejs npm git-core libnss-mdns
  499. Reading package lists... Done
  500. Building dependency tree
  501. Reading state information... Done
  502. libnss-mdns is already the newest version.
  503. libnss-mdns set to manually installed.
  504. nodejs is already the newest version.
  505. Some packages could not be installed. This may mean that you have
  506. requested an impossible situation or if you are using the unstable
  507. distribution that some required packages have not yet been created
  508. or been moved out of Incoming.
  509. The following information may help to resolve the situation:
  510.  
  511. The following packages have unmet dependencies:
  512. nodejs : Conflicts: npm
  513. E: Unable to correct problems, you have held broken packages.
  514. pi@raspberrypi:~ $ sudo npm config set registry http://registry.npmjs.org/
  515. pi@raspberrypi:~ $ sudo npm install -g node-gyp
  516. /usr/bin/node-gyp -> /usr/lib/node_modules/node-gyp/bin/node-gyp.js
  517. /usr/lib
  518. ├─┬ [email protected]
  519. │ └── [email protected]
  520. ├─┬ [email protected]
  521. │ ├── [email protected]
  522. │ ├─┬ [email protected]
  523. │ │ └── [email protected]
  524. │ ├── [email protected]
  525. │ └── [email protected]
  526. ├── [email protected]
  527. ├─┬ [email protected]
  528. │ └─┬ [email protected]
  529. │ ├── [email protected]
  530. │ └── [email protected]
  531. ├─┬ [email protected]
  532. │ └── [email protected]
  533. ├─┬ [email protected]
  534. │ └── [email protected]
  535. ├─┬ [email protected]
  536. │ ├─┬ [email protected]
  537. │ │ ├── [email protected]
  538. │ │ └─┬ [email protected]
  539. │ │ ├── [email protected]
  540. │ │ ├── [email protected]
  541. │ │ ├── [email protected]
  542. │ │ ├── [email protected]
  543. │ │ └── [email protected]
  544. │ ├── [email protected]
  545. │ ├─┬ [email protected]
  546. │ │ ├── [email protected]
  547. │ │ ├── [email protected]
  548. │ │ ├── [email protected]
  549. │ │ ├── [email protected]
  550. │ │ ├─┬ [email protected]
  551. │ │ │ ├── [email protected]
  552. │ │ │ └─┬ [email protected]
  553. │ │ │ └── [email protected]
  554. │ │ ├─┬ [email protected]
  555. │ │ │ └── [email protected]
  556. │ │ └── [email protected]
  557. │ └── [email protected]
  558. ├─┬ [email protected]
  559. │ ├── [email protected]
  560. │ └── [email protected]
  561. ├─┬ [email protected]
  562. │ ├── [email protected]
  563. │ ├── [email protected]
  564. │ ├── [email protected]
  565. │ ├─┬ [email protected]
  566. │ │ └── [email protected]
  567. │ ├── [email protected]
  568. │ ├── [email protected]
  569. │ ├─┬ [email protected]
  570. │ │ └── [email protected]
  571. │ ├─┬ [email protected]
  572. │ │ ├─┬ [email protected]
  573. │ │ │ ├── [email protected]
  574. │ │ │ └─┬ [email protected]
  575. │ │ │ └── [email protected]
  576. │ │ └── [email protected]
  577. │ ├─┬ [email protected]
  578. │ │ ├── [email protected]
  579. │ │ ├── [email protected]
  580. │ │ ├── [email protected]
  581. │ │ └── [email protected]
  582. │ ├─┬ [email protected]
  583. │ │ ├── [email protected]
  584. │ │ ├─┬ [email protected]
  585. │ │ │ ├── [email protected]
  586. │ │ │ ├── [email protected]
  587. │ │ │ ├── [email protected]
  588. │ │ │ └── [email protected]
  589. │ │ └─┬ [email protected]
  590. │ │ ├── [email protected]
  591. │ │ ├── [email protected]
  592. │ │ ├── [email protected]
  593. │ │ ├─┬ [email protected]
  594. │ │ │ └── [email protected]
  595. │ │ ├── [email protected]
  596. │ │ ├─┬ [email protected]
  597. │ │ │ └── [email protected]
  598. │ │ ├── [email protected]
  599. │ │ └── [email protected]
  600. │ ├── [email protected]
  601. │ ├── [email protected]
  602. │ ├── [email protected]
  603. │ ├─┬ [email protected]
  604. │ │ └── [email protected]
  605. │ ├── [email protected]
  606. │ ├── [email protected]
  607. │ ├── [email protected]
  608. │ ├── [email protected]
  609. │ ├── [email protected]
  610. │ ├─┬ [email protected]
  611. │ │ └── [email protected]
  612. │ ├── [email protected]
  613. │ └── [email protected]
  614. ├── [email protected]
  615. ├── [email protected]
  616. ├─┬ [email protected]
  617. │ └── [email protected]
  618. └─┬ [email protected]
  619. └── [email protected]
  620.  
  621. pi@raspberrypi:~ $ npm install -g homebridge-vera
  622. npm WARN checkPermissions Missing write access to /usr/lib/node_modules
  623. /usr/lib
  624. ├── [email protected]
  625. ├─┬ [email protected]
  626. │ ├── [email protected]
  627. │ ├── [email protected]
  628. │ ├─┬ [email protected]
  629. │ │ └── [email protected]
  630. │ └── [email protected]
  631. ├─┬ [email protected]
  632. │ └── [email protected]
  633. ├─┬ [email protected]
  634. │ ├─┬ [email protected] (git://github.com/KhaosT/node-curve25519.git#922eae612bb379fa84e8deb29f80c53d57c8be7b)
  635. │ │ ├── [email protected]
  636. │ │ └── [email protected]
  637. │ ├── [email protected] (git://github.com/KhaosT/ed25519.git#6356bc9e6e4643d56020293c14920ac12bcaa1ac)
  638. │ ├─┬ [email protected]
  639. │ │ └── [email protected]
  640. │ ├── [email protected]
  641. │ └─┬ [email protected] (git://github.com/KhaosT/node-srp.git#4bae2bd72e75e594ca671a3574250b447d79e5b9)
  642. │ └─┬ [email protected]
  643. │ └─┬ [email protected]
  644. │ ├─┬ [email protected]
  645. │ │ └── [email protected]
  646. │ ├─┬ [email protected]
  647. │ │ ├── [email protected]
  648. │ │ └─┬ [email protected]
  649. │ │ ├── [email protected]
  650. │ │ └── [email protected]
  651. │ ├─┬ [email protected]
  652. │ │ ├─┬ [email protected]
  653. │ │ │ └── [email protected]
  654. │ │ ├── [email protected]
  655. │ │ ├─┬ [email protected]
  656. │ │ │ ├── [email protected]
  657. │ │ │ ├── [email protected]
  658. │ │ │ ├── [email protected]
  659. │ │ │ ├── [email protected]
  660. │ │ │ ├─┬ [email protected]
  661. │ │ │ │ ├── [email protected]
  662. │ │ │ │ └─┬ [email protected]
  663. │ │ │ │ └── [email protected]
  664. │ │ │ ├─┬ [email protected]
  665. │ │ │ │ └── [email protected]
  666. │ │ │ └── [email protected]
  667. │ │ └── [email protected]
  668. │ ├─┬ [email protected]
  669. │ │ ├── [email protected]
  670. │ │ ├── [email protected]
  671. │ │ ├── [email protected]
  672. │ │ └── [email protected]
  673. │ ├── [email protected]
  674. │ ├─┬ [email protected]
  675. │ │ ├── [email protected]
  676. │ │ └─┬ [email protected]
  677. │ │ ├── [email protected]
  678. │ │ └── [email protected]
  679. │ └─┬ [email protected]
  680. │ ├── [email protected]
  681. │ ├─┬ [email protected]
  682. │ │ ├── [email protected]
  683. │ │ ├── [email protected]
  684. │ │ ├── [email protected]
  685. │ │ ├── [email protected]
  686. │ │ └── [email protected]
  687. │ └── [email protected]
  688. ├─┬ [email protected]
  689. │ ├── [email protected]
  690. │ └── [email protected]
  691. ├─┬ [email protected]
  692. │ ├── [email protected]
  693. │ ├── [email protected]
  694. │ ├─┬ [email protected]
  695. │ │ └── [email protected]
  696. │ ├── [email protected]
  697. │ ├─┬ [email protected]
  698. │ │ ├── [email protected]
  699. │ │ ├── [email protected]
  700. │ │ ├── [email protected]
  701. │ │ ├── [email protected]
  702. │ │ └─┬ [email protected]
  703. │ │ └─┬ [email protected]
  704. │ │ ├── [email protected]
  705. │ │ ├─┬ [email protected]
  706. │ │ │ └── [email protected]
  707. │ │ ├─┬ [email protected]
  708. │ │ │ └─┬ [email protected]
  709. │ │ │ ├── [email protected]
  710. │ │ │ └── [email protected]
  711. │ │ ├── [email protected]
  712. │ │ └── [email protected]
  713. │ └─┬ [email protected]
  714. │ ├── [email protected]
  715. │ ├── [email protected]
  716. │ ├── [email protected]
  717. │ ├── [email protected]
  718. │ ├── [email protected]
  719. │ └── [email protected]
  720. ├─┬ [email protected]
  721. │ ├── [email protected]
  722. │ ├── [email protected]
  723. │ ├── [email protected]
  724. │ ├─┬ [email protected]
  725. │ │ └── [email protected]
  726. │ ├── [email protected]
  727. │ ├── [email protected]
  728. │ ├─┬ [email protected]
  729. │ │ └── [email protected]
  730. │ ├─┬ [email protected]
  731. │ │ ├─┬ [email protected]
  732. │ │ │ ├── [email protected]
  733. │ │ │ └─┬ [email protected]
  734. │ │ │ └── [email protected]
  735. │ │ └── [email protected]
  736. │ ├─┬ [email protected]
  737. │ │ ├── [email protected]
  738. │ │ ├── [email protected]
  739. │ │ ├── [email protected]
  740. │ │ └── [email protected]
  741. │ ├─┬ [email protected]
  742. │ │ ├── [email protected]
  743. │ │ ├─┬ [email protected]
  744. │ │ │ ├── [email protected]
  745. │ │ │ ├── [email protected]
  746. │ │ │ ├── [email protected]
  747. │ │ │ └── [email protected]
  748. │ │ └─┬ [email protected]
  749. │ │ ├── [email protected]
  750. │ │ ├── [email protected]
  751. │ │ ├── [email protected]
  752. │ │ ├─┬ [email protected]
  753. │ │ │ └── [email protected]
  754. │ │ ├── [email protected]
  755. │ │ ├─┬ [email protected]
  756. │ │ │ └── [email protected]
  757. │ │ ├── [email protected]
  758. │ │ └── [email protected]
  759. │ ├── [email protected]
  760. │ ├── [email protected]
  761. │ ├── [email protected]
  762. │ ├─┬ [email protected]
  763. │ │ └── [email protected]
  764. │ ├── [email protected]
  765. │ ├── [email protected]
  766. │ ├── [email protected]
  767. │ ├── [email protected]
  768. │ ├── [email protected]
  769. │ ├─┬ [email protected]
  770. │ │ └── [email protected]
  771. │ ├── [email protected]
  772. │ └── [email protected]
  773. └─┬ [email protected]
  774. ├── [email protected]
  775. ├─┬ [email protected]
  776. │ └── [email protected]
  777. └── [email protected]
  778.  
  779. npm ERR! Linux 4.9.35-v7+
  780. npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "homebridge-vera"
  781. npm ERR! node v7.10.0
  782. npm ERR! npm v4.2.0
  783. npm ERR! path /usr/lib/node_modules
  784. npm ERR! code EACCES
  785. npm ERR! errno -13
  786. npm ERR! syscall access
  787.  
  788. npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules'
  789. npm ERR! { Error: EACCES: permission denied, access '/usr/lib/node_modules'
  790. npm ERR! errno: -13,
  791. npm ERR! code: 'EACCES',
  792. npm ERR! syscall: 'access',
  793. npm ERR! path: '/usr/lib/node_modules' }
  794. npm ERR!
  795. npm ERR! Please try running this command again as root/Administrator.
  796.  
  797. npm ERR! Please include the following file with any support request:
  798. npm ERR! /home/pi/.npm/_logs/2017-07-09T19_00_13_641Z-debug.log
  799. pi@raspberrypi:~ $ sudo npm install -g homebridge-vera
  800.  
  801. > [email protected] install /usr/lib/node_modules/homebridge-vera/node_modules/mdns
  802. > node-gyp rebuild
  803.  
  804. gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/7.10.0"
  805. gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/homebridge-vera/node_modules/mdns/.node-gyp"
  806. make: Entering directory '/usr/lib/node_modules/homebridge-vera/node_modules/mdns/build'
  807. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o
  808. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_browse.o
  809. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_enumerate_domains.o
  810. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_get_addr_info.o
  811. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_process_result.o
  812. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref.o
  813. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_deallocate.o
  814. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_sock_fd.o
  815. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_register.o
  816. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_resolve.o
  817. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_update_record.o
  818. CXX(target) Release/obj.target/dns_sd_bindings/src/mdns_utils.o
  819. CXX(target) Release/obj.target/dns_sd_bindings/src/network_interface.o
  820. CXX(target) Release/obj.target/dns_sd_bindings/src/socket_watcher.o
  821. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_ref.o
  822. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_create.o
  823. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_deallocate.o
  824. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_set_value.o
  825. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_get_length.o
  826. CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_buffer_to_object.o
  827. SOLINK_MODULE(target) Release/obj.target/dns_sd_bindings.node
  828. COPY Release/dns_sd_bindings.node
  829. make: Leaving directory '/usr/lib/node_modules/homebridge-vera/node_modules/mdns/build'
  830.  
  831. > [email protected] install /usr/lib/node_modules/homebridge-vera/node_modules/curve25519
  832. > node-gyp rebuild
  833.  
  834. gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/7.10.0"
  835. gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/homebridge-vera/node_modules/curve25519/.node-gyp"
  836. make: Entering directory '/usr/lib/node_modules/homebridge-vera/node_modules/curve25519/build'
  837. CXX(target) Release/obj.target/curve/node_curve.o
  838. SOLINK_MODULE(target) Release/obj.target/curve.node
  839. COPY Release/curve.node
  840. make: Leaving directory '/usr/lib/node_modules/homebridge-vera/node_modules/curve25519/build'
  841.  
  842. > [email protected] install /usr/lib/node_modules/homebridge-vera/node_modules/ed25519
  843. > node-gyp rebuild
  844.  
  845. gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/7.10.0"
  846. gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/homebridge-vera/node_modules/ed25519/.node-gyp"
  847. make: Entering directory '/usr/lib/node_modules/homebridge-vera/node_modules/ed25519/build'
  848. CC(target) Release/obj.target/ed25519/src/ed25519/keypair.o
  849. CC(target) Release/obj.target/ed25519/src/ed25519/sign.o
  850. CC(target) Release/obj.target/ed25519/src/ed25519/open.o
  851. CC(target) Release/obj.target/ed25519/src/ed25519/crypto_verify_32.o
  852. CC(target) Release/obj.target/ed25519/src/ed25519/ge_double_scalarmult.o
  853. CC(target) Release/obj.target/ed25519/src/ed25519/ge_frombytes.o
  854. CC(target) Release/obj.target/ed25519/src/ed25519/ge_scalarmult_base.o
  855. CC(target) Release/obj.target/ed25519/src/ed25519/ge_precomp_0.o
  856. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_0.o
  857. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_dbl.o
  858. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_0.o
  859. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_dbl.o
  860. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_p2.o
  861. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_cached.o
  862. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_tobytes.o
  863. CC(target) Release/obj.target/ed25519/src/ed25519/ge_madd.o
  864. CC(target) Release/obj.target/ed25519/src/ed25519/ge_add.o
  865. CC(target) Release/obj.target/ed25519/src/ed25519/ge_msub.o
  866. CC(target) Release/obj.target/ed25519/src/ed25519/ge_sub.o
  867. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p3.o
  868. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p2.o
  869. CC(target) Release/obj.target/ed25519/src/ed25519/ge_tobytes.o
  870. CC(target) Release/obj.target/ed25519/src/ed25519/fe_0.o
  871. CC(target) Release/obj.target/ed25519/src/ed25519/fe_1.o
  872. CC(target) Release/obj.target/ed25519/src/ed25519/fe_cmov.o
  873. CC(target) Release/obj.target/ed25519/src/ed25519/fe_copy.o
  874. CC(target) Release/obj.target/ed25519/src/ed25519/fe_neg.o
  875. CC(target) Release/obj.target/ed25519/src/ed25519/fe_add.o
  876. CC(target) Release/obj.target/ed25519/src/ed25519/fe_sub.o
  877. CC(target) Release/obj.target/ed25519/src/ed25519/fe_mul.o
  878. CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq.o
  879. CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq2.o
  880. CC(target) Release/obj.target/ed25519/src/ed25519/fe_invert.o
  881. CC(target) Release/obj.target/ed25519/src/ed25519/fe_tobytes.o
  882. CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnegative.o
  883. CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnonzero.o
  884. CC(target) Release/obj.target/ed25519/src/ed25519/fe_frombytes.o
  885. CC(target) Release/obj.target/ed25519/src/ed25519/fe_pow22523.o
  886. CC(target) Release/obj.target/ed25519/src/ed25519/sc_reduce.o
  887. CC(target) Release/obj.target/ed25519/src/ed25519/sc_muladd.o
  888. CXX(target) Release/obj.target/ed25519/src/ed25519.o
  889. SOLINK_MODULE(target) Release/obj.target/ed25519.node
  890. COPY Release/ed25519.node
  891. make: Leaving directory '/usr/lib/node_modules/homebridge-vera/node_modules/ed25519/build'
  892.  
  893. > [email protected] install /usr/lib/node_modules/homebridge-vera/node_modules/bignum
  894. > node-pre-gyp install --fallback-to-build
  895.  
  896. node-pre-gyp ERR! Tried to download(403): https://rvagg-node.s3-us-west-2.amazonaws.com/bignum/v0.12.5/bignum-v0.12.5-node-v51-linux-arm.tar.gz
  897. node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v51 ABI) (falling back to source compile with node-gyp)
  898. gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/7.10.0"
  899. gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/homebridge-vera/node_modules/bignum/.node-gyp"
  900. make: Entering directory '/usr/lib/node_modules/homebridge-vera/node_modules/bignum/build'
  901. make: *** No rule to make target '../.node-gyp/7.10.0/include/node/common.gypi', needed by 'Makefile'. Stop.
  902. make: Leaving directory '/usr/lib/node_modules/homebridge-vera/node_modules/bignum/build'
  903. gyp ERR! build error
  904. gyp ERR! stack Error: `make` failed with exit code: 2
  905. gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:258:23)
  906. gyp ERR! stack at emitTwo (events.js:106:13)
  907. gyp ERR! stack at ChildProcess.emit (events.js:194:7)
  908. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
  909. gyp ERR! System Linux 4.9.35-v7+
  910. gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/usr/lib/node_modules/homebridge-vera/node_modules/bignum/binding/bignum.node" "--module_name=bignum" "--module_path=/usr/lib/node_modules/homebridge-vera/node_modules/bignum/binding"
  911. gyp ERR! cwd /usr/lib/node_modules/homebridge-vera/node_modules/bignum
  912. gyp ERR! node -v v7.10.0
  913. gyp ERR! node-gyp -v v3.6.2
  914. gyp ERR! not ok
  915. node-pre-gyp ERR! build error
  916. node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/nodejs /usr/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/lib/node_modules/homebridge-vera/node_modules/bignum/binding/bignum.node --module_name=bignum --module_path=/usr/lib/node_modules/homebridge-vera/node_modules/bignum/binding' (1)
  917. node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/homebridge-vera/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
  918. node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
  919. node-pre-gyp ERR! stack at ChildProcess.emit (events.js:194:7)
  920. node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:899:16)
  921. node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
  922. node-pre-gyp ERR! System Linux 4.9.35-v7+
  923. node-pre-gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/homebridge-vera/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
  924. node-pre-gyp ERR! cwd /usr/lib/node_modules/homebridge-vera/node_modules/bignum
  925. node-pre-gyp ERR! node -v v7.10.0
  926. node-pre-gyp ERR! node-pre-gyp -v v0.6.36
  927. node-pre-gyp ERR! not ok
  928. Failed to execute '/usr/bin/nodejs /usr/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/lib/node_modules/homebridge-vera/node_modules/bignum/binding/bignum.node --module_name=bignum --module_path=/usr/lib/node_modules/homebridge-vera/node_modules/bignum/binding' (1)
  929. /usr/lib
  930. └── (empty)
  931.  
  932. npm ERR! Linux 4.9.35-v7+
  933. npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "homebridge-vera"
  934. npm ERR! node v7.10.0
  935. npm ERR! npm v4.2.0
  936. npm ERR! code ELIFECYCLE
  937. npm ERR! errno 1
  938.  
  939. npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
  940. npm ERR! Exit status 1
  941. npm ERR!
  942. npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
  943. npm ERR! Make sure you have the latest version of node.js and npm installed.
  944. npm ERR! If you do, this is most likely a problem with the bignum package,
  945. npm ERR! not with npm itself.
  946. npm ERR! Tell the author that this fails on your system:
  947. npm ERR! node-pre-gyp install --fallback-to-build
  948. npm ERR! You can get information on how to open an issue for this project with:
  949. npm ERR! npm bugs bignum
  950. npm ERR! Or if that isn't available, you can get their info via:
  951. npm ERR! npm owner ls bignum
  952. npm ERR! There is likely additional logging output above.
  953.  
  954. npm ERR! Please include the following file with any support request:
  955. npm ERR! /root/.npm/_logs/2017-07-09T19_05_40_581Z-debug.log
  956. pi@raspberrypi:~ $
Advertisement
Add Comment
Please, Sign In to add comment