evandcoleman / node-appletv

A node module for interacting with an Apple TV (4th-generation or later) over the Media Remote Protocol.
https://evandcoleman.github.io/node-appletv/
MIT License
180 stars 48 forks source link

Cannot install on macOS High Sierra with homebrew node v10.12.0 #13

Closed Bluebie closed 4 years ago

Bluebie commented 6 years ago

I've been trying to install it to support homebrew-theater-mode with no luck. I have an existing well functioning homebridge setup running on node v10.12.0

Attempts to npm -g install homebridge-theater-mode are failing with:

Error: make nodesodium exited with code null
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/node-appletv/node_modules/sodium/install.js:287:19)

Can this library just be switched on to tweetnacl instead of sodium? It seems like something a few people have issues installing. TweetNaCl-js is a pure javascript implementation of NaCl, so it's a lot more portable, you maybe able to eliminate all compilation dependancy. It's a little slower, but i'm guessing for this application that's not important?

VannaDii commented 5 years ago

I think this is resolved by PR https://github.com/edc1591/node-appletv/pull/20

evandcoleman commented 4 years ago

Please try with 1.0.11.