Hi Jaya, I googled that error, and it seems that a "exit code 137" from yarn means that you ran out of memory (and/or swap space). See for example: https://jcutrer.com/javascript/yarn-build-exit-code-137
I think you are going to need at least 2GB of memory to build the app. If somehow that doesn't work, you could try 3 or 4, but I think 2GB should be enough. You should also verify you are running Node v12 or v14 (which is what we recommend for the UI). Older versions of Node (like v10 or below) might work, but they don't do a good job of managing memory...so you are much more likely to hit memory issues. Tim ________________________________ From: dspace-tech@googlegroups.com <dspace-tech@googlegroups.com> on behalf of Mariyapillai Jayakananthan <mjey...@gmail.com> Sent: Thursday, August 12, 2021 11:56 AM To: euler <esne...@seafdec.org.ph> Cc: DSpace Technical Support <dspace-tech@googlegroups.com> Subject: Re: [dspace-tech] Re: Dsapce 7 error on yarn start Dear Euler, I have done the setting and run again the YARN START. Still the following error occurred. root@debian:/opt/dspace-7-angular# yarn start yarn run v1.22.5 $ yarn run start:prod $ yarn run build:prod && yarn run serve:ssr $ yarn run config:prod $ ts-node --project ./tsconfig.ts-node.json scripts/set-env.ts --prod Building production environment Angular environment.ts file generated correctly at ./src/environments/environment.ts $ yarn run build:ssr $ yarn run build:client-and-server-bundles && yarn run compile:server $ ng build --prod && ng run dspace-angular:server:production --bundleDependencies true 69% building 658/660 modules 2 active ...der.js??ref--7-0!/opt/dspace-7-angular/node_modules/rxjs/_esm2015/internal/symbol/iterator.jsKilled error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Please help me sort out the errors. Thanks Jaya M. Jayakananthan (BSc, MSc) Systems Analyst cum Programmer Eastern University, Sri Lanka E-mail: jeyakananth...@esn.ac.lk<mailto:jeyakananth...@esn.ac.lk> , mjey...@gmail.com<mailto:mjey...@gmail.com> Tel: +94 65 2240213 Mob: +94 773457556 [https://docs.google.com/uc?export=download&id=0Bwntp7l_G3vXaWVNQXY0ckVqeW8&revid=0Bwntp7l_G3vXMDZPZkx3WmVGanhzN09EbC9oYW4zU3pZL1VBPQ] On Thu, 12 Aug 2021 at 09:14, euler <esne...@seafdec.org.ph<mailto:esne...@seafdec.org.ph>> wrote: Hi Jaya, Did you create a file named environment.prod.ts in your [dspace-angular]/src/environments/ directory? Please see step number 4 in the Frontend installation portion. Create a Production Configuration file at [dspace-angular]/src/environments/environment.prod.ts. You may wish to use the environment.template.ts as a starting point. This environment.prod.ts file can be used to override any of the default configurations specified in the environment.common.ts (in that same directory). At a minimum this file MUST include the "ui" and "rest" sections similar to the following (keep in mind, you only need to include settings that you need to modify) Regards, euler On Thursday, August 12, 2021 at 11:36:26 AM UTC+8 mje...@gmail.com<mailto:mje...@gmail.com> wrote: Dear All, I am struggling while I am install Dspace 7. When I tried to install front-end faced following error. yarn run v1.22.5 $ yarn run build:prod && yarn run serve:ssr $ yarn run config:prod $ ts-node --project ./tsconfig.ts-node.json scripts/set-env.ts --prod Building production environment No specific environment file found for --prod Angular environment.ts file generated correctly at ./src/environments/environment.ts $ yarn run build:ssr $ yarn run build:client-and-server-bundles && yarn run compile:server $ ng build --prod && ng run dspace-angular:server:production --bundleDependencies true 69% building 650/655 modules 5 active ...?ref--7-0!/opt/dspace-7/dspace-7-angular/node_modules/@ng-dynamic-forms/core/fesm2015/core.jsKilled error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 137. Please guide to resolve.. Many thanks in advance. Regards Jaya -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/62837030-7d6d-4211-86dd-945ed3c08e11n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/62837030-7d6d-4211-86dd-945ed3c08e11n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/CAL7_yd6CTG6WvBZX8Tzg9%2BQ2nG3-CeY2_LJM%3DOQX16AC98WzBw%40mail.gmail.com<https://groups.google.com/d/msgid/dspace-tech/CAL7_yd6CTG6WvBZX8Tzg9%2BQ2nG3-CeY2_LJM%3DOQX16AC98WzBw%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/DM5PR2201MB114820D759FF6377C4B23972EDF99%40DM5PR2201MB1148.namprd22.prod.outlook.com.