Skip to content

node-red-contrib-huemagic -- Error: EPERM: operation not permitted, symlink '../sshpk/bin/sshpk-conv' -> '/data/node_modules/.bin/sshpk-conv' #222

Open
@Surfer2010

Description

@Surfer2010

Error on a docker installed NodeRed
sudo docker run -d --network dockernet --name=nodered -p 1880:1880 -v /home/pi/USBpiData/NodeRed:/data nodered/node-red

checked the permissions are to 755 and uid=1000 gid =1000 (recursive)

also tried this as a fix inside the container:
`INSTALL GLOBAL NPM PACKAGES
npm config set unsafe-perm true

CLEAN CACHE
npm cache clean

BYPASS SYMLINK ISSUES
npm install --no-bin-links`

did not help, here the (still same) error message :-) hope to get help THANKS

`4 Mar 17:03:28 - [warn] Die Installation des Moduls node-red-contrib-huemagic ist fehlgeschlagen:
4 Mar 17:03:28 - [warn] ------------------------------------------
4 Mar 17:03:28 - [warn] npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm ERR! code EPERM
npm ERR! syscall symlink
npm ERR! path ../sshpk/bin/sshpk-conv
npm ERR! dest /data/node_modules/.bin/sshpk-conv
npm ERR! errno -1
npm ERR! Error: EPERM: operation not permitted, symlink '../sshpk/bin/sshpk-conv' -> '/data/node_modules/.bin/sshpk-conv'
npm ERR! { [Error: EPERM: operation not permitted, symlink '../sshpk/bin/sshpk-conv' -> '/data/node_modules/.bin/sshpk-conv']
npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, symlink '../sshpk/bin/sshpk-conv' -> '/data/node_modules/.bin/sshpk-conv'
npm ERR! errno: -1,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'symlink',
npm ERR! path: '../sshpk/bin/sshpk-conv',
npm ERR! dest: '/data/node_modules/.bin/sshpk-conv' },
npm ERR! stack:
npm ERR! 'Error: EPERM: operation not permitted, symlink '../sshpk/bin/sshpk-conv' -> '/data/node_modules/.bin/sshpk-conv'',
npm ERR! errno: -1,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'symlink',
npm ERR! path: '../sshpk/bin/sshpk-conv',
npm ERR! dest: '/data/node_modules/.bin/sshpk-conv',
npm ERR! parent: 'data' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR! /data/.npm/_logs/2021-03-04T17_03_24_557Z-debug.log

4 Mar 17:03:28 - [warn] ------------------------------------------
4 Mar 17:03:28 - [error] Error: Installation fehlgeschlagen
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions