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

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

Open
moorthi07 opened this issue Jan 29, 2021 · 0 comments

Comments

@moorthi07
Copy link

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!   },
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