When building my front-end application am seeing the following in the logs:
Creating an optimized production build...
Command still running. No output available. Waiting for next line...
Command still running. No output available. Waiting for next line...
Command still running. No output available. Waiting for next line...
Command still running. No output available. Waiting for next line...
The build failed because the process exited too early. This probably means the system ran out of memory or someone called kill -9 on the process.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: /usr/local/bin/node
Arguments: /opt/yarn-v1.22.19/lib/cli.js build:dev1
Directory: /app/projects/virtual-keypad
info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
process "/bin/sh -c yarn vk build:dev1" did not complete successfully: exit code: 1
> importing cache manifest from 314513791066.dkr.ecr.us-east-2.amazonaws.com/z6407b453:latest:
> [builder 15/15] RUN yarn vk build:dev1:
error Command failed.
Exit code: 1
Command: /usr/local/bin/node
Dockerfile.vk:30
| RUN yarn vk relay
| >>> RUN yarn vk build:dev1
|
ERROR: failed to solve: process "/bin/sh -c yarn vk build:dev1" did not complete successfully: exit code: 1
❌ Container image 314513791066.dkr.ecr.us-east-2.amazonaws.com/z6407b453:7675463526632223027-52655704ab50282e8423ec5636f8645d6dc65a3e failed to be build: Cannot build Application "z6407b453" due to an error with docker: ExitStatusError { exit_status: ExitStatus(unix_wait_status(256)) }
đź’Ł Deployment failed
Qovery Engine has terminated the deployment