We are using latest release of Angular Universal 9 with ivy (next-gen compatibility compiler) but we have an unexpected problem when we tried to build and deploy the app.
We launch Ivy compilation in
postinstall in sync mode script in order to avoid out of memory error, but the build doesn’t works…
How to deploy our application quickly without memory error ?
We used “L” plan with 6Gb of Ram, it’s 3x more than our older PaaS system.
I provide most information about it, below :
yarn install yarn run build:ssr:dev
build:ssr:dev launch webpack compilation :
ng run website:build:dev && ng run website:server:dev
The website will be compiled to the
dist directory but this is currently not working :
Build output error log
$ ng run website:build:dev && ng run website:server:dev Generating ES5 bundles for differential loading... W: An unhandled exception occurred: Call retries were exceeded W: See "/tmp/ng-1pShkt/angular-errors.log" for further details. W: error Command failed with exit code 127. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
/tmp/ng-1pShkt/angular-errors.log is not available, so I can’t debug log.
How to see Angular build error log ?
How to build Angular application ? (Your documentation is only for AngularJS and it’s an old version, completely differente of Angular “next gen”).
Thanks for your help