Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Docker run throws Error: EPERM: operation not permitted, mkdir '/app/node_modules'

Đang mở
#118 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ệ
android, docker, node.js
Lĩnh vực
devops, mobile-dev

Hướng nghiên cứu

No file or test is named. Start by reproducing sudo docker run docker-android, then run cd app and npm install in the container while inspecting the image configuration and /app permissions. Done means identifying and documenting a reproducible fix for creating /app/node_modules.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

While running
sudo docker run docker-android
cd app
npm install

throws this following error. By default it supposed to be root user. any idea why permission is still denied?!
Docker os : Ubuntu


errno -1
npm ERR! Error: EPERM: operation not permitted, mkdir '/app/node_modules'
npm ERR!  [OperationalError: EPERM: operation not permitted, mkdir '/app/node_modules'] {
npm ERR!   cause: [Error: EPERM: operation not permitted, mkdir '/app/node_modules'] {
npm ERR!     errno: -1,
npm ERR!     code: 'EPERM',
npm ERR!     syscall: 'mkdir',
npm ERR!     path: '/app/node_modules'
npm ERR!   },
Ngôn ngữ chính
Dockerfile
Star
540
Fork
153
Merge trung bình
7 giờ 6 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của react-native-community/docker-android

Tất cả issue của react-native-community/docker-android

Issue tương tự

Thêm issue về DevOps

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.