razvanstanga / node-red-contrib-onvif

A Node-RED node that interacts with ip cameras using the ONVIF protocol
Apache License 2.0
3 stars 6 forks source link

Unable to install node - via terminal or pallet #4

Closed Gun-neR closed 3 years ago

Gun-neR commented 3 years ago

I get this error... but am not clear on the reasoning. I already have libvips installed, as I used this method - https://snapcraft.io/install/libvips/raspbian#install

pi@raspberrypi3:~ $ npm install node-red-contrib-onvif

> sharp@0.28.3 install /home/pi/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

sharp: Installation error: Use with glibc 2.24 requires manual installation of libvips >= 8.10.6
sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
npm WARN node-red-contrib-mp4frag@0.1.0-beta.2 requires a peer of socket.io@2 || 3 || 4 but none is installed. You must install peer dependencies yourself.
npm WARN node-red-contrib-ui-mp4frag@0.1.0-beta.2 requires a peer of node-red-dashboard@^2.26.1 but none is installed. You must install peer dependencies yourself.
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sharp@0.28.3 install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sharp@0.28.3 install 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!     /home/pi/.npm/_logs/2021-07-28T03_38_48_073Z-debug.log
pi@raspberrypi3:~ $
razvanstanga commented 3 years ago

I can't help you with this. Make sure you have the latest rPi OS and follow the instructions provided by sharp.