Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPM not installing camera.ui on Raspberry Pi #416

Open
duckida opened this issue Aug 23, 2023 · 1 comment
Open

NPM not installing camera.ui on Raspberry Pi #416

duckida opened this issue Aug 23, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@duckida
Copy link

duckida commented Aug 23, 2023

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
@mkz212
Copy link
Contributor

mkz212 commented Jul 29, 2024

🎉 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: #448 .

This version will no longer be developed / fixed. The new version contains many novelties and fixes (most important is for HKSV recording).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants