Angular getting started devfile start / build commands are failing with exit code 137
See original GitHub issueDescribe 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
- go to http://workspaces.openshift.com/#get-started
- start a new workspace based on the Node.js / Angular devfile
- run yarn install command
- run build command
- 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
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:
- Created 2 years ago
- Comments:14 (14 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Alright, instead of respinning I will backport the fix to the published devfile registry only
thanks, folks verified on workspaces.openshift.com. Closing