Docker run throws Error: EPERM: operation not permitted, mkdir '/app/node_modules'
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- android, docker, node.js
- Domain
- devops, mobile-dev
Research direction
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.
Written by the indexing model from the issue text.
Description
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! },
- Dominant language
- Dockerfile
- Stars
- 541
- Forks
- 152
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from react-native-community/docker-android
-
Difficulty 1/5 1-3 hours Newbie friendliness 70/100
react-native-community/docker-android#250 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
react-native-community/docker-android#219 · 5 comments · 3 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
react-native-community/docker-android#215 · 5 comments · 3 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
react-native-community/docker-android#193 · 8 comments ·
All issues in react-native-community/docker-android
Similar issues
-
kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/prow#953 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Link Checker Report Openautomated issue report
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
automated-analysis bug memory-safety
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
area/entangle bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100