Build failed: The command '/bin/sh -c npm install' returned a non-zero code: 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.

1 Like

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?

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