-
-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem with npm rebuild #3
Comments
i know im probably making a noob error but id love some help lol |
Did you run |
ha nope ill try that now |
pi@raspberrypi ~/HAP-NodeJS $ sudo apt-get install libavahi-compat-libdnssd-dev
make: Entering directory '/home/pi/HAP-NodeJS/node_modules/curve25519/build'
make: Entering directory '/home/pi/HAP-NodeJS/node_modules/srp/node_modules/bignum/build' module.js:340 |
thats the response i receive :) again im sure this is something im doing lol but thanks for trying to help :) |
think i got it and this is the response i get pi@raspberrypi ~/HAP-NodeJS $ node Core.js (this was after i ran your suggestion btw) |
hello i'll have some error : after npm rebuild :
sh: 1: node-gyp: not found npm ERR! mdns@2.2.0 install: but i'll run before : and after node Core.js how resolve it ? |
run let me know if that worked? |
im now stuck until i get apple ios developer program lol |
this error now :
make: entrant dans le répertoire « /home/cm1204/HAP-NodeJS/node_modules/curve25519/build » npm ERR! curve25519@1.0.0 install: and afetr node Core.js : module.js:340 |
are you in the hap-nodejs directory? |
yes |
i edited the steps above just after posting them, you saw those right? if you did then im no expert haha i have no clue what the commands actually mean so you best bet is to pop back over to siriproxy issue #542 (i think) and direct them here to help you :) |
ok now it's good also i think : i've this message *** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi. is it good ? |
Yes, I think. I get that warning stuff, too. |
and your iPhone see the accesories ? |
Yes. You installed the HomeKitDemo app on the phone? Von: quiquoi <notifications@github.commailto:notifications@github.com> and your iPhone see the accesories ? — |
yes HomekitDemo is in my phone ... but nothing ask me to pair with accesoiries ! |
Can you try to run this on your iPhone and see if bonjour browser can discover the hap service on your computer? |
i try iNet and in : it's not good no ? |
@quiquoi That's strange, the service publish should be finished when you saw those warnings. |
After a reboot of the computer, everything is OK! thank you I ordered my electric shutters, is it possible to include in HAP-NodeJS? thank you |
any idea how to participate / using this bridge without an iOS developer account i.e. installing an own app? |
I do not know if this is possible! |
@schlickspringer There is no way to use the devices from the bridge without installing the custom app. Sent from my iPhone
|
@quiquoi Glad it finally works ^^ |
hey guys, im trying to build this on raspberry pi and i run into problems im hoping you guys can help with:
pi@raspberrypi ~/HAP-NodeJS $ npm rebuild
make: Entering directory '/home/pi/HAP-NodeJS/node_modules/curve25519/build'
CXX(target) Release/obj.target/curve/node_curve.o
SOLINK_MODULE(target) Release/obj.target/curve.node
SOLINK_MODULE(target) Release/obj.target/curve.node: Finished
COPY Release/curve.node
make: Leaving directory '/home/pi/HAP-NodeJS/node_modules/curve25519/build'
make: Entering directory '/home/pi/HAP-NodeJS/node_modules/srp/node_modules/bignum/build'
make: Nothing to be done for 'all'.
make: Leaving directory '/home/pi/HAP-NodeJS/node_modules/srp/node_modules/bignum/build'
curve25519@1.0.0 /home/pi/HAP-NodeJS/node_modules/curve25519
js-nacl@0.6.0 /home/pi/HAP-NodeJS/node_modules/js-nacl
node-hkdf@0.0.1 /home/pi/HAP-NodeJS/node_modules/node-hkdf
vows@0.5.13 /home/pi/HAP-NodeJS/node_modules/node-hkdf/node_modules/vows
eyes@0.1.8 /home/pi/HAP-NodeJS/node_modules/node-hkdf/node_modules/vows/node_modules/eyes
node-persist@0.0.2 /home/pi/HAP-NodeJS/node_modules/node-persist
mkdirp@0.3.5 /home/pi/HAP-NodeJS/node_modules/node-persist/node_modules/mkdirp
underscore@1.4.4 /home/pi/HAP-NodeJS/node_modules/node-persist/node_modules/underscore
sugar@1.3.9 /home/pi/HAP-NodeJS/node_modules/node-persist/node_modules/sugar
srp@0.2.0 /home/pi/HAP-NodeJS/node_modules/srp
bignum@0.6.1 /home/pi/HAP-NodeJS/node_modules/srp/node_modules/bignum
pi@raspberrypi ~/HAP-NodeJS $ node Core.js
module.js:340
throw err;
^
Error: Cannot find module 'mdns'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/pi/HAP-NodeJS/Advertiser.js:1:74)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
pi@raspberrypi ~/HAP-NodeJS $ npm install mdns
npm WARN package.json curve25519@1.0.0 No repository field.
/
make: Entering directory '/home/pi/HAP-NodeJS/node_modules/mdns/build'
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o
In file included from ../src/dns_sd.cpp:1:0:
../src/mdns.hpp:31:20: fatal error: dns_sd.h: No such file or directory
compilation terminated.
dns_sd_bindings.target.mk:128: recipe for target 'Release/obj.target/dns_sd_bindings/src/dns_sd.o' failed
make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 1
make: Leaving directory '/home/pi/HAP-NodeJS/node_modules/mdns/build'
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Linux 3.12.28+
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/HAP-NodeJS/node_modules/mdns
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm ERR! mdns@2.2.1 install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mdns@2.2.1 install script.
npm ERR! This is most likely a problem with the mdns package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls mdns
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.12.28+
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "mdns"
npm ERR! cwd /home/pi/HAP-NodeJS
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
The text was updated successfully, but these errors were encountered: