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: [email protected] , [email protected]

Tel:  +94 65 2240213
Mob: +94 773457556



On Thu, 12 Aug 2021 at 09:14, euler <[email protected]> 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 [email protected] 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 [email protected].
> 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 [email protected].
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.

Reply via email to