Error preventing install with sodium
See original GitHub issueHi,
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.<anonymous> (/usr/local/lib/node_modules/homebridge-apple-tv/node_modules/sodium/install.js:287:19)
at ChildProcess.emit (events.js:180:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sodium@2.0.3 preinstall: node install.js --preinstall
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sodium@2.0.3 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
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:7
Top GitHub Comments
On Linux you can install it by install some tools first…
apt-get install autoconf automake g++ libtool
try
sudo apt-get install build-essential