We started experiencing this issue on our build server without making significant changes last week and have not managed to find a fix yet but there are a few issues that have been created of other teams experiencing sudden issues related to this error.
Check out this issue on the React GitHub page and this one here on the redwoodjs GitHub page.
Update
The answer from Yevhen Rybak worked for us.
I also had to add the preinstall script from Sahil Patel’s answer.