ryanj / origin-s2i-nodejs

A basic Source to Image builder for OpenShift Origin, with runtime binaries from Nodejs.org
https://hub.docker.com/r/ryanj/centos7-s2i-nodejs/
Apache License 2.0
20 stars 30 forks source link

BLOCKing bug: Image can't build anymore #16

Closed rafabene closed 7 years ago

rafabene commented 8 years ago

After #15 now everyone is facing the following issue:

npm ERR! Error: EACCES: permission denied, mkdir '/opt/app-root/src/node_modules/.staging' npm ERR! at Error (native) npm ERR! { Error: EACCES: permission denied, mkdir '/opt/app-root/src/node_modules/.staging' npm ERR! at Error (native) npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'mkdir', npm ERR! path: '/opt/app-root/src/node_modules/.staging' } npm ERR! npm ERR! Please try running this command again as root/Administrator

Workaround: User has to remove the node_modules/ folder.

ryanj commented 8 years ago

crap, will take a look - thx

ryanj commented 8 years ago

I reverted the change and pushed some new images. please retest