On Friday, January 13, 2023 at 10:22:00 PM UTC+3 [email protected] wrote: But according to the site, yarn build:prod has to be executed prior to that, isn't it?? Don't get it confused. ( yarn build:prod - Will build the frontend but won't start it ) or ( yarn start:prod - Will build the frontend and will start it ) comes after configuring [dspace-angular]/config/config.prod.yml or setting the building environment.
On Thu, Jan 12, 2023 at 6:53 PM Mohammad S. AlMutairi <[email protected]> wrote: You need to follow the frontend installation procedure you see here https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-FrontendInstallation Specially step 5. Configuration. 1. Start a command prompt 2. copy [dspace-angular]/config/config.example.yml [dspace-angular]/config/config.prod.yml 3. edit [dspace-angular]/config/config.prod.yml and modify to fit your environment 4. Test & Build the Frontend by following steps in the link above. Hope it help & Good luck On Thursday, January 12, 2023 at 1:52:07 PM UTC+3 [email protected] wrote: Uploaded the config.prod.yml file here. Same error occurs. *From,* *Arunendra MB.* On Wed, Jan 4, 2023 at 6:25 PM Mohammad S. AlMutairi <[email protected]> wrote: You welcome & Hello, You need to upload [dspace-angular]/config/config.prod.yml here in the group.. I think the configuration in that file is not right. On Wednesday, January 4, 2023 at 3:01:48 PM UTC+3 [email protected] wrote: Thanks. Overcame the issue. Now on yarn run build:prod, I get dspace-angular/src/environments/environment.production.ts:13:3 - error TS2741: Property 'useProxies' is missing in type '{ ssl: false; host: string; port: number; nameSpace: string; }' ts file attached. On Tuesday, January 3, 2023 at 1:58:52 PM UTC+5:30 [email protected] wrote: On Tuesday, December 27, 2022 at 3:24:47 PM UTC+3 [email protected] wrote: I faced 2 errors: While executing yarn install, I got error @typescript-eslint/[email protected]: The engine "node" is incompatible with this module. Expected version "^12.22.0 || ^14.17.0 || >=16.0.0". Got "14.15.1" I ignored the above error and continued: yarn run build:prod yarn run v1.22.19 $ yarn run build:ssr $ ng build --configuration production && ng run dspace-angular:server:production error Command failed with exit code 1 Are the two related? What is the way out? How did you install yarn?. Start over and try this: Nodejs Installation 1) Download https://nodejs.org/dist/v16.14.0/node-v16.14.0-x64.msi & install it. 2) node -v & npm-v 3) npm install -g yarn 4) npm install -g pm2 5) yarn -v & pm2 -v -- 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/405822d8-d9a0-421a-ba16-31618a430667n%40googlegroups.com <https://groups.google.com/d/msgid/dspace-tech/405822d8-d9a0-421a-ba16-31618a430667n%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/2c0f0fd3-a515-4626-ad12-ac6d1d5fa692n%40googlegroups.com <https://groups.google.com/d/msgid/dspace-tech/2c0f0fd3-a515-4626-ad12-ac6d1d5fa692n%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/5dbc9ab4-ab7f-4b83-ad93-5e4dca825386n%40googlegroups.com.
