I am upgrading from gvm 11 to gvm20.08 .While building gsa - 20.0.8 ,I get the following error .
[ 5%] Build gsa install files
yarn run v1.22.5
$ react-scripts build
/bin/sh: 1: react-scripts: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
make: *** [gsa/CMakeFiles/gsa.dir/build.make:1178: gsa/bundle.stamp] Error 127
make: *** [CMakeFiles/Makefile2:91: gsa/CMakeFiles/gsa.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Not sure what happened at your side exactly. The error is caused by not correctly installed nodejs packages. Therefore could you switch into the source directory and afterwards in the gsa subdirectory (should be cd ../gsa). Afterwards run the following
rm -rf node_modules
This should fix the installed node packages and make should run again in your build directory.
Sorry all, but I do not understand the solution.
I got the same problem without been able to solve it.
I got yarn 1.22.5 upgrade to 1.22.10 no improvement
removed yarn and installed nodejs and npm no luck.
i do not have node_modules in gsa directory so nothing to remove.
Thanks for your help.