'Kibana yarn build failed

I am working on Kibana version 7.16.2. I wanted to build Kibana distributable so I executed yarn build --skip-os-packages . But it failed with exist code with following error. Can anyone help me resolve this error?

Build error image ss

Also I wanted to know that whether the build folders that are required are completed because before error message I can see an info log saying "All bazel production build are completed".



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source