node-red-contrib-huemagic -- Error: EPERM: operation not permitted, symlink '../sshpk/bin/sshpk-conv' -> '/data/node_modules/.bin/sshpk-conv'
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- docker, node.js
- Lĩnh vực
- devops, infrastructure
Hướng nghiên cứu
Bắt đầu với lệnh Docker và đường dẫn /data được mount được mô tả trong issue, sau đó tái hiện việc cài đặt node-red-contrib-huemagic. Điều tra việc tạo symlink cho /data/node_modules/.bin/sshpk-conv gây ra EPERM và so sánh với các quyền đã được báo cáo cùng các thiết lập npm. Được xem là hoàn thành khi xác định được nguyên nhân có thể tái hiện từ phía project và ghi lại hoặc kiểm thử bản sửa lỗi; issue không nêu tên file hay test nào trong repository.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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 https://github.com/request/request/issues/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
`
- Ngôn ngữ chính
- Shell
- Star
- 540
- Fork
- 434
- Merge trung bình
- 24 phút
- Pull request đã merge (30 ngày)
- 5
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của node-red/node-red-docker
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
node-red/node-red-docker#536 ·
-
node-red/node-red-docker#522 · 1 người được giao ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
node-red/node-red-docker#513 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
node-red/node-red-docker#510 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
node-red/node-red-docker#493 · 13 bình luận ·
Tất cả issue của node-red/node-red-docker
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
astral-sh/python-build-standalone#1293 ·
-
package-update
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
oSoWoSo/vOid_Community_repOsitory#185 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
carbon-language/carbon-lang#7821 ·