ERROR: Service 'server' failed to build: The command '/bin/sh -c npm run build' returned a non-zero code: 137

#1

Step 6/17 : RUN npm run build

—> Running in 864c75e1a9ca

> redash-client@7.0.0 build /frontend

> npm run clean && NODE_ENV=production node --max-old-space-size=4096 node_modules/.bin/webpack

> redash-client@7.0.0 clean /frontend

> rm -rf ./client/dist/

Killed

npm ERR! code ELIFECYCLE

npm ERR! errno 137

npm ERR! redash-client@7.0.0 build: npm run clean && NODE_ENV=production node --max-old-space-size=4096 node_modules/.bin/webpack

npm ERR! Exit status 137

npm ERR!

npm ERR! Failed at the redash-client@7.0.0 build script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

npm ERR! /root/.npm/_logs/2019-04-11T15_14_22_287Z-debug.log

ERROR: Service ‘server’ failed to build: The command ‘/bin/sh -c npm run build’ returned a non-zero code: 137

Many Thanks!

0 Likes

#2

Could you clarify what the issue is here?

0 Likes