'Core' entry point creation error

Hello,
I am trying to install SuiteCRM 8, following the official ‘Developer Install Guide’.
The machine is a ubuntu 20.04 with php 8.0 (see screenshot of ng version command).

I tried porting the node.js version from 16 to 14 but nothing changed, after running the

yarn run build:core

command.
The installation crashes as you can see from the screenshot