plugin: [Bug]: Cannot update from 1.0.8 to 2.0.0 (Error 505)

What happened?

I can´t update to 2.0.0 because of Error 505 and Permission Denied… Please see the log below…

`npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: ‘homebridge-lib@5.1.15’, npm WARN EBADENGINE required: { homebridge: ‘^1.3.5’, node: ‘^14.18.1’ }, npm WARN EBADENGINE current: { node: ‘v16.15.0’, npm: ‘8.5.5’ } npm WARN EBADENGINE } npm ERR! code 1 npm ERR! path /homebridge/node_modules/homebridge-eufy-security/node_modules/ffmpeg-for-homebridge npm ERR! command failed npm ERR! command sh -c node install.js npm ERR! Downloading ffmpeg from https://github.com/homebridge/ffmpeg-for-homebridge/releases/latest/download/ffmpeg-debian-armv7l.tar.gz npm ERR! node:events:505 npm ERR! throw er; // Unhandled ‘error’ event npm ERR! ^ npm ERR! npm ERR! Error: EACCES: permission denied, open ‘/root/.npm/_ffmpeg_for_homebridge/.download’ npm ERR! Emitted ‘error’ event on WriteStream instance at: npm ERR! at emitErrorNT (node:internal/streams/destroy:157:8) npm ERR! at emitErrorCloseNT (node:internal/streams/destroy:122:3) npm ERR! at processTicksAndRejections (node:internal/process/task_queues:83:21) { npm ERR! errno: -13, npm ERR! code: ‘EACCES’, npm ERR! syscall: ‘open’, npm ERR! path: ‘/root/.npm/_ffmpeg_for_homebridge/.download’ npm ERR! }

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-05-28T16_03_29_008Z-debug-0.log `

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 32 (14 by maintainers)

Most upvoted comments

Yes via ssh.

Your link sounds as a big help. I’ll try this later.