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

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

Open
Surfer2010 opened this issue Mar 4, 2021 · 0 comments

Comments

@Surfer2010
Copy link

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
`

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

1 participant