homebridge-apple-tv
homebridge-apple-tv copied to clipboard
Error preventing install with sodium
Hi,
I'm trying to install your plugin to test and am getting the following error in terminal when I run the install command. It's struggling with sodium 2.0.3 during install.
Could there be a dependency I'm missing? I've tried installing it separately, but this has had no impact on my ability to successfully install your plugin.
In reading your instructions, I am running NodeJS 9.10.1, which I believe should work.
Any help or guidance is appreciated. Thanks!
Static libsodium was not found at /usr/local/lib/node_modules/homebridge-apple-tv/node_modules/sodium/deps/build/lib/libsodium so compiling libsodium from source. libtool is required, but wasn't found on this system make: *** [libsodium] Error 1 /usr/local/lib/node_modules/homebridge-apple-tv/node_modules/sodium/install.js:287 throw new Error(cmdLine + ' exited with code ' + code); ^
Error: make libsodium exited with code 2
at ChildProcess.node install.js --preinstall
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-04-15T21_08_58_421Z-debug.log
Allready solved in #5
I'm not able to follow the solution along on Windows... any assistance?
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node install.js --install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
On Linux you can install it by install some tools first...
apt-get install autoconf automake g++ libtool
Yeah I’m not running my homebridge on Linux though, which is why I specifically asked about Windows... so thanks in advance if you can help on Windows
Interested in this as well since I have my homebridge running on windows
@MrDrache333 I've tried your solution above for libtool, but I'm now stuck on a new error regarding resolvconf:
Processing triggers for libc-bin (2.19-0ubuntu6.14) ... Errors were encountered while processing: resolvconf E: Sub-process /usr/bin/dpkg returned an error code (1)
try
sudo apt-get install build-essential