Other OS

Installing HAP-NodeJS and other packages to make Apple Homekit server

9 791
Hello guys,

I purchased a Banana Pi A20 board thinking to make a secondary NAS that runs transmission torrent downloader, I already have an 4Tb WD NAS, but want another one that I can play with on other projects also, and one that just made me testing the Banana Pi board (purchased now 2 months ago, but never used it) was the new Apple HOME app that came with iOS 10, didn't knew about HomeKit but now I want to put some ESP8266 boards around my house, the first one is for a 12meters led strip I have in my office, I want to be able to turn it off from my phone.

I first tried to install the Bananian OS, than followed a the tutorial at the this address to install the needed software but whille installing  npm install node-persist && npm install srp && npm install mdns --unsafe-perm I got some errors, than I was thinking to try a different OS, 2016-07-13-raspbian-jessie-bpi-m1-m1p-r1.img and tried again and I got some errors again, I think the same errors showed up as I seen

  1. node-pre-gyp ERR! Tried to download: https://rvagg-node.s3-us-west-2.amazonaws.com/bignum/v0.12.5/bignum-v0.12.5-node-v47-linux-arm.tar.gz
  2. node-pre-gyp ERR! Pre-built binaries not found for bignum@0.12.5 and node@5.2.0 (node-v47 ABI) (falling back to source compile with node-gyp)
Copy the Code
this also showed up when I tried to install one by one all the modules
  1. root@bpi-iot-ros-ai:/home/pi/HAP-NodeJS# npm install curve25519

  2. curve25519@1.0.0 install /home/pi/HAP-NodeJS/node_modules/curve25519
  3. node-gyp rebuild
  4. make: Entering directory '/home/pi/HAP-NodeJS/node_modules/curve25519/build'
  5. CXX(target) Release/obj.target/curve25519/curve25519.o
  6. ../curve25519.cc: In function ‘v8::Handle V8Exception(const char*)’:
  7. ../curve25519.cc:14:44: error: ‘New’ is not a member of ‘v8::String’
  8. return ThrowException(Exception::Error(String::New(msg)));
  9. ^
  10. ../curve25519.cc:14:61: error: ‘ThrowException’ was not declared in this scope
  11. return ThrowException(Exception::Error(String::New(msg)));
  12. ^
  13. ../curve25519.cc: At global scope:
  14. ../curve25519.cc:18:51: error: ‘Arguments’ does not name a type
  15. static Handle node_curve25519_donna (const Arguments& args) {
  16. ^
  17. In file included from /root/.node-gyp/5.2.0/include/node/node.h:42:0,
  18. from ../curve25519.cc:1:
  19. /root/.node-gyp/5.2.0/include/node/v8.h: In function ‘v8::Handle node_curve25519_donna(const int&)’:
  20. /root/.node-gyp/5.2.0/include/node/v8.h:889:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  21. V8_INLINE HandleScope() {}
  22. ^
  23. ../curve25519.cc:19:15: error: within this context
  24. HandleScope scope;
  25. ^
  26. ../curve25519.cc:23:12: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  27. if (args.Length() < 2) {
  28. ^
  29. ../curve25519.cc:29:29: error: invalid types ‘const int[int]’ for array subscript
  30. if( (Buffer::Length(args[0]->ToObject()) != 32) ||
  31. ^
  32. ../curve25519.cc:30:29: error: invalid types ‘const int[int]’ for array subscript
  33. (Buffer::Length(args[1]->ToObject()) != 32) ) {
  34. ^
  35. ../curve25519.cc:35:9: error: expected primary-expression before ‘*’ token
  36. Buffer* publicKey = Buffer::New(32);
  37. ^
  38. ../curve25519.cc:35:11: error: ‘publicKey’ was not declared in this scope
  39. Buffer* publicKey = Buffer::New(32);
  40. ^
  41. ../curve25519.cc:35:37: error: no matching function for call to ‘New(int)’
  42. Buffer* publicKey = Buffer::New(32);
  43. ^
  44. ../curve25519.cc:35:37: note: candidates are:
  45. In file included from ../curve25519.cc:2:0:
  46. /root/.node-gyp/5.2.0/include/node/node_buffer.h:28:40: note: v8::MaybeLocal node::Buffer::New(v8::Isolate*, size_t)
  47. NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, size_t length);
  48. ^
  49. /root/.node-gyp/5.2.0/include/node/node_buffer.h:28:40: note: candidate expects 2 arguments, 1 provided
  50. /root/.node-gyp/5.2.0/include/node/node_buffer.h:31:40: note: v8::MaybeLocal node::Buffer::New(v8::Isolate*, v8::Local, node::encoding)
  51. NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
  52. ^
  53. /root/.node-gyp/5.2.0/include/node/node_buffer.h:31:40: note: candidate expects 3 arguments, 1 provided
  54. /root/.node-gyp/5.2.0/include/node/node_buffer.h:36:40: note: v8::MaybeLocal node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
  55. NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
  56. ^
  57. /root/.node-gyp/5.2.0/include/node/node_buffer.h:36:40: note: candidate expects 5 arguments, 1 provided
  58. /root/.node-gyp/5.2.0/include/node/node_buffer.h:43:40: note: v8::MaybeLocal node::Buffer::New(v8::Isolate*, char*, size_t)
  59. NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
  60. ^
  61. /root/.node-gyp/5.2.0/include/node/node_buffer.h:43:40: note: candidate expects 3 arguments, 1 provided
  62. ../curve25519.cc:37:46: error: invalid types ‘const int[int]’ for array subscript
  63. u8* privateKey = (u8*) Buffer::Data(args[0]->ToObject());
  64. ^
  65. ../curve25519.cc:38:45: error: invalid types ‘const int[int]’ for array subscript
  66. u8* basePoint = (u8*) Buffer::Data(args[1]->ToObject());
  67. ^
  68. ../curve25519.cc:42:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
  69. return scope.Close(Localprocess.js:201:12)
  70. gyp ERR! System Linux 3.4.112-sun7i
  71. gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  72. gyp ERR! cwd /home/pi/HAP-NodeJS/node_modules/curve25519
  73. gyp ERR! node -v v5.2.0
  74. gyp ERR! node-gyp -v v3.0.3
  75. gyp ERR! not ok
  76. npm ERR! Linux 3.4.112-sun7i
  77. npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "curve25519"
  78. npm ERR! node v5.2.0
  79. npm ERR! npm v3.3.12
  80. npm ERR! code ELIFECYCLE

  81. npm ERR! curve25519@1.0.0 install: node-gyp rebuild
  82. npm ERR! Exit status 1
  83. npm ERR!
  84. npm ERR! Failed at the curve25519@1.0.0 install script 'node-gyp rebuild'.
  85. npm ERR! Make sure you have the latest version of node.js and npm installed.
  86. npm ERR! If you do, this is most likely a problem with the curve25519 package,
  87. npm ERR! not with npm itself.
  88. npm ERR! Tell the author that this fails on your system:
  89. npm ERR! node-gyp rebuild
  90. npm ERR! You can get their info via:
  91. npm ERR! npm owner ls curve25519
  92. npm ERR! There is likely additional logging output above.

  93. npm ERR! Please include the following file with any support request:
  94. npm ERR! /home/pi/HAP-NodeJS/npm-debug.log
Copy the Code


Anyone around to help me install the software I need on this banana Pi ?

Thank you.
Maybe with this image:
http://www.armbian.com/banana-pi/

I'm downloading now jessie server, do I have more chances with the desktop version ?

ugg outlet
nike shoes
ugg boots
pandora jewelry official site
replica watches
nike outlet
longchamp outlet online
air max 2018
ralph lauren outlet
longchamp handbags
tory burch outlet store
pandora charms uk
adidas nmd
canada goose jackets
asics shoes
coach outlet
longchamp outlet
cheap ray bans
timberland boots outlet
longchamp handbags
louboutin shoes
ray ban sunglasses
birkenstock shoes
ecco shoes
reebok shoes
oakley sunglasses
ugg boots canada
coach outlet online
pandora charms sale clearance
canada goose outlet
ugg boots
louis vuitton outlet online
pandora jewelry
canada goose jackets
adidas yeezy boost
ralph lauren outlet
michael kors handbags
michael kors canada
pandora charms
coach factorty outlet
pandora charms sale
birkenstock sandals
moncler jackets outlet
adidas nmd
burberry outlet canada
coach outlet
coach outlet store online
jordan shoes
adidas superstar
cheap uggs
yeezy boost
yeezy boost
ugg boots
nike outlet
new balance shoes
kate spade outlet
canada goose uk
pandora charms
mbt
adidas yeezy
canada goose uk
michael kors canada
canada goose outlet
coach factory outlet
jordan retro
birkenstock sandals
coach outlet online
birkenstock shoes
hermes handbags
puma shoes
kate spade
red bottoms shoes
new balance outlet
moncler jackets
coach outlet store
converse shoes
fitflops
michael kors outlet clearance
coach outlet store
canada goose outlet
adidas nmd
coach canada
kate spade handbag
ralph lauren outlet online
coach outlet
gucci outlet
vans store
christian louboutin outlet
coach factorty outlet
ugg boots
pandora outlet
air max 2018
jordan shoes
louis vuitton outlet store
salvatore ferragamo shoes
ralph lauren outlet
michael kors outlet clearance
ugg outlet
adidas shoes
pandora charms
polo outlet
moncler outlet
nike shoes for men
canada goose
canada goose outlet
coach factory outlet
oakley sunglasses
canada goose outlet
ralph lauren uk
longchamp uk
canada goose outlet
moncler outlet
oakley sunglasses
ray ban sunglasses
adidas
cheap mlb jerseys
uggs canada
moncler jackets
180309yueqin

20186.14chenjinbei
flops
cheap jordan shoes
air max 270
kate spade
mont blanc
fitflops
jordans
mishka clothing
jimmy choo shoes
camisetas de futbol replicas
timberland boots
adidas football boots
coach outlet online
supra shoes
malone souliers mules
fussball trikots
supreme
ralph lauren
ferragamo shoes
burberry canada
christian louboutin
asics running shoes
nfl jerseys wholesale
air max 97
red bottoms
fitflop sandals
ralph lauren
puma slides
manchester united jersey
air max 90
true religion jeans
camisetas de futbol baratas
beats by dre
coach outlet online
nike epic react
y-3 shoes
links of london
ralph lauren
nike air max
kate spade handbags
oakley sunglasses
jordan 3
cheap jerseys
nike flip-flops
air jordan 14
light up shoes
nike dunks
new balance
converse shoes
cheap nfl jerseys
adidas yeezy 350
nike blazer
ray ban sunglasses
nike lunarglide
air max
ferragamo outlet
air jordan 11
nike shox
michael kors handbags
adidas jeremy scott
jordans
coach factory outlet
ralph lauren uk
ray ban outlet
jordan 4
air max 95
balance shoes
coach handbags
ralph lauren
miu miu shoes
air max
coach outlet store
michael kors outlet
breitling watches
nike air force
ralph lauren
carnival shoes
vans shoes
adidas slides
christian louboutin shoes
nike tn
balenciaga shoes
kobe 12
running shoes
burberry outlet
air max 2017
air max 1
harden vol 1
air force 1
roshe run
cheap mlb jerseys
adidas nmd
juicy couture outlet
superdry clothing
ferragamo
nike shoes
wholesale nfl jerseys
huarache
michael kors outlet clearance
jordan
cartier jewelry
christian louboutin outlet
air max plus
mac cosmetics
prada handbags
coach outlet store online
cheap nfl jerseys
under armour outlet
dior handbags
belstaff jackets
marc jacobs
pandora charms
michael kors
michael kors outlet online
nike blazer
polo ralph
jordan 5
hermes outlet
coach factory outlet
celine outlet
coach outlet
hermes birkin bag
converse shoes
mulberry handbags
jordan xx9
nike sb
off-white clothing
cheap soccer jerseys
swarovski
tory burch outlet
longchamp
converse uk
nike revolution
nike uk
maillot de foot pas cher
flip-flops
polo outlet
nike shoes for men
ralph lauren
polo outlet
michael kors taschen
tag heuer watches
michael kors outlet store
soccer shirts
air max 2018
air jordan
adidas outlet store
basketball shoes
montblanc fountain pens
barcelona jersey
jordan 8
coach
michael kors handbags
ray ban sunglasses
pandora jewelry canada
coach factory outlet
true religion jeans
prada bags
timberland boots
supreme outlet
baseball jersey
bvlgari rings
adidas stan smith
kate spade outlet online
suicoke sandals
cheap ray bans
oakley sunglasses
mont blanc pens
kate spade
oakley sunglasses
fitflops outlet
cheap nhl jerseys
adidas shoes
adidas flip flops
off-white clothing
coach handbags
coach factory outlet online
kobe 11
nike cortez
nike outlet store
coach factory outlet online
hermes kelly bag
mbt shoes
jordan 6
cheap soccer jerseys
beats by dre
cheap nfl jerseys
longchamp outlet
pandora outlet
vibram five fingers
hermes
air max
nike kyrie 3
supreme uk
adidas yeezy
jordan
nike free run
louboutin
lebron 15
pandora jewelry
coach outlet online
polo ralph lauren
adidas superstar
maglie calcio
snapbacks wholesale
red bottom shoes
prada handbags
hollister outlet
true religion jeans
soccer jersey
cheap mlb jerseys
longchamp outlet
valentino shoes
manolo blahnik shoes
pandora charms
nike roshe
nike factory outlet
balenciaga shoes
ralph lauren uk
giuseppe zanotti shoes
air max
timberland boots
air jordan
burberry outlet online
michael kors handbags
michael kors handbags
jordan pas cher
nike outlet online
alexander mcqueen shoes
nfl jerseys
tory burch bags
scarpe mbt
oakley vault
van cleef & arpels jewelry
air huarache
coach outlet online
yeezy 500 blush
vans shoes
christian louboutin
longchamp handbags
cheap nba jerseys
harden vol 2
bcbg
mlb jerseys
asics
"nfl jerseys
"
yeezy shoes
stuart weitzman shoes
michael kors uk
timberland outlet
ralph lauren outlet
jordan shoes
longchamp
nike free run
hermes uk
ralph lauren outlet
michael kors canada
new balance sandals
michael kors outlet
givenchy handbags
adidas outlet
ralph lauren
jordan 12
undefeated shoes
nike presto
fingerlings monkey
jordan 1
oakley sunglasses
nhl jerseys
air jordan
flip-flops
breguet watches
pandora uk
wedding shoes
fila sneakers
oakley sunglasses
oakley sunglasses wholesale
true religion jeans
nike mercurial vapor
michael kors outlet store
prada outlet online
[bcheap nfl jerseys
ray ban
coach outlet
burberry outlet store
adidas stan smith
michael kors outlet
jordan shoes
dansko shoes
mcm bags
birkenstock
ray ban sunglasses
maglie calcio a poco prezzo
cheap replica watches
ray ban sunglasses
polo outlet
tory burch outlet
pandora jewelry canada
ray ban
stussy hoodie
oakley canada
baseball bats
adidas wings
true religion jeans
columbia sportswear
michael kors outlet
nfl jerseys
prada
ray ban sunglasses cheap
nike shoes
true religion
coach outlet
kate spade
longchamp handbags
pandora jewelry
nike free
kate spade outlet
fitflop sandals
fitflops sale clearance
nike outlet
nike free
kevin durant shoes
jordans
adidas nmd
louboutin
longchamp
adidas uk
birkenstock sandals
gucci slides
coach factory outlet
mizuno running shoes
michael kors handbags
ralph lauren
ralph lauren uk
adidas ultra boost
ralph lauren polo shirts
louboutin
rolex watches
louboutin outlet
michael kors outlet
puma fenty sandals
louboutin
coach outlet online
audemars piguet
tory burch uk
nike uk
bottega veneta
nike outlet
air jordan
michael kors outlet
tod's shoes
nike outlet store online
dolce and gabbana
herve leger dresses
christian louboutin outlet
cheap oakley sunglasses
Fußballtrikots günstig
birkenstock outlet online
jordan shoes
adidas outlet store
maillot de foot
coach outlet online
cheap ray ban sunglasses
coach outlet online
timberland outlet
coach
coach outlet
coach factory online
kate spade
curry shoes
air jordan
supreme paris
swarovski jewelry
tory burch
jordan retro
nike tennis
nike outlet
ray ban
balenciaga sandals
20186.14chenjinbei

You have to log in before you can reply Login | Sign Up

Points Rules