question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Angular getting started devfile start / build commands are failing with exit code 137

See original GitHub issue

Describe the bug

Angular getting started devfile start / build commands are failing with exit code 137

Che version

CRW 2.8 / samples from community devfiles 7.32.0

Steps to reproduce

  1. go to http://workspaces.openshift.com/#get-started
  2. start a new workspace based on the Node.js / Angular devfile
  3. run yarn install command
  4. run build command
  5. ERROR: comand fails with error Command failed with exit code 137.

Expected behavior

build and start commands are not failing

Runtime

  • workspaces.openshift.com

Screenshots

image

Eclipse Che Logs

yarn run v1.17.3
$ ng build --prod  --base-href ./ && cp CNAME dist/CNAME
Compiling @angular/platform-browser-dynamic : es2015 as esm2015
Compiling @angular/common/http : es2015 as esm2015
Compiling @angular/router : es2015 as esm2015
Compiling @angular/forms : es2015 as esm2015
Killed
Warning: Worker #1 exited unexpectedly (code: null | signal: SIGKILL).
  Current task: {entryPoint: @angular/platform-browser-dynamic, formatProperty: es2015, processDts: Yes}
  Current phase: compiling
error Command failed with exit code 137.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
ericwillcommented, Jun 30, 2021

@ericwill well, it can but this means that the angular on http://workspaces.openshift.com/#get-started is going to be broken for 7+ days

Alright, instead of respinning I will backport the fix to the published devfile registry only

0reactions
ibuziukcommented, Jul 1, 2021

thanks, folks verified on workspaces.openshift.com. Closing

Read more comments on GitHub >

github_iconTop Results From Across the Web

error Command failed with exit code 137 · Issue #1177 - GitHub
Here when install it, it shows: root@mine:/var/www/node/stackedit# yarn install yarn install v1.3.2 [1/5] Validating package.json.
Read more >
How to solve npm run build 137 error? Already have set 10gb
It has --prod option. If ran without --prod it builds fine. If built with --prod it goes into 137 ENDLIFECYCLE error. Killed npm...
Read more >
NPM exit status 137 when building a Docker image
When we have NPM exit status 137 when building a Docker image, it usually means that Docker is going out of RAM memory....
Read more >
Build.command failed, exit code 137 with seemingly no error ...
The build keeps stopping with the message Killed and then “build.command” failed but no other error messages that indicate what's happening.
Read more >
Fixing error code 137 when building a Docker image
Failed at the client-app@0.0.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found