Docker Community Forums

Share and learn in the Docker community.

Build failed: The command '/bin/sh -c npm install' returned a non-zero code: 1


(Mathiaslm) #1

Build failed: The command ‘/bin/sh -c npm install’ returned a non-zero code: 1

From what I can gather, this might be related to memory-usage, but I have no idea. The build works just fine on my own machine.


(Danny Garcia) #2

I’m witnessing the same problem on aws elastic beanstalk but no issues on my local machine. Still haven’t figured out what the issue is. Any luck?


(Mathiaslm) #3

No luck. It magically started working again after a few hours.