NPM not installing camera.ui on Raspberry Pi
Describe the bug When I try to install the camera.ui plugin on my Homebridge Raspberry Pi Zero 2, it always gives the following issue: npm ERR! code ERR_SOCKET_TIMEOUT npm ERR! network Socket timeout npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2023-08-23T16_17_39_926Z-debug-0.log
To Reproduce Just try to install camera.ui on a Raspberry Pi!
Expected behavior Camera.ui should install!
Logs pi@homebridge:/var/lib/homebridge $ npm i -g camera.ui@latest --unsafe-perm npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/homebridge/lib/node_modules/camera.ui npm ERR! dest /opt/homebridge/lib/node_modules/.camera.ui-pL2N2CGP npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/homebridge/lib/node_modules/camera.ui' -> '/opt/homebridge/lib/node_modules/.camera.ui-pL2N2CGP'
npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2023-08-23T16_15_32_287Z-debug-0.log pi@homebridge:/var/lib/homebridge $ rm -rf /opt/homebridge/lib/node_modules/camera.ui pi@homebridge:/var/lib/homebridge $ npm config set fetch-retry-mintimeout 2000000 pi@homebridge:/var/lib/homebridge $ npm config set fetch-retry-maxtimeout 12000000000 pi@homebridge:/var/lib/homebridge $ npm i -g camera.ui@latest --unsafe-perm npm ERR! code ERR_SOCKET_TIMEOUT npm ERR! network Socket timeout npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2023-08-23T16_17_39_926Z-debug-0.log
Screenshots Terminal only - so no screenshots.
Environment
- Node.js Version: v18.16.0
- Camera UI Version: N/A
- Operating System: Raspberry Pi Homebridge
- Browser: N/A
🎉 A new version of camera.ui
A new version of camera.ui is currently under active development. An initial alpha/beta release and previews are coming soon. Stay tuned for exciting updates: https://github.com/seydx/camera.ui/issues/448 .
This version will no longer be developed / fixed. The new version contains many novelties and fixes (most important is for HKSV recording).