[dspace-tech] Re: Multi-Language configuration in Frontend

2021-12-31 Thread Robert Jäger
I was able to resolve the build issue by adding a workaround in packages.json: "build:client-and-server-bundles": "node --max_old_space_size=4096 node_modules/@angular/cli/bin/ng build --prod && ng run dspace-angular:server:production --bundleDependencies true", (more convenient solutions glad

[dspace-tech] Re: Multi-Language configuration in Frontend

2021-12-31 Thread Robert Jäger
I was able to resolve the build issue by adding a workaround in packages.json: "build:client-and-server-bundles": "node --max_old_space_size=4096 node_modules/@angular/cli/bin/ng build --prod && ng run dspace-angular:server:production --bundleDependencies true", (more convenient solutions gla

[dspace-tech] Re: Multi-Language configuration in Frontend

2021-12-31 Thread Mohammad S. AlMutairi
Hi, I think that's not a fix to the root cause of both issues you faced ( I've seen this temporarily tweak here https://bit.ly/3eGhZYZ ). You shouldn't got all the issues you faced at all if all you have done was the changes you have made into the German language file and the environment.*.ts

Re: [dspace-tech] Re: Multi-Language configuration in Frontend

2021-12-31 Thread Mohammad S. AlMutairi
Hi, Glad you nailed it. I did some testing here to see the minimum memory dspace backend and frontend can be built with. I started with 1 vCPU and 512MB RAM. A freshly installed Ubuntu 20.04 VM on a Hyper-V Backend failed to compile till the RAM for this VM increased to 1.5GB RAM ( Tomcat was stop

Re: [dspace-tech] Re: Multi-Language configuration in Frontend

2021-12-31 Thread Robert Jäger
Sorry, I forgot to submit the conclusion in order to close this topic for anyone else facing this issue: the de.json5 was fixed, but the fix happened only after the official release. There was a simple mistake breaking the file: https://github.com/DSpace/dspace-angular/commit/32ae686e36030f4ca9a