Problem with "yarn build"

Dear friends,

I’m in the process of building a OpenVAS host from scratch and stuck at the following command at the building block ( Building 22.4 from Source - Greenbone Community Documentation )

The host is a fresh installed Debian ( Linux HOSTNAME 5.10.0-20-686-pae #1 SMP Debian 5.10.158-2 (2022-12-13) i686 GNU/Linux ) memory 8GB / 80GB free

I’m stuck at the line “yarn build” ( piece of GSA sources )

yarn build 
yarn run v1.22.19
$ INLINE_RUNTIME_CHUNK=false react-scripts build && rm -f build/*.js*
/bin/sh: 1: react-scripts: not found
error Command failed with exit code 127.
info Visit for documentation about this command.

What i’m doing wrong?

On different location searched without the right answer …

Greetings and thanks in advance!

You need to install the dependencies first by running just yarn. See

Dear Bricks,

Thanks for the quick reply, the dependencies as described in the building block done, or are there other that are not noticed?

Thanks in advance!

yarn is a package manager for JavaScript/TypeScript. You need to install all the required JavaScript dependencies via yarn for GSA to actually build the so-called JavaScript application bundle. This bundle gets copied to the HTTP web server location and will be executed in your browser.

Dear bricks,

Solved, the yarn enverioment was not healty ( it is a fresh system … ) the solution is “yarn update” to force a check and upgrade yarn itself.

Thanks for pointing out in the right direction and learned another package manager.