docker-android icon indicating copy to clipboard operation
docker-android copied to clipboard

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

Open moorthi07 opened this issue 5 years ago • 0 comments

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

moorthi07 avatar Jan 29 '21 21:01 moorthi07