Trouble installing the plugin? - beele/homebridge-unifi-protect-camera-motion GitHub Wiki
If you have trouble installing the plugin:
Make sure you have the required dependencies for node gyp to perform a fallback build:
Raspbian/Ubuntu/Debian:
sudo apt-get update
sudo apt-get install build-essential
Mac OS:
xcode-select --install
Windows:
npm install --global --production windows-build-tools --vs2015
After installing these on your respective operating system try installing the plugin again.
If you are still having issues? Open a ticket an attach the full install log along with your system information (os/node version/cpu-architecture/...)