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

Plugin v3.6.22 install error #735

Open
SzilagyiR opened this issue Nov 19, 2021 · 3 comments
Open

Plugin v3.6.22 install error #735

SzilagyiR opened this issue Nov 19, 2021 · 3 comments

Comments

@SzilagyiR
Copy link

SzilagyiR commented Nov 19, 2021

Hi!

I use this plugin for years without any problem till now. I reistalled my Homebridge v1.3.6 with NodeJs v16.13 and NPM v8.1.3
I trying to install plugin v3.6.22 but it gives error:

npm_ WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: Versions below v2.0.0 are outdated and should not be used anymore. Please consider upgrading to the latest release, which is v2.2.0 at this time.
npm ERR! code 243
npm ERR! git dep preparation failed
npm ERR! command /usr/bin/node /usr/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/homebridge/.npm --prefer-offline=false --prefer-online=true --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm ERR! code EACCES
npm ERR! npm ERR! syscall symlink
npm ERR! npm ERR! path ../../../home/homebridge/.npm/_cacache/tmp/git-cloneRKFHeQ
npm ERR! npm ERR! dest /usr/lib/node_modules/homebridge-platform-helper
npm ERR! npm ERR! errno -13
npm ERR! npm ERR! Error: EACCES: permission denied, symlink '../../../home/homebridge/.npm/_cacache/tmp/git-cloneRKFHeQ' -> '/usr/lib/node_modules/homebridge-platform-helper'
npm ERR! npm ERR!  [Error: EACCES: permission denied, symlink '../../../home/homebridge/.npm/_cacache/tmp/git-cloneRKFHeQ' -> '/usr/lib/node_modules/homebridge-platform-helper'] {
npm ERR! npm ERR!   errno: -13,
npm ERR! npm ERR!   code: 'EACCES',
npm ERR! npm ERR!   syscall: 'symlink',
npm ERR! npm ERR!   path: '../../../home/homebridge/.npm/_cacache/tmp/git-cloneRKFHeQ',
npm ERR! npm ERR!   dest: '/usr/lib/node_modules/homebridge-platform-helper'
npm ERR! npm ERR! }
npm ERR! npm ERR! 
npm ERR! npm ERR! The operation was rejected by your operating system.
npm ERR! npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! npm ERR! 
npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! npm ERR! permissions of the file and its containing directories, or try running
npm ERR! npm ERR! the command again as root/Administrator.
npm ERR! 
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     /home/homebridge/.npm/_logs/2021-11-19T09_57_51_902Z-debug.log

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/homebridge/.npm/_logs/2021-11-19T09_57_54_673Z-debug.log

Command failed. Please review log for details.

I can install plugin version v3.6.18 without problem.

Can anybody explaine what is the probelem here?

Thanks!

@SzilagyiR SzilagyiR changed the title Plugin install error Plugin v3.6.22 install error Nov 19, 2021
@greatestview
Copy link

Same here with

  • Homebridge Broadlink RM v3.6.22
  • Homebridge v1.3.8
  • Node.js v16.13.0
  • NPM v8.1.4

v3.6.18 works (thank you @SzilagyiR for this workaround!)

@johnnygoodface
Copy link

Same error here:

Homebridge Broadlink RM v3.6.22
Homebridge v1.3.8
Node.js v16.13.1
NPM v8.1.2

@dacmail
Copy link

dacmail commented Aug 23, 2022

Same error, i'm using:

Homebridge v1.5.0
Node v16.17.0
npm v8.15.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants